259 Commits (43299ab804afd550b13a92039672840df32d1c93)

Author SHA1 Message Date
Barış Soner Uşaklı 4ba7633897 fix: msg ref 2 years ago
Barış Soner Uşaklı 2d62a77248 fix: #11947, make user message has a numeric timestamp 2 years ago
Barış Soner Uşaklı 78a7cfe9c2 fix: upgrade script, get rid of nested processSortedSet 2 years ago
Barış Soner Uşaklı 51587ca3b2 fix: one more fix 2 years ago
Barış Soner Uşaklı b5d1e9176b fix: one more upgrade script fix 2 years ago
Barış Soner Uşaklı c02f1d7066 fix: upgrade script 2 years ago
Barış Soner Uşaklı d1949cee0c lint: fix lint 2 years ago
Barış Soner Uşaklı f23b0b5bec fix: some more upgrade script fixes
reduce parallel calls for psql
2 years ago
Barış Soner Uşaklı c17ef3659c rewrite upgrade script so it doesnt error on alot of users
https://community.nodebb.org/post/95433
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ı 77550a50db fix: fallback for room timestamp 2 years ago
Barış Soner Uşaklı 6cc86b6eaf fix: dont error if timestamp is missing 2 years ago
Barış Soner Uşaklı 91642cb324 feat: allow multiple room owners, closes #6503 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ı 43060f3cde perf: faster upgrade script 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ı 8812e08b10 fix key in upgrade script 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ı 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
Julian Lam 3e6dd78d86 fix: relocated upgrade script, removed outdated code that called core.api for tokens 2 years ago
Julian Lam e4888dea17 feat: api token migration, new ACP tokens list, token creation 2 years ago
Barış Soner Uşaklı ec8d8ec45b fix: closes #11511
reset all user skins if they are no longer available
2 years ago
Barış Soner Uşaklı 7d7904b045 fix: closes #11511, reset skin if it was removed from bootswatch 2 years ago
Barış Soner Uşaklı 845c8013b6
fix: #11259, clean old emails when updating via admin (#11260)
when admin is changing users emails check if its avaiable and remove old email of user first
upgrade script to cleanup email:uid, email:sorted, will remove entries if user doesn't exist or doesn't have email or if entry in user hash doesn't match entry in email:uid
fix missing ! in email interstitial
fix missing await in canSendValidation,
fix broken tests
dont pass sessionId to email.remove if admin is changing/removing email
2 years ago
Barış Soner Uşaklı a31ba824ea fix: upgrade script to work from 0.x to 2.x 3 years ago
CommanderRoot 200f0b2e4f
refactor: replace deprecated String.prototype.substr() (#10432)
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
3 years ago
Barış Soner Uşaklı 55be42026c fix: upgrade script 3 years ago
Barış Soner Uşaklı dab22d5fd0 perf: #10410, faster upgrade script 3 years ago
Barış Soner Uşaklı 9205169f00 fix: one last try 3 years ago
Barış Soner Uşaklı 2f64d63369 fix: doggy.gif 3 years ago
Barış Soner Uşaklı cfdfbf3280 fix: one more fix 3 years ago
Barış Soner Uşaklı 770fcd9ea8 fix: dupe key errors 3 years ago
Julian Lam 5d7e1ebc68 style: linting errors 3 years ago
Julian Lam ea36016d87 refactor: fix user uploads paths, and associate uid with user uploads 3 years ago
Julian Lam 6489e9fd9e refactor: change the post uploads' hash seeds to have the `files/` prefix 3 years ago
Julian Lam 1c7fb8fe11 fix: non-functional upgrade script 3 years ago
Julian Lam 0ac2843587 feat: upgrade script to clean up leftover :thumb zsets 3 years ago
Barış Soner Uşaklı b548083b24 perf: increase batch size 3 years ago
Barış Soner Uşaklı 079c487dcb fix: controversial posts/bests posts not showing anything
fix upgrade script so posts with negative votes are stored, a post can have 10 upvotes and 2 downvotes
fix missing negative votes checks
remove unnecessary pids flters since the cids are only already filtered by topics:read
3 years ago
Julian Lam cf88483fee feat: upgrade script to store downvotes posts in the user :votes sorted set 3 years ago
Barış Soner Uşaklı e332acf3f7 fix: upgrade script to handle strings as well 3 years ago
Barış Soner Uşaklı 968d461692 fix: upgrade script 3 years ago
Barış Soner Uşaklı 69c96078ea breaking: #10077, store nav items in objects 3 years ago
Julian Lam e0caa5e0c4 fix: removed unused var 4 years ago
Julian Lam 01bd8a8694
remove email only login (#10030)
* feat: remove ACP option for email-only logins

* feat: remove email-only login, upgrade script to fix config
4 years ago
Barış Soner Uşaklı fb363957d1 refactor: tab rules 4 years ago
Barış Soner Uşaklı 8379c11b22 refactor: setObjectBulk to match sortedSetAddBulk 4 years ago
Barış Soner Uşaklı a70c69fa83 fix: delete old topic tags 4 years ago