12946 Commits (d77aa9332ce2065f36910ad3c8631b36ec16518d)

Author SHA1 Message Date
Barış Soner Uşaklı 4f8aa1807e allow first page too 2 years ago
Barış Soner Uşaklı f23891977d fix acp too 2 years ago
Barış Soner Uşaklı 2d883cbb6f fix reconnect toast taking space when no visible 2 years ago
Barış Soner Uşaklı e4f8e5067e fix category analytics tpl 2 years ago
Barış Soner Uşaklı 7a29c2eb2e fix reconnect alert fade and move it to core 2 years ago
Barış Soner Uşaklı ae747875d8 fix: add missing id/for to all checkboxes 2 years ago
Julian Lam bcc4b82cc6 feat: middleware.handleMultipart, applies on API routes — invokes multipart middleware based on content-type header 2 years ago
Barış Soner Uşaklı 23404ad103
feat: #11868 apply blacklist to routes (#11873)
api and regular routes
dont allow blacklisting self ip
check blacklist on socket emits
2 years ago
Barış Soner Uşaklı f826545e93 add tooltips 2 years ago
Barış Soner Uşaklı 856754a5aa dark theme acp 2 years ago
Barış Soner Uşaklı 3837798292 test: fix test if ip is invalid 2 years ago
Barış Soner Uşaklı 38c0c8dec0 refactor: ip blacklist.test
also dont call ipaddr.parse if cidr rules is empty
add a test for cidr
2 years ago
Barış Soner Uşaklı 78c5dfdc58 feat: add icon to invite/accept notifs
https://github.com/NodeBB/NodeBB/issues/11864
2 years ago
Barış Soner Uşaklı 99c2294289 feat: add flags link to acp manage menu, closes #11867 2 years ago
Barış Soner Uşaklı b688b6d4f2
bs5.3 updates (#11667)
* bs5.3 updates

* bootstrap 5.3.1

* chore: up bootswatch

* chore: up deps
2 years ago
Barış Soner Uşaklı b5a8941a51 get rid of less, slideout 2 years ago
Barış Soner Uşaklı 82562bec44 fix: fix escaped characters in tooltips, fix priv checks in tooltips
closes #11862, closes #11857
2 years ago
Barış Soner Uşaklı 00e680b942 expose getEventsByEventIds
and fix stop = -1
2 years ago
Julian Lam 4ca71f6354 fix: #11855, remove superfluous password challenge on admin email update (unless they're updating their own) 2 years ago
Barış Soner Uşaklı 910aeb2ca2 add missing tooltip 2 years ago
Opliko b709ed9e63
feat: move to npm fontawesome dependency and support fa pro (#11820)
* feat: move to npm fontawesome dependency

* feat: move shims to a separate file

* fix: thin style prefix

* feat: proper style and FA pro handling in icon selector

* docs: add fontawesome properties to openAPI

* fix: default for styles

* feat: select all styles by default

Turns out browsers lazy-load fonts.
So since the actual CSS for each style is small, there is no perf reason for defaulting to free styles for FA pro users.
This means they'll have to only change one setting.

Still, the option to select styles remains for those who want it.

* fix: remove console.log
2 years ago
Opliko 8ac34f8e8e
feat: password check hook (#11853)
* feat: filter:password.check hook

As requested on Discord, hopefully including all relevant user data

* fix: don't use caller uid

* feat: don't forward username separately
2 years ago
Barış Soner Uşaklı 207776d474 Merge branch 'master' into develop 2 years ago
Opliko c95119156d
fix: register abort can error on weird session state (#11854) 2 years ago
Barış Soner Uşaklı 2fe193d68f refactor: dont load all tokens in verify token
use sortedSetsRemove
2 years ago
Barış Soner Uşaklı 11bfeaf130 feat: #11850, chat msg search 2 years ago
Barış Soner Uşaklı 48a66b74f1 fix tests 2 years ago
Barış Soner Uşaklı d652da61d8 add upgrade script to set mid on msg objects
and create messages:mid for easy msg retrieval
2 years ago
Barış Soner Uşaklı e68f7c2064 add missing hooks 2 years ago
Barış Soner Uşaklı 78aa904e97 gimme mid 2 years ago
Barış Soner Uşaklı 9ac52dbf5f change from/to 2 years ago
Barış Soner Uşaklı f359a76702 feat: #11814, dont check content len for admins 2 years ago
Barış Soner Uşaklı ac027387ec feat: #11842, ability to change reputation of users 2 years ago
Barış Soner Uşaklı 528e7e5a06 create obj with no prototype 2 years ago
Barış Soner Uşaklı e41042eeea test: fix tests since nid format changed 2 years ago
Barış Soner Uşaklı 17783440e4 fix: #11841, use unique nid per user who flagged
if multiple users flag a post/user, the notifications are merged using mergeId.
if they use the same nid they overwrite each other
2 years ago
Barış Soner Uşaklı 0136e9248c refactor: dont sleep if iteration is done on first one 2 years ago
Barış Soner Uşaklı 4f3f9d9891 mark chat room notifs read on load 2 years ago
Julian Lam 2792d77104 fix: reset_code.tpl card block expanding to bottom of container 2 years ago
Barış Soner Uşaklı 61f036ce1d
Chat notifs (#11832)
* first part of chat notifs

* moved default notif to manage page

* spec

* notifs

* delete settings on room delete
2 years ago
Barış Soner Uşaklı 9b1cc57604
add reverse support to db.processSortedSet (#11826) 2 years ago
Barış Soner Uşaklı 5393f0e714 Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı dae4f9f7b6 fix: closes #11825, user icons in global privileges 2 years ago
Barış Soner Uşaklı c1361ee580 add: new filter to filter skins 2 years ago
Barış Soner Uşaklı 0dce4c46b5 https://github.com/NodeBB/NodeBB/issues/11818 2 years ago
Barış Soner Uşaklı 77550a50db fix: fallback for room timestamp 2 years ago
Barış Soner Uşaklı 1956091ce4 Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 6cc86b6eaf fix: dont error if timestamp is missing 2 years ago
Barış Soner Uşaklı eb0fcd3235 feat: closes #11812, add unread public rooms into digest 2 years ago
Barış Soner Uşaklı 00be053e94 fix: topic postercount field if owner is changed
also fix when posts are purged
2 years ago
Barış Soner Uşaklı 16fe1eb98c fix: updateOwner
if there is another owner don't do anything
if not then make the next user in the room the owner
2 years ago
Barış Soner Uşaklı 91642cb324 feat: allow multiple room owners, closes #6503 2 years ago
Barış Soner Uşaklı 3e7ca4f20e fix: unread notif filter 2 years ago
Barış Soner Uşaklı 42a5a52dde use admin breadcrumbs 2 years ago
Barış Soner Uşaklı 92c4472e0b Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 77b1a1695b add text-break 2 years ago
Barış Soner Uşaklı b93cc7884e chore: remove test log 2 years ago
Barış Soner Uşaklı 934df69e9d test: log e11000 errors 2 years ago
Barış Soner Uşaklı 052f1f2232 add error message for testing 2 years ago
Barış Soner Uşaklı a16ee32d31 Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 2a3d6d5cfb fix: logs page whitespace
fix url of upload breadcrumbs
2 years ago
Barış Soner Uşaklı a5cc5372cb Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 05c9cca7c4 fix: version alert in acp 2 years ago
Barış Soner Uşaklı a4dba8d3fa fix: #11804, fix direction of dropdown on rtl 2 years ago
Barış Soner Uşaklı f6b1f36b7f use rtl version of css on admin 2 years ago
Barış Soner Uşaklı a766f74f0e fix: on leave/kick remove matching sockets from rooms 2 years ago
Barış Soner Uşaklı 539a4d437c Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 562e4d6e43 fix: #11802, fix anchor ids in acp settings 2 years ago
Barış Soner Uşaklı a0478c7049 fix: #11803, fix rtl in acp 2 years ago
Barış Soner Uşaklı f0775651b9 only update user list if its open 2 years ago
Barış Soner Uşaklı cfa00ece35 on disconnect update chat rooms 2 years ago
Barış Soner Uşaklı 1e38a16bdb fix: lint 2 years ago
Barış Soner Uşaklı 911ef0581c feat: show online users at the top of userlist and update
when they enter/leave
2 years ago
Barış Soner Uşaklı 887333478a move load on restore 2 years ago
Barış Soner Uşaklı 3bf16f1c75 no need to store 0 for all messages
for deleted and system, if its missing it defaults to 0
2 years ago
Barış Soner Uşaklı bc8dbc2084 add roomId class to body 2 years ago
Barış Soner Uşaklı 5c2086107e fix: always return empty array if its not set 2 years ago
Barış Soner Uşaklı 857fe16878 use same code in load room 2 years ago
Barış Soner Uşaklı f8e30c6d52 add icon to rooms based on visibility 2 years ago
Barış Soner Uşaklı 2f8c301aba fix groups reference 2 years ago
Barış Soner Uşaklı 43060f3cde perf: faster upgrade script 2 years ago
Barış Soner Uşaklı 4782764aee fix mobile mobile bar
fix user count if user just joined
2 years ago
Barış Soner Uşaklı 954db1ee19 chore: remove log 2 years ago
Barış Soner Uşaklı e03fdcd6fc fix: clear cache on sort 2 years ago
Barış Soner Uşaklı 547bde8939 cache fixes
on newRoom and deleteRooms clear cache
add some checks for empty groups list
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ı edd8ca997f Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı f2152953cd add displayname to parent posts 2 years ago
Barış Soner Uşaklı e8b40b5884 fix persona defaults
fix missing theme:id
2 years ago
Barış Soner Uşaklı 796730dc54 test no escape on canonical 2 years ago
Barış Soner Uşaklı 7c588fe9a3 test no escape on canonical 2 years ago
Barış Soner Uşaklı 0fe7e831f4 dont show pid 2 years ago
Barış Soner Uşaklı 0ff1f82b5c make meta desc 160 chars 2 years ago
Barış Soner Uşaklı 0a7f52475e fix member IS 2 years ago
Barış Soner Uşaklı 5a42d37e0f fix reconnect logic 2 years ago
Barış Soner Uşaklı 9044e10e64 change description length to 160 2 years ago
Barış Soner Uşaklı f938a2d940 Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 1bda90731a fix: #11766, allow privileged users to vote and chat
even if they don't have enough reputation
2 years ago
Barış Soner Uşaklı ee9962e4db Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 0183e5f8d2 fix: #11775, trim -rtl from targetSkin 2 years ago