2499 Commits (d652da61d83277c9479275367ec0a78917a2afd8)

Author SHA1 Message Date
Barış Soner Uşaklı f359a76702 feat: #11814, dont check content len for admins 2 years ago
Barış Soner Uşaklı 4f3f9d9891 mark chat room notifs read on load 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ı 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ı 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ı 0ff1f82b5c make meta desc 160 chars 2 years ago
Barış Soner Uşaklı 9044e10e64 change description length to 160 2 years ago
Barış Soner Uşaklı f367d65a03 remove timeagoCutoff=1 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ı 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ı 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ı 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ı 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ı 556fd65d51 feat: custom skins panel in acp 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ı 73c808683f only load postData for main post 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ı 6740a51edf fix: #11702, don't escape backgroundImage twice 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ı 5fae09f3aa feat: add not validated/expired 2 years ago
Barış Soner Uşaklı 5adc418fef manage ip address dropdown 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ı 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ı 5daaa5ea78 fix: edge case in category filter
selecting a category and then clicking on all categories was breaking selection icons
2 years ago
Barış Soner Uşaklı adf14ea57c fix: browser title if options.title is undefined 2 years ago
Barış Soner Uşaklı bd80d36e0d Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 28740de766 fix: #11595, use default value 2 years ago
Julian Lam 4f524e9f94 feat: token rolling API for admins
+ tests
2 years ago
Julian Lam ce23caf7e6 feat: token editing and deletion 2 years ago
Julian Lam e4888dea17 feat: api token migration, new ACP tokens list, token creation 2 years ago
Julian Lam 7b8bffd763 feat: internal utility functions for token management (creation, deletion, etc)
Including tests
2 years ago
Julian Lam 686ecea123 fix: #11589, regression where a user could not confirm their email if requireEmailAddress was enabled 2 years ago
Barış Soner Uşaklı ec0da196d8 chore: whopps 2 years ago
Barış Soner Uşaklı 83fca31628 feat: closes #11549, new error pages 2 years ago
Barış Soner Uşaklı 73d02725f0 new 404 page 2 years ago
Julian Lam 36895421ba refactor: topic mark read/unread routes 2 years ago
Julian Lam 69b409385d refactor: migrate `posts.getReplies` to write API 2 years ago
Julian Lam ee9f53f1ff refactor: deprecate socket method posts.getPidIndex 2 years ago
Julian Lam d814e281a0 feat: write API shorthand to query post routes by their topic index (requires tid in either query string or request body)
middleware.checkRequired is also updated to check for matches in req.query as well.
2 years ago