1394 Commits (ca14c0e2a64806a3dadb7a7ef1ed30eecaffbb7d)

Author SHA1 Message Date
Julian Lam 8e93bf7362 feat(topic-events): client-side handling on topic event log 4 years ago
Julian Lam df2fdd56ba fix(topic-events): repeated invocations of Posts.addTopicEvents caused dupes to be added to DOM 4 years ago
Julian Lam 9559fad8ac refactor(topic-events): expose addTopicEvents method in topic posts lib
+ allow it to accept an array of events, or fall back to ajaxify data otherwise
4 years ago
Julian Lam 882e6a159c feat(topic-events): handle newest_to_oldest sort in topic events, WIP 4 years ago
Julian Lam ab2e1ecb40 feat(topic-events): work in progress topic events logic and client-side implementation 4 years ago
Julian Lam 966c4117ec refactor(api): post move to write API 4 years ago
Barış Soner Uşaklı 0fa4c11ea6 fix: don't chagne scrollTop if at the top of page 4 years ago
Julian Lam e118e59ce0 refactor(api): post diffs to use write API 4 years ago
Barış Soner Uşaklı 183cabe90f fix: #9150, fix selector so it doesn't add img-responsive to profile pics 5 years ago
Julian Lam 32e36f7b2e feat(api): group ownership API route, switch client-side to use API route 5 years ago
Julian Lam 1cd2689cf6 refactor(api): deprecated groups update socket in favour of API lib 5 years ago
Julian Lam e640a41a78 refactor(api): update group deletion calls to use write API 5 years ago
Barış Soner Uşaklı 2ef72a94c2 fix: #9136, fix move topic/post timeout errors 5 years ago
Barış Soner Uşaklı b7b588f5c8 fix: trigger action:posts.edited 5 years ago
Barış Soner Uşaklı feecd66506 fix: api usage 5 years ago
Barış Soner Uşaklı a15ef53c70 feat: add new client side hooks 5 years ago
Barış Soner Uşaklı 3ed55799ab fix: #9114, fix client side groups update for memberPostCids 5 years ago
Barış Soner Uşaklı 6669496dba
Navigator (#9049)
* feat: navigator changes

* fix: remove extra code

* feat: add lang keys
5 years ago
Barış Soner Uşaklı 5f0f476b57 feat: #9005, use timestamp in profile/cover images
delete current one if keepAllUserImages is turned off
fix typo in data
5 years ago
Barış Soner Uşaklı 954dc5b7be feat: #8983, update pin tooltip in topic 5 years ago
Barış Soner Uşaklı 1269103fbb fix: #8984, post-queue ux 5 years ago
Barış Soner Uşaklı 4c7374ea33 fix: flicker on tooltips if server call takes long time 5 years ago
Julian Lam e1432caf92 feat: add cancel button to pin expiration modal 5 years ago
Julian Lam 15c6f32c93 refactor: pin/lock threadTools to use topicCommand, rewrote topicCommand to match categoryCommand signature 5 years ago
Barış Soner Uşaklı c037779fa1 feat: add topicOwnerPost #8778 5 years ago
Julian Lam d584516947 fix: #8943, session mismatch modal thrown on login (race condition) 5 years ago
Barış Soner Uşaklı f20c12ee40 fix: add client side check for userslug #8939 5 years ago
Barış Soner Uşaklı cf903e4e8f fix: #8931, fix lang string 5 years ago
Barış Soner Uşaklı 95a3f03009 fix: #8932, fix client side error when updating username 5 years ago
Julian Lam 046d0b1637
feat: allow pins to expire (if set) (#8908)
* fix: add back topic assert middleware for pin route

* feat: server-side handling of pin expiries

* refactor: togglePin to not require uid parameter [breaking]

* feat: automatic unpinning if pin has expiration set

* feat: client-side modal for setting pin expiration

* refactor: categories.getPinnedTids to accept multiple cids

... in preparation for pin expiry logic, direct access to *:pinned zsets is discouraged

* fix: remove references to since-removed jobs file for topics

* feat: expire pins when getPinnedTids is called

* refactor: make the togglePin change non-breaking

The 'action:topic.pin' hook now sends uid again, as before. However, if it is a system action (that is, a pin that expired), 'system' will be sent in instead of a valid uid
5 years ago
Julian Lam 00aee84bf7
refactor: use categoryCommand local method for pin/lock in category tools (#8917)
* refactor: use categoryCommand local method for main actions in category tools

* fix: wrong command passed in
5 years ago
Barış Soner Uşaklı e9585b9be2 fix: group userTitles translation escapes 5 years ago
Barış Soner Uşaklı 1d6bcbebde feat: https://github.com/NodeBB/NodeBB/issues/8147 5 years ago
Julian Lam d83eb7f89e refactor: client-side handlers for user invitations
DRY
5 years ago
gasoved 3ccebf112e
feat: invites regardless of registration type, invite privilege, groups to join on acceptance (#8786)
* feat: allow invites in normal registration mode + invite privilege

* feat: select groups to join from an invite

* test: check if groups from invitations have been joined

* fix: remove unused variable

* feat: write API versions of socket calls

* docs: openapi specs for the new routes

* test: iron out mongo redis difference

* refactor: move inviteGroups endpoint into write API

* refactor: use GET /api/v3/users/:uid/invites/groups

Instead of GET /api/v3/users/:uid/inviteGroups

* fix: no need for /api/v3 prefix when using api module

* fix: tests

* refactor: change POST /api/v3/users/invite

To POST /api/v3/users/:uid/invites

* refactor: make helpers.invite awaitable

* fix: restrict invite API to self-use only

* fix: move invite groups controller to write api, +tests

* fix: tests

Co-authored-by: Julian Lam <julian@nodebb.org>
5 years ago
Barış Soner Uşaklı 9dac9630df fix: check tid in event handlers client side 5 years ago
Julian Lam 769aba0aed fix: refresh flags list on bulk action success 5 years ago
Julian Lam f300c933a5 refactor: move session revocation route to write api 5 years ago
Barış Soner Uşaklı 9f7902efdf fix: remove some unnecessary jquery wrappers 5 years ago
Peter Jaszkowiak e128264b66
refactor: change Benchpress.parse to .render (#8856)
It has been deprecated with no warning message for a while
Changing these over before enabling the warning message to reduce spam
5 years ago
Julian Lam d263192271 feat: group exists API call in write api 5 years ago
Julian Lam 1446cec77f feat: user exist route in write api 5 years ago
Julian Lam 1afd215050 feat: add back error handling for a number of api calls 5 years ago
Barış Soner Uşaklı 715775a707 feat: #8817, add login clientside hooks
same as logout
5 years ago
Julian Lam a08fb8e53b fix: removed superfluous assignment 5 years ago
Julian Lam 0b6ef61e40 fix: createNewPosts to build tpl with ajaxify.data
If the post template contains references to items outside of the scope of the post, then when the post is loaded via IS, the expected values are empty.

This was due to createNewPosts calling app.parseAndTranslate with a subset of the page payload. This works fine in Persona (and most other themes)
because they do not refer to properties outside of the post object, but it may be helpful to include the rest of the ajaxify data as well.
5 years ago
Barış Soner Uşaklı 9082062e90 fix: sort setting not using correct field name 5 years ago
Julian Lam c26f2b6599 feat(writeapi): user settings API 5 years ago
Baris Usakli 1a4c0decb7 fix: reset button loading html 5 years ago
Barış Soner Uşaklı e6440c0d21 fix: #8779, fix move all
add new language keys
5 years ago