Commit Graph

12763 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
a7375a85ba Merge branch 'master' into develop 2023-06-15 16:41:54 -04:00
Barış Soner Uşaklı
8620a2cd0a fix: #11717 prevent crash in messaging 2023-06-15 15:33:36 -04:00
Barış Soner Uşaklı
95bbd1fdef grow users table so it doesnt clip dropdowns 2023-06-15 11:29:21 -04:00
Barış Soner Uşaklı
b48a6e26cd fix: var name 2023-06-15 11:19:48 -04:00
Barış Soner Uşaklı
304f9b6eef remove ?page when changing filters 2023-06-15 09:58:02 -04:00
Barış Soner Uşaklı
1a5e18cd37 feat: #11714, add page title 2023-06-15 09:20:00 -04:00
Barış Soner Uşaklı
3080eb7e01 feat: #11714, add registrationQueue flag 2023-06-15 09:13:04 -04:00
Barış Soner Uşaklı
73c808683f only load postData for main post 2023-06-14 22:12:37 -04:00
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
2023-06-14 22:12:24 -04:00
Julian Lam
da02361b13 feat: do not show the replies container in a post's footer if the only reply present is the next post 2023-06-14 16:53:00 -04:00
Barış Soner Uşaklı
7b8ebd0aa0 revert: remove emoji email css 2023-06-14 12:16:59 -04:00
Barış Soner Uşaklı
4d3f5ecf56 switch buttons 2023-06-13 12:33:24 -04:00
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
2023-06-13 12:32:48 -04:00
Barış Soner Uşaklı
f95f6d00ab fix text-break 2023-06-12 20:55:03 -04:00
Barış Soner Uşaklı
cf13dd8fbb some more acp pages 2023-06-12 20:42:49 -04:00
Barış Soner Uşaklı
6740a51edf fix: #11702, don't escape backgroundImage twice 2023-06-12 11:39:48 -04:00
Barış Soner Uşaklı
9522951fbd refactor: remove log 2023-06-10 19:35:10 -04:00
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
2023-06-10 19:27:15 -04:00
Barış Soner Uşaklı
4a6249a455 fix: closes #11697, remove min attribute from rep thresholds 2023-06-10 17:24:10 -04:00
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
2023-06-10 11:55:59 -04:00
Barış Soner Uşaklı
33a6b3e1da fix: skins page revert 2023-06-10 10:09:30 -04:00
Barış Soner Uşaklı
a360bcd617 dashboard 2023-06-08 12:14:27 -04:00
Barış Soner Uşaklı
f2cf3cbd46 add margin 2023-06-07 20:10:05 -04:00
Barış Soner Uşaklı
450918f93d admin-mods 2023-06-07 10:35:32 -04:00
Barış Soner Uşaklı
2d2db331d5 admin-mods remove buttons 2023-06-07 10:13:16 -04:00
Barış Soner Uşaklı
79f11db5dd Merge branch 'master' into develop 2023-06-06 22:22:45 -04:00
Barış Soner Uşaklı
5fae09f3aa feat: add not validated/expired 2023-06-06 20:55:52 -04:00
Barış Soner Uşaklı
61ae48e90d align/format users 2023-06-06 20:30:46 -04:00
Barış Soner Uşaklı
3f56b135d4 dashboard 2023-06-06 18:56:23 -04:00
Barış Soner Uşaklı
252c9f646b remove dupe buttons on dashboard 2023-06-06 17:05:22 -04:00
Barış Soner Uşaklı
5adc418fef manage ip address dropdown 2023-06-06 16:58:39 -04:00
Barış Soner Uşaklı
d0e9eb2ca4 fix: dont add deleted users to users:online
dont set their lastonline field
2023-06-05 19:33:05 -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ı
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
2023-06-05 12:12:48 -04:00
Barış Soner Uşaklı
32f60df108 refactor: remove log 2023-06-04 21:19:15 -04:00
Barış Soner Uşaklı
b73f307abe fix: filter null nav items 2023-06-03 11:14:39 -04:00
Barış Soner Uşaklı
e89cfd447e feat: closes #11671, allow custom classes on body
res.render('myplugin', { bodyClasses: ['myplugin', 'special']});
2023-06-02 17:30:11 -04:00
Barış Soner Uşaklı
2ba70e4367 dont shrink left-sidebar 2023-06-01 20:42:37 -04:00
Barış Soner Uşaklı
d3c5a79d44 fix: #11664, dont create backlinks for quotes 2023-06-01 13:48:12 -04:00
Barış Soner Uşaklı
a5b080ea6f fix: wrap on events page 2023-06-01 12:25:40 -04:00
Barış Soner Uşaklı
7e05905372 some mobile fixes for tables and headers 2023-05-31 21:15:33 -04:00
Barış Soner Uşaklı
9989ad9658 fix missing button style 2023-05-31 13:29:16 -04:00
Barış Soner Uşaklı
e0f25b3633 fix order plugins 2023-05-31 13:23:21 -04:00
Barış Soner Uşaklı
3e8bcdc6b8 align upload table 2023-05-31 12:25:40 -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
Barış Soner Uşaklı
11cd32722e Merge branch 'master' into develop 2023-05-28 18:13:50 -04:00
Barış Soner Uşaklı
67f44a3212 feat: add back support for req.body._csrf
used in login.tpl etc for noscript login
2023-05-27 16:46:04 -04:00
Barış Soner Uşaklı
afb684ebe7 Merge branch 'master' into develop 2023-05-25 09:20:23 -04:00
Barış Soner Uşaklı
3256fb30e7 fix: rimraf usage in user image delete
https://github.com/isaacs/rimraf/issues/275#issuecomment-1562402287
2023-05-25 09:12:02 -04:00
Barış Soner Uşaklı
8c9ab01f3f feat: closes #11630
install & launch forum after entering admin user details in one step
2023-05-24 13:17:31 -04:00