Barış Soner Uşaklı
cba78aee16
refactor: use alerts.error/success
3 years ago
Barış Soner Uşaklı
1980feed46
refactor: use alerts module
3 years ago
Barış Soner Uşaklı
3d2398ac4c
test: lint
3 years ago
Barış Soner Uşaklı
518552543d
refactor: move warnings/messages out of app.js
3 years ago
gasoved
b0a24d6dd5
refactor: var to const and let ( #9885 )
...
* refactor: var to const and let
* fix: missed global bootbox usage
* refactor: align with eslint expectations
4 years ago
gasoved
227456fb17
fix: no global bootbox ( #9879 )
...
* fix: require bootbox (easy ones)
* fix: require bootbox (ugly ones)
* fix(eslint): a lengthy line
4 years ago
Anton Grigoryev
342503e07a
Feat: Client-side hooks - replace window.trigger ( #9679 )
...
* feat/clientside-hooks: replace window.trigger with hooks.fire
* feat(clientside-hooks): Move hooks require to the top
* fix: simplifying complex logical expression
* fix: client-side hook for translator - post-review fixes
4 years ago
Peter Jaszkowiak
e128264b66
refactor: change Benchpress.parse to .render ( #8856 )
...
It has been deprecated with no warning message for a while
Changing these over before enabling the warning message to reduce spam
4 years ago
Barış Soner Uşaklı
5f10d67db5
Remove sounds ( #8617 )
...
* feat: remove sounds
* feat: remove more sounds
* feat: disable sounds plugin
* fix: openapi
5 years ago
Barış Soner Uşaklı
320008cd49
feat: #8509 , don't scroll chat to bottom if user scrolled up
5 years ago
Julian Lam
4f51838df8
feat: fire new hooks on chat message editing
5 years ago
Barış Soner Uşaklı
067034082f
fix : #6422 , update deleted/restored messages
5 years ago
Julian Lam
af968c6ae5
feat: fire updateRemainingLength hook for chats
6 years ago
Julian Lam
4fb271c684
System chat messages ( #7771 )
...
* fix: removed duplicate checkContent call in addMessage
addMessage is called in one place (sendMessage), and the checks
are already contained there. addMessage is the lower level call
and so should be called only from within core itself.
* feat: #7330 chat system messages for join, leave, rename
* fix: add back content checking in .addMessage();
* fix: tests, and added .addSystemMessage() method
Tests were relying on message indices that changed due to the
new system messages.
* feat: add tests for system chat messages
* refactor: rewrite half of src/messaging/rooms.js, fix tests
* feat: #7743 messaging/room.js
* fix: tests for messaging/room.js, #7743
* fix: trying to fix tests
* fix: omg :rage2:
6 years ago
Barış Soner Uşaklı
555c092f65
fix: dont send empty strings
6 years ago
Peter Jaszkowiak
ba619c7ec8
style(eslint): match operator-linebreak preferences
6 years ago
Barış Soner Uşaklı
c02d584b53
reduce initial js payload/requests
6 years ago
renovate[bot]
64b9dabff8
chore(deps): update dependency eslint-config-airbnb-base to v13 ( #6599 )
...
* chore(deps): update dependency eslint-config-airbnb-base to v13
* chore: #6599 , linting 😬
7 years ago
Julian Lam
5c04ec2d63
removed client-side chat message length check in favour of server-side check, firing new hook on messaging.checkContent for hooks to intercept
7 years ago
Barış Soner Uşaklı
8b16a63cc2
closes #6419
7 years ago
Julian Lam
5c3155f145
firing hook on chat message load and exposing upload_url to client-side
7 years ago
Julian Lam
82a95a03be
Chat message soft deletion -- closes #6181
...
Squashed commit of the following:
commit f84c06bdcc45f24ef7ffde6a8f33b48d8f97fc36
Author: Julian Lam <[email protected] >
Date: Mon Dec 18 14:42:47 2017 -0500
added restore handler for chat messages
commit 725cd370c6ea1e8f4a28298350f3dc024d4e668e
Author: Julian Lam <[email protected] >
Date: Mon Dec 18 14:23:52 2017 -0500
backend logic and testing complete for deletion and restoration of chat messages
commit 072da758319cc93fa4c6f8bc0d672a1b716dc06e
Author: Julian Lam <[email protected] >
Date: Mon Dec 18 13:52:35 2017 -0500
changing message delete logic to not remove mids, but to filter when retrieving
commit 68bf373305ab82737658a7c31dc5549af4d6d69f
Author: Julian Lam <[email protected] >
Date: Mon Dec 18 12:37:58 2017 -0500
logic to handle deletion of a deleted chat message -- added some failing tests
commit 6899d0d234fa752e227188aa69cfcabd0d0500cc
Author: Julian Lam <[email protected] >
Date: Mon Dec 18 11:35:36 2017 -0500
chat message deletion logic
7 years ago
Peter Jaszkowiak
da9da8190f
Bump dependencies
...
Bumping eslint & configs meant making some linting fixes
For future reference, the `xmlhttprequest-ssl` library must be of equal versioning to the one in `engine.io-client`, otherwise it won't be deduped which causes the socket.io tests to fail
8 years ago
Peter Jaszkowiak
71aab79a9a
Switch client t.js usage to Benchpress
8 years ago
barisusakli
b45111d44b
show max message length in error message
8 years ago
barisusakli
f092b7754e
only create 1 alert for chat spam error
8 years ago
barisusakli
6f49509645
fix newSet on redis
8 years ago
Peter Jaszkowiak
c18808fdeb
ESlint no-useless-concat, no-mixed-spaces-and-tabs
8 years ago
Peter Jaszkowiak
57f89663aa
ESlint radix
8 years ago
Peter Jaszkowiak
3b0dd2d1ef
ESlint padded-blocks
8 years ago
Peter Jaszkowiak
277a7fb8b4
ESlint key-spacing, no-trailing-spaces
8 years ago
Peter Jaszkowiak
52f2028206
ESlint no-multiple-empty-lines
8 years ago
Peter Jaszkowiak
b09b3aef7f
ESlint no-undef, remove global comments
8 years ago
Peter Jaszkowiak
2ba46808a1
ESlint one-var, fix comma-dangle
8 years ago
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
8 years ago
psychobunny
9797f69324
action:chat.sent
8 years ago
barisusakli
2e28a8f7c7
closes #5239
8 years ago
psychobunny
ad52d1a1aa
latest chats design
9 years ago
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
9 years ago
barisusakli
7365b9cc73
more chat refactors
9 years ago