Commit Graph

1439 Commits (6eea6451d2c5d4b329319c4d59082acaac3b6e1f)

Author SHA1 Message Date
Julian Lam eeffb9d978 feat: `POST /api/v3/chats/:roomId`
Barış Soner Uşaklı 621c142f8e refactor: alerts
Barış Soner Uşaklı 0a6eeb933e lint: fix
Barış Soner Uşaklı cba78aee16 refactor: use alerts.error/success
Barış Soner Uşaklı 4f4236101b
fix: wrong usage of is ACP
Barış Soner Uşaklı dd02c49f43 refactor: use lang keys, fix typo
Barış Soner Uşaklı 1980feed46 refactor: use alerts module
Barış Soner Uşaklı 36aa60346b breaking: remove action:category.loaded, use action:topics.loading
action:category.loaded will not fire on infintite load of topics
Barış Soner Uşaklı 242f8e95ad fix: , /api/post/upload returns v3 style response
Barış Soner Uşaklı fb363957d1 refactor: tab rules
Barış Soner Uşaklı d5bfd51267 fix: , handle reverse sorting for topic events
dont add events to dom if sort is most votes
if sorting is reverse add new events after the main post or at the top instead of bottom
Barış Soner Uşaklı 4359e5c97c refactor: remove tabs after declaration
Barış Soner Uşaklı 7f8783555b Revert "perf: remove createUserTooltips"
This reverts commit facc10e40f.
Baris Usakli facc10e40f perf: remove createUserTooltips
Barış Soner Uşaklı 96f13e4f5d feat: , hooks.one
Barış Soner Uşaklı 0428912c6d refactor: deprecate app.alert functions user alerts module directly
Barış Soner Uşaklı 8b4510cc70 refactor: deprecate app.logout
use logout module instead
move header related code out of app.js
Barış Soner Uşaklı f352be63dc refactor: deprecate app.openChat/newChat
use chat.openChat/newChat instead
Barış Soner Uşaklı 1a9b15989b refactor: move search functions from app.js to search module
deprecate:
app.handleSearch, use search.init(options) instead
app.enableTopicSearch, use search.enableQuickSearch(options) instead
app.prepareSearch, use search.showAndFocusInput() instead
Barış Soner Uşaklı 666fe209f0 refactor: move session messages
Barış Soner Uşaklı 518552543d refactor: move warnings/messages out of app.js
Barış Soner Uşaklı 89399c0ed5 fix: , get next post timestamp
fixes topic events being inserted in after first page but at the wrong spot
Barış Soner Uşaklı 3d1cf168f2 revert: lazy load
Barış Soner Uşaklı 015727855f fix: remove loading="lazy", fixes inf. scroll loaded images
Barış Soner Uşaklı 64192731a0 refactor: use search api for topic search
Barış Soner Uşaklı 8d316d1859 fix: , fix translator test
Barış Soner Uşaklı f02fba29dc refactor: add callback to loadNotifications
gasoved b0a24d6dd5
refactor: var to const and let ()
* refactor: var to const and let

* fix: missed global bootbox usage

* refactor: align with eslint expectations
gasoved 227456fb17
fix: no global bootbox ()
* fix: require bootbox (easy ones)

* fix: require bootbox (ugly ones)

* fix(eslint): a lengthy line
Julian Lam 3e69bcdf1f fix: update app badge with notification count if applicable
Barış Soner Uşaklı 27e53b42f3 feat: use unread icon in mobile
Barış Soner Uşaklı 4404e81991
fix: switch inf. scroll to xhr ()
this fixes infinitescroll when url has custom query parameters
also fixes infinitescroll for plugins like QnA
fixes infinitescroll on tags page
deprecate topics.loadMoreSortedTopics
deprecate topics.loadMoreFromSet
Julian Lam be43cd2597
Topic Linkbacks ()
* feat: WIP topic linkbacks, + failing tests

* test: don't accidentally comment out all of the post tests

* fix: rename to "backlinks"

* feat: more stub code, more failing tests

* feat: backend methods and passing tests for topic backlinks

* test: uncomment test/posts.js again

* fix: missing quotation mark in topic event helper

* fix: superfluous usage of Promise.all

* test: fix broken test -- used hardcoded (and incorrect) url

* test: parseInt shenanigans
Barış Soner Uşaklı 0faa493745 fix: crossorigin not showing up on manifest link tag
Julian Lam 0a41741b7e refactor: deprecate picture update socket call, new API routes for picture update
gasoved 61f02f17d8
feat: column based view on wide priv. tables ()
* feat: column based view on wide priv. tables

* fix: add group/user

* feat: copy buttons to work on visible privs

* feat: show what's being copied in modal

* feat: optional title and message for category selector modal
Julian Lam 1ee92c281d fix: topic event deletion
Julian Lam 152f194aee
Server-side rendering of topic events ()
* style: reformat list of helpers exported

* refactor: move topic events partial into a helper, invoke helper in topic.tpl (see persona), update how events are added to the DOM via addTopicEvents

closes 

* style: lint
Julian Lam cf4b78dbd3 Revert "fix: taskbar icon not pushed via composer/persona"
This reverts commit 3a81c8fd42.
psychobunny d2492ef48e style: eslint
psychobunny 3a81c8fd42 fix: taskbar icon not pushed via composer/persona
@antosik, partially reverted your PR:
342503e07a

just specifically this file: 342503e07a/public/src/modules/taskbar.js

I'm not 100% sure, but it might be because this hook is called sooner than the hook being registered? https://github.com/NodeBB/nodebb-theme-persona/blob/master/public/persona.js#L100-L101  @julianlam
Barış Soner Uşaklı 382a4c2785 feat: , use radio buttons for flag reasons
Anton Grigoryev 342503e07a
Feat: Client-side hooks - replace window.trigger ()
* feat/clientside-hooks: replace window.trigger with hooks.fire

* feat(clientside-hooks): Move hooks require to the top

* fix: simplifying complex logical expression

* fix: client-side hook for translator - post-review fixes
Julian Lam 21359eabac feat: convert _fireStaticHook to async function (auto-refactor by vscode)
Julian Lam 6bc090f8bb docs: some hook deprecation notices
Julian Lam cc6cbfcdc4
Flags API ()
* feat: new routes for flags API

+ flag get
+ flag creation, migration from socket method
+ flag update, migration from socket method
* fixed bug where you could not unassign someone from a flag

* feat: tests for new flags API

added missing files for schema update

* fix: flag tests to use Write API instead of sockets

* feat: flag notes API + tests

* chore: remove debug line

* test: fix breaking test on mongo
psychobunny acb11cc764 fix: use hooks module instead of window trigger
psychobunny 522291726d style: lint
psychobunny e0db904b0e feat: new hook `action:topics.loading` (in the same format as `action:posts.loading`)
psychobunny 8ae4c30029 feat: schedule deprecation for `action:category.loaded` and `action:category.loading`. Use `action:topics.loaded/ing` instead
(or action:ajaxify.end if you are using it to check cid on page load)