Commit Graph

329 Commits

Author SHA1 Message Date
Jérémie Astori
1e51cdacf1 Merge pull request #63 from thelounge/astorije/remove-compiled-assets
Remove compiled assets and generate them at prepublish time
2016-02-19 00:57:15 -05:00
Alistair McKinlay
a95d5e22ee Merge pull request #27 from gdamjan/proxy-path-support
Allow The Lounge to be proxied behind a /path/ url
2016-02-18 08:18:37 +00:00
Jérémie Astori
fe6da75854 Remove compiled assets and generate them at prepublish time
- Remove minified libs and compiled templates
- Add a `prepublish` script to build assets, that run on `npm install`
  and right before publishing
  See https://docs.npmjs.com/misc/scripts
- Include these compiled assets to the `.gitignore` file
- Add an empty .npmignore to make sure the compiled assets are not
  ignored when publishing
  https://docs.npmjs.com/misc/developers#keeping-files-out-of-your-package
- Update the README to reflect changes in development

Note that the Travis CI configuration does not need any tweaking
because it cleans up all extra and changed files, up to publishing on
npm. That is, right before `prepublish` gets run.
See https://docs.travis-ci.com/user/deployment/npm#Releasing-build-artifacts
2016-02-18 06:01:37 +00:00
Max Leiter
20e9e6b611 Update chat template so no user-icon shown when a server or PM is selected. 2016-02-13 16:32:00 -08:00
Damjan Georgievski
cf1f24bff6 Allow The Lounge to be proxied behind a /path/ url
contains three small changes to use relative urls instead of absolute rooted at /

* favicons in index.html
* badge and pop sound in lounge.js
* the url for the socket.io endpoint

Typical use with nginx:

    location /path/ {
      proxy_http_version 1.1;
      proxy_set_header Upgrade $http_upgrade;
      proxy_set_header Connection "upgrade";
      proxy_pass http://localhost:9000/;
    }

those trailing / are important.
2016-02-13 22:40:06 +01:00
Jérémie Astori
6122b02c5d Revert "Allow The Lounge to be proxied behind a /path/ url" 2016-02-13 02:20:07 -05:00
Damjan Georgievski
1f72f81b91 Allow The Lounge to be proxied behind a /path/ url
contains three small changes to use relative urls instead of absolute rooted at /
* favicons in index.html
* badge and pop sound in lounge.js
* the url for the socket.io endpoint
2016-02-13 01:26:45 +00:00
Jérémie Astori
39dc4e8957 Update name and link to repo to new project 2016-02-10 06:20:05 +00:00
Jérémie Astori
e079ec70d6 Rename client source and templates files to new project name 2016-02-10 05:40:53 +00:00
Jérémie Astori
3b55229462 Merge pull request #574 from YaManicKill/user-button-span
Change user buttons to as. Allows highlighting on firefox.
2016-01-26 00:05:03 -05:00
Alistair McKinlay
e5aa02d696 Change user buttons to as. Allows highlighting on firefox. 2016-01-24 16:53:06 +00:00
Mattias Erming
9aaf9348da Merge pull request #418 from williamboman/patch-2
client/js/shout.js: tag Notifications to reduce notification spam
2016-01-24 17:41:38 +01:00
Mattias Erming
aea3c3ea18 Recompile templates 2016-01-24 10:16:27 -05:00
Mattias Erming
6f33b79c0a Merge pull request #609 from xPaw/ignore-bad-colors
Simply parse all 0-99 irc colors
2016-01-24 16:03:23 +01:00
Pavel Djundik
bb98be475a Render user actions separately 2016-01-24 16:59:13 +02:00
Mattias Erming
0f4209733f Merge pull request #587 from xPaw/patch-3
Run new topic through parser when it is updated
2016-01-24 15:47:29 +01:00
Pavel Djundik
cd92d1640e Simply parse all 0-99 irc colors 2016-01-24 15:57:44 +02:00
Pavel Djundik
58496baeba Recompile templates 2016-01-23 20:55:31 +02:00
Pavel Djundik
7a9bc41b30 Use a single function to process and render messages 2016-01-23 16:59:05 +02:00
William Boman
ba7c7de9af client/js/shout.js: tag Notifications to reduce spam 2016-01-20 14:49:08 +01:00
Pavel Djundik
a9344c1ade Run new topic through parser when it is updated
Fixes #584
2016-01-16 19:11:14 +02:00
Jérémie Astori
ab2dc3e806 Merge pull request #540 from nickel715/patch-446
Implement notifications for all messages
2016-01-10 18:03:32 -05:00
Nicolas Hohm
3fe78e8972 Implement notifications for all messages
Implement option to get notifications also for message not just for mentions

Resolves: #446
2016-01-10 23:31:53 +01:00
Jérémie Astori
37aa9c7eeb Revert "Change user buttons to as. Allows highlighting on firefox." 2016-01-09 14:16:44 -05:00
Alistair McKinlay
fe0eff8abd Change user buttons to as. Allows highlighting on firefox. 2016-01-09 15:51:54 +00:00
Jérémie Astori
409936e57a Merge pull request #385 from AmShaegar13/click_channel
made channel names in chat clickable; lets users join channels
2016-01-07 00:53:42 -05:00
Finn Glöe
58d4a2fda1 made channel names in chat clickable; lets users join channels 2015-12-02 09:56:41 +00:00
William Boman
8fdfd70c7e Comply with ESLint 2015-10-26 03:01:47 +01:00
Jérémie Astori
7e2daebd79 Merge pull request #481 from williamboman/fix/chat-clear-prevent-default
client/js/shout.js: prevent default action when clearing chat
2015-10-07 22:58:14 -04:00
William Boman
c66a3917cb client/js/shout.js: prevent default action, don't overshadow native keyboard shortcut
Closes #453.
2015-10-07 12:34:25 +02:00
Jérémie Astori
df4a91fd05 Merge pull request #409 from kalaksi/fix_topic_on_ui
Fix topic on UI
2015-10-04 14:54:57 -04:00
Olli Mäntylä
4293336f3e Move escaping of topic and improve UI for long topics
- Data should be handled as is and only do the escaping on
the view/template or wherever it is used and escaping is necessary.
Keeps things simple and the focus of escaping values in the right place.
- Remove topic capitalization
- For long topics: hide overflow and add a title to topic span
- Also, simplify the code a tiny bit.
2015-10-03 17:04:05 +03:00
The Bastard Operator
5656244e60 Included changes to shout.templates.js after grunt 2015-09-18 11:10:25 +02:00
Olli Mäntylä
dc79d71ae5 Revert "Fix topic exploit"
This reverts commit ef041d6612.
To show topic again. Commit was just disabling the topic.
2015-04-26 23:03:11 +03:00
Mattias Erming
ef041d6612 Fix topic exploit 2015-01-22 09:29:28 -08:00
Mattias Erming
4715492c88 Update minified js 2014-12-12 00:58:03 +01:00
Mattias Erming
ccea9ea43d Close button now correctly says 'Close' for private messages 2014-12-12 00:10:15 +01:00
Mattias Erming
a1f864b511 Use interval to clear inactive channel buffers 2014-12-12 00:04:45 +01:00
Mattias Erming
07a509a862 Only confirm exit in public mode 2014-12-11 23:42:22 +01:00
Graeme
2274f92833 Update styled items class names 2014-12-10 22:35:17 -05:00
Graeme
635646b0f3 🎊 full mirc colour+style compliance 2014-12-10 06:30:45 -05:00
Mattias Erming
b3b7d126be Detect web-app-capable 2014-11-18 22:50:55 +00:00
Mattias Erming
eb3bc22d71 Added dynamic title 2014-11-07 20:52:38 +01:00
Mattias Erming
f6636ad028 Fix username input 2014-11-06 12:00:14 +00:00
Mattias Erming
7aafa8a956 Fix username input 2014-11-05 23:19:29 +01:00
Mattias Erming
a0ed791926 Merge pull request #263 from megawac/style-parser 2014-10-27 22:52:37 +01:00
Mattias Erming
277887382c Merge pull request #253 from codl/fix/bold+color+url
Fix urls preventing proper closure of bold and color tags
2014-10-27 22:48:45 +01:00
megawac
3d5e070c56 Support nested colours 2014-10-25 15:16:54 -04:00
megawac
fbe43b3b7a Fix indentation 2014-10-25 15:07:15 -04:00
megawac
a53544b44a Support MIRC style terminators (^O) 2014-10-25 15:02:12 -04:00