Commit Graph

2531 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
e35ff0a1b5 use absolute url 2023-10-12 10:26:00 -04:00
Barış Soner Uşaklı
e4765714ca use absolute urls for breadcrumbs 2023-10-11 13:03:43 -04:00
Barış Soner Uşaklı
1a745201cc feat: use homePageTitle in breadcrumbs if its set
https://github.com/NodeBB/NodeBB/issues/12066
2023-10-11 12:36:33 -04:00
Barış Soner Uşaklı
1072b38b83 fix: lang key, type has _, lang keys changed to use - 2023-10-05 12:53:00 -04:00
Barış Soner Uşaklı
844cb91beb feat: update all language keys to use - instead of _ (#12059)
* feat: update all language keys to use - instead of _

* refactor: update language keys
2023-10-05 12:48:50 -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
Julian Lam
bdc221eb37 fix: clear interstitial data if there are no additional interstitials on abort 2023-09-26 14:54:13 -04:00
Julian Lam
e1bced8c2c fix: move database call used to associate a NodeBB session UUID to its express session id into user.auth.addSession, which is the only time it is called 2023-09-11 15:08:45 -04:00
Barış Soner Uşaklı
8db13d8e86 refactor: how admins change emails (#11973)
* refactor: how admins change emails

ability for admins to change emails from acp
ability for admins to change passwords from acp
only users themselves can use /user/<slug>/edit/email
group actions in manage users dropdown
admins can use the same modal from profile page instead of interstitial to update email
add missing checks to addEmail, if email take throw error
add targetUid to email change event

* test: bunch of baloney

* test: remove old test
2023-08-30 19:29:46 -04:00
Barış Soner Uşaklı
54706b1182 ability to pin chat messages (#11964) 2023-08-28 15:57:30 -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
Barış Soner Uşaklı
e39697061a fix: closes #11921 2023-08-22 19:42:51 -04:00
Barış Soner Uşaklı
adb8e85d68 Merge branch 'master' into develop 2023-08-22 11:32:03 -04:00
Julian Lam
df65c60081 fix: improper SSO format (regression), update openapi schema 2023-08-21 15:43:32 -04:00
Julian Lam
4a846803e8 fix: improper SSO format (regression), update openapi schema 2023-08-21 15:38:41 -04:00
Julian Lam
db15e7c4b1 fix: return empty array for 'sso' otherwise 2023-08-21 15:31:58 -04:00
Julian Lam
a6c98de631 fix: #11906, remove retrieval of SSO data in getAllData internal method, only retrieve for calling user or admins, and only on edit page 2023-08-21 15:26:42 -04:00
Julian Lam
8aacc8f89c fix: #11906, remove retrieval of SSO data in getAllData internal method, only retrieve for calling user or admins, and only on edit page 2023-08-21 15:26:26 -04:00
Barış Soner Uşaklı
b65d8e823a feat: add new notif type for public rooms
change notification text to display more users
  * user1 wrote in general
  * user1 and user2 wrote in general
  * user1, user2 and user3 wrote in general
  * user1. user2 and 2 others wrote in general
2023-08-20 11:51:09 -04:00
Barış Soner Uşaklı
6b09b7c7d4 test: fix tests, dont hang if payload is string
closes #11933
2023-08-19 16:40:43 -04:00
Barış Soner Uşaklı
7dd143e1f8 fix: show access denied instead of internal error
when user doesn't have access to chats
2023-08-18 21:40:39 -04:00
Barış Soner Uşaklı
b958a39a66 feat: log roomId/roomName on delete 2023-08-18 20:47:55 -04:00
Julian Lam
d94c5cc127 Merge remote-tracking branch 'origin/master' into develop 2023-08-17 17:19:30 -04:00
Julian Lam
19e047e2d3 fix: #11906, userData.sso — don't serve deauthUrl or non-associated url if caller uid is not same as target uid 2023-08-17 17:18:30 -04:00
Barış Soner Uşaklı
b7920b7ad9 lets test perm redirect 2023-08-16 19:35:23 -04:00
Barış Soner Uşaklı
76fde8efd7 feat: #11897, show guest handles in post queue and after using POST /compose 2023-08-10 14:06:00 -04:00
Barış Soner Uşaklı
0316f324e7 feat: add toMid to chat messages 2023-08-06 02:33:28 -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
Opliko
8ac34f8e8e feat: password check hook (#11853)
* feat: filter:password.check hook

As requested on Discord, hopefully including all relevant user data

* fix: don't use caller uid

* feat: don't forward username separately
2023-07-30 19:18:21 -04:00
Barış Soner Uşaklı
207776d474 Merge branch 'master' into develop 2023-07-29 20:34:22 -04:00
Opliko
c95119156d fix: register abort can error on weird session state (#11854) 2023-07-29 20:11:17 -04:00
Barış Soner Uşaklı
f359a76702 feat: #11814, dont check content len for admins 2023-07-26 09:58:16 -04:00
Barış Soner Uşaklı
4f3f9d9891 mark chat room notifs read on load 2023-07-21 16:19:26 -04:00
Barış Soner Uşaklı
a16ee32d31 Merge branch 'master' into develop 2023-07-15 22:09:27 -04:00
Barış Soner Uşaklı
2a3d6d5cfb fix: logs page whitespace
fix url of upload breadcrumbs
2023-07-15 22:08:38 -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ı
796730dc54 test no escape on canonical 2023-07-10 16:20:06 -04:00
Barış Soner Uşaklı
7c588fe9a3 test no escape on canonical 2023-07-10 16:13:26 -04:00
Barış Soner Uşaklı
0ff1f82b5c make meta desc 160 chars 2023-07-08 14:55:29 -04:00
Barış Soner Uşaklı
9044e10e64 change description length to 160 2023-07-07 00:38:30 -04:00
Barış Soner Uşaklı
f367d65a03 remove timeagoCutoff=1 2023-07-02 17:26:58 -04:00
Barış Soner Uşaklı
4045681aa7 fix: add ?page= to canonical urls
#11770
for spiders to use pagination
2023-06-30 20:51:03 -04:00
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
2023-06-26 20:33:28 -04:00
Barış Soner Uşaklı
cc1672882c add the pending email so it is displayed in acp 2023-06-26 12:27:21 -04:00
Barış Soner Uşaklı
2386c8e0bf Merge branch 'master' into develop 2023-06-26 09:22:50 -04:00
Barış Soner Uşaklı
e45f513bfe fix: #11756, fix unique visitor stats in acp table 2023-06-26 09:03:29 -04:00
Barış Soner Uşaklı
d549d07381 remove await 2023-06-23 14:35:51 -04:00
Barış Soner Uşaklı
4b11cd0da5 feat: closes #11747, add pagination to tokens page 2023-06-22 23:38:57 -04:00
Barış Soner Uşaklı
c21d7dbc7e fix: dont overwrite postIndex
if its not on the current page
2023-06-22 22:26:08 -04:00