Commit Graph

261 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
6f5a965a23 fix: upgrade script date 2023-10-05 13:31:50 -04:00
Barış Soner Uşaklı
6c3ff86bcf fix: add upgrade script for notifications 2023-10-05 13:21:14 -04:00
Barış Soner Uşaklı
4ba7633897 fix: msg ref 2023-08-23 18:19:39 -04:00
Barış Soner Uşaklı
2d62a77248 fix: #11947, make user message has a numeric timestamp 2023-08-23 18:09:34 -04:00
Barış Soner Uşaklı
78a7cfe9c2 fix: upgrade script, get rid of nested processSortedSet 2023-08-19 21:53:44 -04:00
Barış Soner Uşaklı
51587ca3b2 fix: one more fix 2023-08-18 20:38:59 -04:00
Barış Soner Uşaklı
b5d1e9176b fix: one more upgrade script fix 2023-08-18 20:34:22 -04:00
Barış Soner Uşaklı
c02f1d7066 fix: upgrade script 2023-08-18 16:17:19 -04:00
Barış Soner Uşaklı
d1949cee0c lint: fix lint 2023-08-18 12:10:01 -04:00
Barış Soner Uşaklı
f23b0b5bec fix: some more upgrade script fixes
reduce parallel calls for psql
2023-08-18 11:59:42 -04:00
Barış Soner Uşaklı
c17ef3659c rewrite upgrade script so it doesnt error on alot of users
https://community.nodebb.org/post/95433
2023-08-17 19:24:01 -04:00
Barış Soner Uşaklı
48a66b74f1 fix tests 2023-07-27 17:39:14 -04:00
Barış Soner Uşaklı
d652da61d8 add upgrade script to set mid on msg objects
and create messages:mid for easy msg retrieval
2023-07-27 17:32:35 -04:00
Barış Soner Uşaklı
77550a50db fix: fallback for room timestamp 2023-07-18 17:19:57 -04:00
Barış Soner Uşaklı
6cc86b6eaf fix: dont error if timestamp is missing 2023-07-18 16:46:20 -04:00
Barış Soner Uşaklı
91642cb324 feat: allow multiple room owners, closes #6503 2023-07-17 22:42:00 -04:00
Barış Soner Uşaklı
1e38a16bdb fix: lint 2023-07-14 11:36:02 -04:00
Barış Soner Uşaklı
911ef0581c feat: show online users at the top of userlist and update
when they enter/leave
2023-07-14 11:19:57 -04:00
Barış Soner Uşaklı
43060f3cde perf: faster upgrade script 2023-07-12 19:54:46 -04:00
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
2023-07-12 13:03:54 -04:00
Barış Soner Uşaklı
8812e08b10 fix key in upgrade script 2023-06-15 20:34:20 -04:00
Barış Soner Uşaklı
db3bff094e fix: #11679, fix username change
only effected usernames with special characters & quotes
2023-06-05 17:11:49 -04:00
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
2023-05-31 11:54:48 -04:00
Julian Lam
3e6dd78d86 fix: relocated upgrade script, removed outdated code that called core.api for tokens 2023-05-11 15:22:50 -04:00
Julian Lam
e4888dea17 feat: api token migration, new ACP tokens list, token creation 2023-05-11 15:22:50 -04:00
Barış Soner Uşaklı
ec8d8ec45b fix: closes #11511
reset all user skins if they are no longer available
2023-05-01 10:56:05 -04:00
Barış Soner Uşaklı
7d7904b045 fix: closes #11511, reset skin if it was removed from bootswatch 2023-04-24 09:35:25 -04:00
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
2023-02-06 10:45:01 -05:00
Barış Soner Uşaklı
a31ba824ea fix: upgrade script to work from 0.x to 2.x 2022-11-05 14:44:12 -04:00
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>
2022-03-31 13:49:56 -04:00
Barış Soner Uşaklı
55be42026c fix: upgrade script 2022-03-18 12:50:49 -04:00
Barış Soner Uşaklı
dab22d5fd0 perf: #10410, faster upgrade script 2022-03-18 12:40:13 -04:00
Barış Soner Uşaklı
9205169f00 fix: one last try 2022-02-15 20:51:52 -05:00
Barış Soner Uşaklı
2f64d63369 fix: doggy.gif 2022-02-15 20:22:22 -05:00
Barış Soner Uşaklı
cfdfbf3280 fix: one more fix 2022-02-15 20:21:21 -05:00
Barış Soner Uşaklı
770fcd9ea8 fix: dupe key errors 2022-02-15 20:12:42 -05:00
Julian Lam
5d7e1ebc68 style: linting errors 2022-02-14 15:02:07 -05:00
Julian Lam
ea36016d87 refactor: fix user uploads paths, and associate uid with user uploads 2022-02-14 15:02:07 -05:00
Julian Lam
6489e9fd9e refactor: change the post uploads' hash seeds to have the files/ prefix 2022-02-14 15:02:07 -05:00
Julian Lam
1c7fb8fe11 fix: non-functional upgrade script 2022-02-10 15:19:56 -05:00
Julian Lam
0ac2843587 feat: upgrade script to clean up leftover :thumb zsets 2022-02-07 17:29:34 -05:00
Barış Soner Uşaklı
b548083b24 perf: increase batch size 2022-02-04 21:53:30 -05:00
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
2022-02-04 21:52:44 -05:00
Julian Lam
cf88483fee feat: upgrade script to store downvotes posts in the user :votes sorted set 2022-02-04 14:33:58 -05:00
Barış Soner Uşaklı
e332acf3f7 fix: upgrade script to handle strings as well 2021-12-20 15:43:44 -05:00
Barış Soner Uşaklı
968d461692 fix: upgrade script 2021-12-13 19:18:51 -05:00
Barış Soner Uşaklı
69c96078ea breaking: #10077, store nav items in objects 2021-12-13 16:00:22 -05:00
Julian Lam
e0caa5e0c4 fix: removed unused var 2021-11-23 14:53:30 -05:00
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
2021-11-23 14:46:24 -05:00
Barış Soner Uşaklı
fb363957d1 refactor: tab rules 2021-11-18 16:42:18 -05:00