63 Commits (9138702d677619f5e0ee170e8e86dac102b742c8)

Author SHA1 Message Date
Barış Soner Uşaklı 00e680b942 expose getEventsByEventIds
and fix stop = -1
2 years ago
Barış Soner Uşaklı 9ac52dbf5f change from/to 2 years ago
Barış Soner Uşaklı 9b901783fa
Chat refactor (#11779)
* first part of chat refactor

remove per user chat zsets & store all mids in chat:room:<roomId>:mids
reverse uids in getUidsInRoom

* feat: create room button

public groups wip

* feat: public rooms

create chats:room zset
chat room deletion

* join socket.io room

* get rid of some calls that load all users in room

* dont load all users when loadRoom is called

* mange room users infinitescroll

dont load all members in api call

* IS for user list

ability to change groups field for public rooms
update groups field if group is renamed

* test: test fixes

* wip

* keep 150 messages

* fix extra awaits

fix dupe code in chat toggleReadState

* unread state for public rooms

* feat: faster push unread

* test: spec

* change base to harmony

* test: lint fixes

* fix language of chat with message

* add 2 methods for perf

messaging.getTeasers and getUsers(roomIds)
instead of loading one by one

* refactor: cleaner conditional

* test fix upgrade script fix

save timestamp of room creation in room object

* set progress.total

* don't check for guests/spiders

* public room unread fix

* add public unread counts

* mark read on send

* ignore instead of throwing

* doggy.gif

* fix: restore delete

* prevent entering chat rooms with

meta.enter

* fix self message causing mark unread

* ability to sort public rooms

* dont init sortable on mobile

* move chat-loaded class to core

* test: fix spec

* add missing keys

* use ajaxify

* refactor: store some refs

* fix: when user is deleted remove from public rooms as well

* feat: change how unread count is calculated

* get rid of cleaned content

get rid of mid

* add help text

* test: fix tests, add back mid

to prevent breaking change

* ability to search members of chat rooms

* remove

* derp

* perf: switch with  partial data

fix tests

* more fixes

if user leaves a group leave public rooms is he is no longer part of any of the groups that have access

fix the cache key used to get all public room ids

dont allow joining chat socket.io room if user is no longer part of group

* fix: lint

* fix: js error when trying to delete room after switching

* add isRoomPublic
2 years ago
Barış Soner Uşaklı 421ba6e1a2 feat: new admin events, closes #10405 3 years ago
Barış Soner Uşaklı be6bbabd0e feat: ability to mute users
new mute privilege
3 years ago
Julian Lam 69c96dd23c refactor(emails): more work in update email interstitial, interstitial skipping, email change on confirmation, deprecation of requireEmailConfirmation 4 years ago
Peter Jaszkowiak b56d9e12b5 chore: eslint prefer-arrow-callback 4 years ago
Peter Jaszkowiak 707b55b6a5 chore: eslint prefer-template 4 years ago
Barış Soner Uşaklı 5c1b742979 fix: add missing user delete event types 4 years ago
Julian Lam 6e2da9966e refactor: move plugin hook methods to plugin.hooks.* 4 years ago
Barış Soner Uşaklı 9c5c32d4a5 feat: #8864, add action:events.log 5 years ago
Opliko 740de034fa #8115 - log post owner changes (#8117)
* log post owner changes

* log each post separately

* use map instad of a loop
5 years ago
Barış Soner Uşaklı f9d6912b4a refactor: async/await file 6 years ago
Barış Soner Uşaklı 592d9c82c5 fix: #7844, add uid to events, log plugin install/uninstall events 6 years ago
Julian Lam 1ce33faaea feat: additional events logged for various group actions
closes #7841
6 years ago
Barış Soner Uşaklı 102d4b0247 feat: #7743, events 6 years ago
Barış Soner Uşaklı c126cd8572 feat: #7743 plugins 6 years ago
Barış Soner Uşaklı 7e54d7aa35 feat: use db.sortedSetsAdd 6 years ago
Julian Lam f6d3cc0ea4 feat: allowing count to be passed to ./nodebb events 6 years ago
Julian Lam c7f95ccecc
feat: design revamp of ACP events page (#7664)
* feat: design revamp of ACP events page

- minor UX changes
- new filter controls, filters moved to sidebar
- form usable without js
- start/end filters NOT programmed yet

* feat: events ACP limit by date and perPage

* feat: pre-fill applied filters on template render

* fix: missing translation for ACP events perPage filter

* fix: added some comments to explain setHours behaviour

* fix: stop - start + 1

* fix: socket tests

* fix: +inf, not just inf

* fix: tests, because I am an idiot
6 years ago
Barış Soner Uşaklı ba5e1eaa4f feat: #7527 6 years ago
Baris Usakli 0c1ac4d6a2 feat: #7032 6 years ago
Barış Soner Uşaklı 537b7ff7e8 remove more parseInts 7 years ago
Barış Soner Uşaklı 26d4e0852f use includes instead of indexOf
use _.uniq instead of filter&indexOf
7 years ago
Barış Soner Uşaklı 8df6838561 closes #6816 7 years ago
Barış Soner Uşaklı 49ba5af5fa
closes #6810 (#6813) 7 years ago
Julian Lam a6564b7b4e endpoint to download user attachments, #6441 7 years ago
Peter Jaszkowiak dbdc05404d Use console.log instead of process.stdout.write (#6123)
* Use console.log instead of process.stdout.write

* Don't break the installer
7 years ago
Peter Jaszkowiak e609e497b3 Provide more error information to logs
Provides full stack instead of just message
8 years ago
Julian Lam 29e868b002 closes #5585 8 years ago
Barış Soner Uşaklı 6a742ead38 style 8 years ago
Peter Jaszkowiak 1ed571189c Make utils and translator easier to require
Move utils.walk to file.walk, backwards compatible
8 years ago
Peter Jaszkowiak 93f38d4f30 ESlint no-multi-assign
and max-nested-callbacks, no-mixed-requires, max-statements-per-line
8 years ago
Peter Jaszkowiak 4bb49a7171 ESlint no-unused-vars 8 years ago
Peter Jaszkowiak 896c8c7343 ESlint object-curly-spacing 8 years ago
Peter Jaszkowiak 3b0dd2d1ef ESlint padded-blocks 8 years ago
Peter Jaszkowiak 604358ecc4 ESlint keyword-spacing, no-multi-spaces 8 years ago
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle 8 years ago
Barış Soner Uşaklı 4859e499e4 filter falsy events first 9 years ago
bdharrington7 6dba11957e Filter out any undefined events 9 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 9 years ago
Barış Soner Uşaklı a3e1c847b9 fix wrong callback 9 years ago
Barış Soner Uşaklı ad2b44220d escape event data 9 years ago
barisusakli e4fa0289d6 closes #4961 9 years ago
barisusakli 5950f97f96 more refactors 10 years ago
barisusakli 2c8e8a1f1c closes #2550, closes #2518 10 years ago
psychobunny e0c8989e8b closes #2519 11 years ago
barisusakli 80489c6564 log post purges 11 years ago
barisusakli e052d8e5c1 log topic move 11 years ago
psychobunny f4b5090738 more linting 11 years ago