12960 Commits (d7a7c3553cbc6b17bde65a5a7ff193159070d523)

Author SHA1 Message Date
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
Barış Soner Uşaklı f367d65a03 remove timeagoCutoff=1 2 years ago
Barış Soner Uşaklı 4971610cc6 Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 4045681aa7 fix: add ?page= to canonical urls
#11770
for spiders to use pagination
2 years ago
Barış Soner Uşaklı a352031388 double static:app.load timeout 2 years ago
Barış Soner Uşaklı 7d5fe20b10 fix: group membership methods for guests/spiders
add tests to cover different combinations
2 years ago
Barış Soner Uşaklı 2791eb8aac fix: group membership methods for guests/spiders
add tests to cover different combinations
2 years ago
Barış Soner Uşaklı fe9b87808b Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 01c36f8bfb fix: #11761, don't escape topic title twice
if a reply is being edited topicData.title is already escaped
2 years ago
Barış Soner Uşaklı aefef763db fix: use btn instead of icon 2 years ago
Barış Soner Uşaklı daa5ac85e9 refactor: show both emails in user list
if user has a confirmed email and a pending email change show both in the acp
2 years ago
Barış Soner Uşaklı cc1672882c add the pending email so it is displayed in acp 2 years ago
Barış Soner Uşaklı 9e75068da2 expand json buttons 2 years ago
Barış Soner Uşaklı 2386c8e0bf Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı e45f513bfe fix: #11756, fix unique visitor stats in acp table 2 years ago
Barış Soner Uşaklı e56e44ab23 refactor: move async call to promise.all 2 years ago
Barış Soner Uşaklı d549d07381 remove await 2 years ago
Barış Soner Uşaklı 4b11cd0da5 feat: closes #11747, add pagination to tokens page 2 years ago
Barış Soner Uşaklı c21d7dbc7e fix: dont overwrite postIndex
if its not on the current page
2 years ago
Barış Soner Uşaklı cbd98c1b28 fix: closes #11731, set postIndex on pagination 2 years ago
Barış Soner Uşaklı ad1da0218a Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı f2fe7c0686 fix: #11735, crash when making guest reply
to /api/compose route
2 years ago
Barış Soner Uşaklı 86faed6fd3
feat: add vote privs to topic (#11734)
* feat: add vote privs to topic

* add missing awaits
2 years ago
Barış Soner Uşaklı 5e696c9046 change to console.error 2 years ago
Barış Soner Uşaklı 090a792168 fix: #11729, only check registered users
ignore guests(uid 0) & spiders(uid -1)
2 years ago
Barış Soner Uşaklı 1abe1d5e01
testing thumb fix (#11727)
* testing thumb fix

* one more test

* remove logs
2 years ago
Barış Soner Uşaklı 0f29ae5568 Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 4e146eb50b fix: #11723, fix pagination on following/follower page 2 years ago
Barış Soner Uşaklı 4768d06b27 lint: fix whitespace 2 years ago
Barış Soner Uşaklı 556fd65d51 feat: custom skins panel in acp 2 years ago
Barış Soner Uşaklı 68ddca1e02 feat: add req and socket to als, closes https://github.com/NodeBB/NodeBB/pull/10304 2 years ago
Barış Soner Uşaklı 9ee1d7b063 fix: if reply is in different topic dont hide in parent 2 years ago
Barış Soner Uşaklı 8812e08b10 fix key in upgrade script 2 years ago
Barış Soner Uşaklı 9198a95173 add again 2 years ago
Barış Soner Uşaklı a7375a85ba Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 8620a2cd0a fix: #11717 prevent crash in messaging 2 years ago
Barış Soner Uşaklı 95bbd1fdef grow users table so it doesnt clip dropdowns 2 years ago
Barış Soner Uşaklı b48a6e26cd fix: var name 2 years ago
Barış Soner Uşaklı 304f9b6eef remove ?page when changing filters 2 years ago
Barış Soner Uşaklı 1a5e18cd37 feat: #11714, add page title 2 years ago
Barış Soner Uşaklı 3080eb7e01 feat: #11714, add registrationQueue flag 2 years ago
Barış Soner Uşaklı 73c808683f only load postData for main post 2 years ago
Barış Soner Uşaklı 0b2feb9e45 perf: make less db calls to load indices
pass in postData array to getPostReplies which has the indices already
look at the passed in array of posts to find the index of nested replies before calling getPidIndex, most of the time the direct replies are close to the target so they are already in postData array.
only load indices if direct reply count is1
2 years ago
Julian Lam da02361b13 feat: do not show the replies container in a post's footer if the only reply present is the next post 2 years ago
Barış Soner Uşaklı 7b8ebd0aa0 revert: remove emoji email css 2 years ago
Barış Soner Uşaklı 4d3f5ecf56 switch buttons 2 years ago
Barış Soner Uşaklı 8ca65b0c78
fix: dont send 200 status on admin upload errors (#11707)
* fix: dont send 200 status on admin upload errors

* test: update test

* bring back both checks for error

* test: add statusCode tests
2 years ago
Barış Soner Uşaklı f95f6d00ab fix text-break 2 years ago
Barış Soner Uşaklı cf13dd8fbb some more acp pages 2 years ago
Barış Soner Uşaklı 6740a51edf fix: #11702, don't escape backgroundImage twice 2 years ago
Barış Soner Uşaklı 9522951fbd refactor: remove log 2 years ago
Barış Soner Uşaklı de68f7493d feat: add new tab to define bs variables
to override bootstrap vars.
dont crash if scss fails to compile, just use empty css and log the error, this allows accessing the acp if client scss has errors
2 years ago
Barış Soner Uşaklı 4a6249a455 fix: closes #11697, remove min attribute from rep thresholds 2 years ago
Barış Soner Uşaklı 2edfe0ef3e feat: bring back noskin option
if forum sets a default skin there was no way for the user to go back to the no skin version
2 years ago
Barış Soner Uşaklı 33a6b3e1da fix: skins page revert 2 years ago
Barış Soner Uşaklı a360bcd617 dashboard 2 years ago
Barış Soner Uşaklı f2cf3cbd46 add margin 2 years ago
Barış Soner Uşaklı 450918f93d admin-mods 2 years ago
Barış Soner Uşaklı 2d2db331d5 admin-mods remove buttons 2 years ago
Barış Soner Uşaklı 79f11db5dd Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 5fae09f3aa feat: add not validated/expired 2 years ago
Barış Soner Uşaklı 61ae48e90d align/format users 2 years ago
Barış Soner Uşaklı 3f56b135d4 dashboard 2 years ago
Barış Soner Uşaklı 252c9f646b remove dupe buttons on dashboard 2 years ago
Barış Soner Uşaklı 5adc418fef manage ip address dropdown 2 years ago
Barış Soner Uşaklı d0e9eb2ca4 fix: dont add deleted users to users:online
dont set their lastonline field
2 years ago
Barış Soner Uşaklı db3bff094e fix: #11679, fix username change
only effected usernames with special characters & quotes
2 years ago
Barış Soner Uşaklı 04998908ba
Fixes for "validate email" & "send validation email" in ACP (#11677)
* confirmObj changes

dont expire confirm:<code>, add a expires field instead
dont expire confirm:byUid:<uid>

on admin manage users display the users email status
	1. verified
	2. verify email sent (pending)
	3. verify email sent (expired)
	4. no email entered

fix validate email in acp to use
	email in user:<uid> if they have one
	if not check if its in confirm:<code>
	if its not in above cant validate throw error

fix send validate email to use
	email in user:<uid> if they have one
	if not check if its in confirm:<code>
	if its not in above too cant validate throw error

* add back socket.io tests

* test: fix confirm tests

no longer using pexpire
return correct time left on token

* chore: update openapi

* fix: delete call

* test: mget test fixes

* test: fix tests
2 years ago
Barış Soner Uşaklı 32f60df108 refactor: remove log 2 years ago
Barış Soner Uşaklı b73f307abe fix: filter null nav items 2 years ago
Barış Soner Uşaklı e89cfd447e feat: closes #11671, allow custom classes on body
res.render('myplugin', { bodyClasses: ['myplugin', 'special']});
2 years ago
Barış Soner Uşaklı 2ba70e4367 dont shrink left-sidebar 2 years ago
Barış Soner Uşaklı d3c5a79d44 fix: #11664, dont create backlinks for quotes 2 years ago
Barış Soner Uşaklı a5b080ea6f fix: wrap on events page 2 years ago
Barış Soner Uşaklı 7e05905372 some mobile fixes for tables and headers 2 years ago
Barış Soner Uşaklı 9989ad9658 fix missing button style 2 years ago
Barış Soner Uşaklı e0f25b3633 fix order plugins 2 years ago
Barış Soner Uşaklı 3e8bcdc6b8 align upload table 2 years ago
Barış Soner Uşaklı c3afe44686
Acp redesign (#11639)
* acp sidebar

* gap in nav

* remove shadow

* label fixes

* color fixes

* feat: settings page wip

* feat: scroll spy 👓

move social into general, store social in meta.config like other settings
write upgrade script

* remove social

* rermove openapi routes

* cleanup, highlight selected nav item

* more cleanup

* advanced margin top

* derp

* match design

* bring back version alert

fix homepage js, since it moved to general settings

* remove unused tpls

these moved to general settings

* remove more  css

* offcanvas for mobile

fix search

* add timeout

* add new props

* manage categories

* small fixes

* category-edit

* feat category page fixes

* add title to settings pages

add user settings page

* small fixes

* some more settings pages

* fix: plugin page titles

* more settings pages

* more padding

* more pages, add acp paginator.tpl

so it doesn't change when active theme changes

* remove placeholder

* dashboard table

* fix: openapi

* fix: controller tests

* use fonts from core

* some small fixes

* fix rep page

* refactor: fix name of upgrade script

* create category modal

group edit

* group/groups pages

* admins mods

* privs

* uploads

* missing margin

* more acp pages

* more pages

* plugins/rewards/widgets

* wrap rewards

* fix widgets

* fix widget clone button

* fix group acp edit link

* update search dropdown

* remove display block from tbody

* use less css

* remove some derp links

* remove striped tables

* remove p tags from lang files

* update email settings

* Update api.tpl

* move tag-whitelist
2 years ago
Barış Soner Uşaklı 11cd32722e Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 67f44a3212 feat: add back support for req.body._csrf
used in login.tpl etc for noscript login
2 years ago
Barış Soner Uşaklı afb684ebe7 Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 3256fb30e7 fix: rimraf usage in user image delete
https://github.com/isaacs/rimraf/issues/275#issuecomment-1562402287
2 years ago
Barış Soner Uşaklı 8c9ab01f3f feat: closes #11630
install & launch forum after entering admin user details in one step
2 years ago
Barış Soner Uşaklı 3066519028 add await 2 years ago
Barış Soner Uşaklı ed15cbb06a feat: translate bodyShort
turns [[notifications:upvoted_your_post_in, test1, Vote *for* NodeBB :ballot_box_with_ballot:]]   into <strong>test1</strong> has upvoted your post in <strong>Vote *for* NodeBB :ballot_box_with_ballot:</strong>. so emoji plugin can parse emojis and they don't get escaped by translator client side
2 years ago
Barış Soner Uşaklı d586b8b6b5 Merge branch 'master' into develop 2 years ago