Pavel Djundik
88ce0cee99
Use Date.toISOString for logging
2018-09-23 21:57:40 +03:00
Pavel Djundik
b538360c5e
Limit network name length and replace spaces in log folders
2018-09-09 13:09:30 +03:00
Pavel Djundik
9bcec3bea5
Remember disconnected networks between server restarts
2018-08-25 12:11:59 +03:00
Max Leiter
9bee3eca5a
refactor getHumanDate() to accept a timestamp; fixes test
2018-07-22 00:27:49 -07:00
Pavel Djundik
11bd2dfa4c
Increase delay between links to remove random test failure
2018-07-06 12:29:21 +03:00
Pavel Djundik
08682d2448
Fix circular dependency in Helper+log
...
Fixes #2568
2018-06-19 10:09:38 +03:00
Pavel Djundik
a07b372c71
Move .nyc_output folder out of root
2018-06-16 12:13:29 +03:00
Pavel Djundik
472d618033
Remove log
from global
2018-06-15 23:31:06 +03:00
Pavel Djundik
0d48c596c8
Fix multiple <title> tags being concatenated
2018-06-11 11:32:32 +03:00
Pavel Djundik
4e2523060b
De-duplicate link fetching to one request at once
2018-06-11 10:38:03 +03:00
Ben Harris
d2987d037c
use http for protocol-less URLs
2018-06-09 13:46:46 -04:00
Pavel Djundik
c0d712c53d
Remove ability to change date format and timezone
2018-06-05 12:03:06 +03:00
Alexandre Oliveira
468427bfdb
Add support for /ignore, /unignore and /ignorelist commands
2018-05-28 16:46:12 -03:00
Pavel Djundik
0de90daa64
Merge pull request #2366 from thelounge/xpaw/refactor-userlog
...
Refactor userLog to be the same as sqlite logger
2018-05-26 23:53:17 +03:00
Pavel Djundik
5cfec76d3a
Refactor userLog to be the same as sqlite logger
...
Fixes #1392
2018-05-23 16:56:18 +03:00
Pavel Djundik
97dfdbf7c0
Default to https: for urls with no scheme
2018-05-23 16:50:59 +03:00
Pavel Djundik
d4fa6bbcb0
Use WHATWG URL parser in link prefetcher
2018-05-23 16:31:02 +03:00
Pavel Djundik
629ae8bfa4
Fix protocol-aware urls, add better link validation in previews
2018-05-23 16:31:02 +03:00
Pavel Djundik
15c14c6dea
Change test cases to match linkify-it
2018-05-23 16:31:02 +03:00
Pavel Djundik
58ec2768ec
Use linkify-it
2018-05-23 16:31:02 +03:00
Pavel Djundik
95a435c5c9
Fix merge() in parser not filling unstyled text correctly
2018-05-07 21:19:54 +03:00
Pavel Djundik
d19c00faab
Build clean text message only once
2018-05-01 14:32:13 +03:00
Pavel Djundik
886301e765
Merge pull request #2396 from thelounge/xpaw/fix-2341
...
Use per-client channel and message ids
2018-05-01 13:26:38 +03:00
Jérémie Astori
1daad45f11
Use the new logo for favicons, notifications badges, and homescreen app icons
2018-04-28 12:14:41 -04:00
Pavel Djundik
bf8a16b7fe
Use per-client channel and message ids
...
Fixes #2341
2018-04-27 13:16:23 +03:00
Pavel Djundik
e136edb6ac
Remove network ids and use uuids everywhere
2018-04-26 12:37:28 +03:00
Jérémie Astori
34f4d0abf4
Add project version in outputs that mention source SHA
2018-04-16 00:19:25 +02:00
Pavel Djundik
2bea5f67b9
Use default nick set in config for fallback
2018-04-12 10:39:03 +03:00
Pavel Djundik
c1406adcb2
Add tests for editing network
2018-04-12 10:38:35 +03:00
Pavel Djundik
f86d73972d
Implement network editing UI and object updating
2018-04-12 10:38:35 +03:00
Pavel Djundik
a222dc9237
Ensure sqlite tests are serialized
2018-03-25 16:00:48 +03:00
Pavel Djundik
ca96d09a23
Send Accept header
...
Closes #2277
2018-03-23 20:17:03 +02:00
Jérémie Astori
dbe81f1e59
Merge pull request #2254 from thelounge/astorije/sign-out-settings
...
Empty local storage on sign out and move the sign out button to the settings
2018-03-20 21:06:44 -04:00
Jérémie Astori
c86ea9463d
Use Sinon to stub the logger instead of manual stubbing
2018-03-20 01:54:04 -04:00
Jérémie Astori
d1548572d4
Move the sign out button to the settings and empty local storage on sign out
...
This change improves privacy/security by ensuring all local storage (which includes settings, etc.) is destroyed on sign out or when revoking a remote session. Because signing out is now more "risky", the button has been moved to the settings along with other existing sessions.
This commit:
- Removes the power/sign-out icon from the sidebar footer (gives additional room for when the admin panel gets added)
- Adds a "Sign out" button next to the current session info in the settings session list
- Renames "Disconnect" buttons into "Revoke" to better clarify the intent (I will admit that I borrowed the wording from Telegram)
- Fixes incorrect `localStorage.remove` method
- Uses Sinon.js to mock wrappers for `window.localStorage` and `window.location` (does not mock those themselves, in the "Do not mock what you do not own" fashion, mock our layer instead). I expect we will be able to test a bit more from the UI with this. A good next candidate will be the `mockLogger` things.
2018-03-20 01:52:22 -04:00
Jérémie Astori
22725968e8
Fix yarn coverage
script on Windows
2018-03-19 20:01:25 -04:00
Max Leiter
01753a814c
Improve accessibility for emoji
2018-03-18 12:13:48 -07:00
Jérémie Astori
00bca229f0
Enforce object literal shorthand syntax with ESLint
2018-03-15 00:22:09 -04:00
Pavel Djundik
351a203acd
Fix some URLs not being sent as-is to the client
2018-03-13 22:08:19 +02:00
Al McKinlay
5ce67ba093
Insert channel/user into channel list at alphabetically sorted point, not just the end
...
Don't sort queries/users after special chans
Set all users in tests to be of type query
Add test for not inserting infront of lobby
Break after finding the index, otherwise it always adds it to the end
Add checking for lobby in first test
Fix off-by-one error on the frontend
Fix utterly idiotic issue adding a duplicate of the channel we are on rather than the new user when we query
Check that we always insert before first special chan
2018-03-12 12:42:59 +00:00
Jérémie Astori
c28fda6b28
Switch to Font Awesome 5
2018-03-11 15:57:35 -04:00
Pavel Djundik
a15e922e27
Close sqlite database when user quits
...
Fixes #2178
2018-03-11 00:21:47 +02:00
Pavel Djundik
ddb1a280cb
Allow overriding arrays in config, warn about incorrect types
...
Fixes #2176
2018-03-10 13:59:24 +02:00
Pavel Djundik
49046be361
Try to fix sqlite test failing on CI randomly
2018-03-09 11:41:30 +02:00
Pavel Djundik
5aa9d7e1dc
Merge pull request #1839 from thelounge/sqlite
...
Add sqlite logging and reloading messages
2018-03-09 09:06:25 +02:00
Jérémie Astori
5e6e27d73f
Ignore order of preview results in unicode link tests
2018-03-08 21:01:57 -05:00
Pavel Djundik
dfc4cad712
Add test coverage for sqlite plugin
2018-03-08 20:23:29 +02:00
Pavel Djundik
941849eaa8
Add message indexing
2018-03-08 20:23:29 +02:00
Pavel Djundik
731b29c059
Generate uuid per network
2018-03-08 20:23:29 +02:00
Pavel Djundik
f475cc39ef
Normalize unicode URLs in link prefetcher
...
Fixes #1644
2018-03-08 19:43:39 +02:00