Commit Graph

134 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
5fa8ddbcf9 test: fix spec 2024-08-26 14:52:30 -04:00
Barış Soner Uşaklı
269fc06835 feat: add downvoteVisibility setting, closes #12698 2024-07-17 17:43:31 -04:00
Barış Soner Uşaklı
41f1cd69ad test: spec 2024-06-16 23:15:36 -04:00
Barış Soner Uşaklı
b148d0fcf9 test: spec 2024-06-16 23:03:03 -04:00
Barış Soner Uşaklı
1dadd16f4b perf: call getIconbackgrounds once
instead of 20x on topic/topic list load
2024-06-11 17:20:31 -04:00
Barış Soner Uşaklı
9af3a2daca test: update openapi spec 2024-06-11 12:25:47 -04:00
Barış Soner Uşaklı
2d86552b85 refactor: #12623, add filter:config.get.admin
to add admin only config values
add /api/admin/config to retrieve config object with admin values included
2024-06-08 13:42:43 -04:00
Barış Soner Uşaklı
c51b772fae feat: add isACP to config, closes #12623 2024-06-08 12:30:26 -04:00
Barış Soner Uşaklı
6bbe3d1c4c fix: dont show error alert when user user mouse overs votes
if they dont have permission to view votes
2024-06-07 14:08:48 -04:00
Barış Soner Uşaklı
29dbe92d6e feat: show ignored/watched topics in topic list, closes #10974 2024-05-25 12:28:39 -04:00
Barış Soner Uşaklı
5eb8c90bf8 test: fix schema 2024-04-29 10:39:36 -04:00
Barış Soner Uşaklı
d599493057 Merge branch 'master' into develop 2024-04-15 12:13:20 -04:00
Barış Soner Uşaklı
6816e39bd8 test: update spec 2024-04-12 12:02:57 -04:00
Barış Soner Uşaklı
3042cf02d1 Merge branch 'master' into develop 2024-04-11 16:46:01 -04:00
Barış Soner Uşaklı
0b1f2546c8 fix: #12471, remove readable strings
they are not localized properly
2024-04-07 11:10:15 -04:00
Julian Lam
4da1e9c464 fix: use CategoryObject in admins-mods schema def 2024-03-22 12:38:33 -04:00
Barış Soner Uşaklı
4bcbf75994 fix: spec 2024-02-08 13:23:22 -05:00
Barış Soner Uşaklı
38197163b9 Merge branch 'master' into develop 2024-02-05 16:39:07 -05:00
Barış Soner Uşaklı
5fec8b2381 test: fix spec 2024-02-05 16:32:22 -05:00
Barış Soner Uşaklı
45cfb3691e feat: show unread categories based on unread topics (#12317)
* feat: show unread categories based on unread topics

if a category has unread topics in one of its children then mark category unread
deprecate cid:<cid>:read_by_uid sets
upgrade script to remove the old sets

* chore: up harmony
2024-01-30 17:47:06 -05:00
Opliko
2d8026ebb7 Add basic author information to topic data (#12202)
* feat: add author metadata to topics

* docs: add author object to OpenAPI definition

* docs: add remaining author properties to openapi definition

* docs: mark optional properties optional

* docs: properly set required properties
2023-12-01 09:08:50 -05:00
Barış Soner Uşaklı
fdff165e2b feat: closes #12154, add exempt groups
for new user restrictions
2023-11-07 12:36:40 -05:00
Barış Soner Uşaklı
84fed97b41 feat: add tracking categories and make watching send notifications (#12147)
* feat: add tracking categories and make watching send notifications

upgrade script to change the defaults

* add missing spec

* test: one more spec
2023-11-03 12:49:17 -04:00
Barış Soner Uşaklı
4c4f3ac983 feat: add direct message link (#12138)
* feat: add direct message link

/message/:mid
add /:index? to chat routes
add copy link to chat messages
add messageCount to each room object
add infinitescroll in both directions to chat

* fix more tests

* test: more text fixes

* test: fix tests

* remove async

* dont crash if element not in dom

clamp scrollToIndex values to 0, msgCount
2023-10-31 10:15:06 -04:00
Barış Soner Uşaklı
2ca5192b8a feat: show # of widgets on templates
ability to hide drafts
2023-10-23 10:14:36 -04:00
Barış Soner Uşaklı
be14f6cc52 feat: closes #11553, add forked from message like merged into 2023-09-28 10:10:30 -04:00
Barış Soner Uşaklı
40d290c1a9 Tag follow (#12041)
* feat: tag follow

* on tag delete remove it from following users

* feat: on tag rename update user followed tags

and move the

* add new filter on /notifications

* feat: openapi updates

* chore: up themes

* chore: up peace

* refactor: remove unused title
2023-09-27 10:57:00 -04:00
Barış Soner Uşaklı
f1a80d48cc 10411 (#12037)
* feat: add type to privilege maps

deprecate old hooks that are used for adding new privileges, new hooks are static:privileges.global.init/static:privileges.categories.init

* deprecate admin priv hooks

* fix: if type doesnt exist default to 'other'

* remove filter

* fix: copy privilege functions to use new filter instead of indices

allow static hooks to use sync functions

* fix: openapi

* test: fix template helper
2023-09-25 20:42:18 -04:00
Barış Soner Uşaklı
d906097a22 feat: add composerActions for chat rooms 2023-09-16 20:46:54 -04:00
Barış Soner Uşaklı
731466e572 feat: #11949, show alert if posts is going to be queued 2023-08-23 23:36:18 -04:00
Julian Lam
4a846803e8 fix: improper SSO format (regression), update openapi schema 2023-08-21 15:38:41 -04:00
Barış Soner Uşaklı
acef5e3343 feat: add category selector to analytics page
closes #11878
2023-08-04 13:22:48 -04:00
Opliko
b709ed9e63 feat: move to npm fontawesome dependency and support fa pro (#11820)
* feat: move to npm fontawesome dependency

* feat: move shims to a separate file

* fix: thin style prefix

* feat: proper style and FA pro handling in icon selector

* docs: add fontawesome properties to openAPI

* fix: default for styles

* feat: select all styles by default

Turns out browsers lazy-load fonts.
So since the actual CSS for each style is small, there is no perf reason for defaulting to free styles for FA pro users.
This means they'll have to only change one setting.

Still, the option to select styles remains for those who want it.

* fix: remove console.log
2023-07-31 11:22:09 -04:00
Barış Soner Uşaklı
48a66b74f1 fix tests 2023-07-27 17:39:14 -04:00
Barış Soner Uşaklı
e68f7c2064 add missing hooks 2023-07-27 16:51:07 -04:00
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
2023-07-21 15:31:34 -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ı
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ı
b63cd54812 test: fix spec 2023-07-13 11:41:20 -04:00
Barış Soner Uşaklı
f287e1323d spec 2023-07-12 21:23:17 -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ı
94f0630133 test: fix spec 2023-06-23 00:00:23 -04:00
Barış Soner Uşaklı
86faed6fd3 feat: add vote privs to topic (#11734)
* feat: add vote privs to topic

* add missing awaits
2023-06-20 14:16:17 -04:00
Barış Soner Uşaklı
2f94eb21fb test: openapi 2023-06-15 10:01:50 -04:00
Barış Soner Uşaklı
bc74afaf51 test: openapi 2023-06-14 21:05:22 -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ı
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
4f524e9f94 feat: token rolling API for admins
+ tests
2023-05-11 15:22:50 -04:00
Barış Soner Uşaklı
94f2e50883 feat: add hits/sec for cache 2023-04-22 16:41:27 -04:00
Barış Soner Uşaklı
5c26cb5888 fix: add composer:showHelpTab to api 2023-04-21 19:10:51 -04:00