gasoved
61f02f17d8
feat: column based view on wide priv. tables ( #9699 )
...
* 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
2021-08-30 10:42:58 -04:00
Julian Lam
1ee92c281d
fix: topic event deletion
2021-08-25 10:12:50 -04:00
Julian Lam
152f194aee
Server-side rendering of topic events ( #9733 )
...
* 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 #9731
* style: lint
2021-08-24 11:56:04 -04:00
Julian Lam
cf4b78dbd3
Revert "fix: taskbar icon not pushed via composer/persona"
...
This reverts commit 3a81c8fd42 .
2021-08-18 10:09:39 -04:00
psychobunny
d2492ef48e
style: eslint
2021-08-17 18:16:43 -04:00
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
2021-08-17 17:49:06 -04:00
Barış Soner Uşaklı
382a4c2785
feat: #9705 , use radio buttons for flag reasons
2021-08-16 11:26:49 -04:00
Anton Grigoryev
342503e07a
Feat: Client-side hooks - replace window.trigger ( #9679 )
...
* 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
2021-08-13 16:58:37 -04:00
Julian Lam
21359eabac
feat: convert _fireStaticHook to async function (auto-refactor by vscode)
2021-07-16 14:42:48 -04:00
Julian Lam
6bc090f8bb
docs: some hook deprecation notices
2021-07-16 14:37:47 -04:00
Julian Lam
cc6cbfcdc4
Flags API ( #9666 )
...
* 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
2021-07-16 13:44:42 -04:00
psychobunny
acb11cc764
fix: use hooks module instead of window trigger
2021-07-14 14:54:17 -04:00
psychobunny
522291726d
style: lint
2021-07-12 13:55:16 -04:00
psychobunny
e0db904b0e
feat: new hook action:topics.loading (in the same format as action:posts.loading)
2021-07-12 13:10:57 -04:00
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)
2021-07-12 13:05:06 -04:00
psychobunny
07f25d8c47
fix: made TopicList.onTopicsLoaded private [breaking]
2021-07-12 12:57:59 -04:00
Julian Lam
849049765b
fix : #9636 , sanitize all attributes in meta and link tags
2021-06-28 13:17:22 -04:00
Barış Soner Uşaklı
2fe30b6fa0
feat: #9628 , allow setting custom icon names
2021-06-23 09:53:26 -04:00
Barış Soner Uşaklı
be19f27f40
feat: add filter:categories.categorySearch
2021-06-11 09:47:23 -04:00
psychobunny
93598982f9
fix: stripTags for editing sorted list items as well
2021-04-14 17:01:25 -04:00
psychobunny
b5ce8d257c
style: eslint
2021-04-14 16:52:55 -04:00
psychobunny
75073c0ed3
fix: stripHTMLTags for sorted list entries
2021-04-13 13:08:14 -04:00
psychobunny
1ad1787eaa
fix: thumb count not updated when uploading multiple thumbs at a time
2021-03-30 18:02:58 -04:00
Barış Soner Uşaklı
344575dde1
feat: add hooks to language loading ( #9426 )
...
and flushNamespace method
2021-03-25 20:21:47 -04:00
gasoved
a3e95e798f
feat: allow adding sorted-list items from forms outside of modal
2021-03-25 15:26:42 -04:00
gasoved
077330b764
feat: scheduled topics ( #9399 )
...
* feat: scheduled topics
* refactor: linting fixes
* fix: tests
* fix(test): race condition
* fix: make a single request
2021-03-24 14:28:02 -04:00
Julian Lam
d9e2029074
fix: hooks for alert animate, no more fadein/fadeout for reconnect alert
2021-03-23 13:42:18 -04:00
Barış Soner Uşaklı
3c4e93a3c1
fix : #9411
2021-03-20 15:51:17 -04:00
Barış Soner Uşaklı
93c595d95e
fix : #9406 , update flag post tools
2021-03-19 19:39:24 -04:00
Julian Lam
d1685600d3
refactor: deprecate action:script.load, use filter:script.load instead
2021-03-15 13:56:12 -04:00
Barış Soner Uşaklı
03e306349c
fix : #9387 , don't try to load undefined images
2021-03-14 15:57:08 -04:00
Barış Soner Uşaklı
52082e1296
feat: add resolve flag to post tools
2021-03-12 16:38:05 -05:00
Julian Lam
8472513093
fix: change notification updateCount to use client-side hooks
2021-03-12 09:25:06 -05:00
Barış Soner Uşaklı
e787e6ea22
fix: if no in passed use "titles" to match header search
2021-03-08 17:59:56 -05:00
psychobunny
66196d2caf
feat: allow for settings.save/settings.load on client side
...
w/ optional data-socket-get / data-socket-set params on form element for custom calls
2021-03-04 20:48:29 -05:00
Julian Lam
1e579428e7
fix: bug where fallback window trigger was not firing if there were no hook listeners attached
...
... so in essence the backwards compatibility was not working at all.
closes nodebb/nodebb-plugin-composer-default#147
2021-03-04 11:10:06 -05:00
Julian Lam
7d391d4789
feat: new client-side hook filter:api.options to allow plugins to modify api requests
2021-03-01 10:57:43 -05:00
preetykumar
2826c6986c
Update taskbar.js ( #9314 )
...
* Update taskbar.js
add aria-label to make the link text discernible to screen readers.
* place quotes around attribute value
Co-authored-by: Peter Jaszkowiak <p.jaszkow@gmail.com >
2021-02-28 17:57:19 -05:00
Julian Lam
d0136074b6
feat: allow hook unregistration, and temporary page-based hooks
...
Temporary hooks automatically unregister themselves on the next ajaxify, making them perfect for in-page events.
2021-02-23 15:18:00 -05:00
Peter Jaszkowiak
0d59fe3d2b
fix( #9315 ): api v3 post, put, del JSON
...
also allow `app.alertError` to be called without an argument
also fix `./nodebb build --dev` to actually build in dev mode
2021-02-22 21:19:46 -05:00
Julian Lam
c96fd3b19b
feat: pass user picture object into change_picture_modal
2021-02-19 13:39:22 -05:00
Julian Lam
28f6931e16
refactor: move picture change client-side logic to its own rjs module
2021-02-19 11:54:48 -05:00
Julian Lam
b4c0b32b26
fix: use root context if buildAvatar context is undefined
2021-02-19 11:38:48 -05:00
Barış Soner Uşaklı
9ce6f8ad93
feat: add tag filter to getSortedTopics
2021-02-16 23:12:10 -05:00
Julian Lam
7223074f1d
feat: ability to re-order topic thumbnails
2021-02-16 11:54:09 -05:00
Julian Lam
db027170a8
feat: add close button to topic thumbnail modal
2021-02-16 11:54:09 -05:00
Julian Lam
36e8d251c8
fix: use of removed URL to get post data
2021-02-12 17:10:59 -05:00
Peter Jaszkowiak
cc9d6fd08b
chore: eslint max-len
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
62869bae3d
chore: eslint function-paren-newline
2021-02-08 18:06:44 -05:00
Julian Lam
16610b2dca
fix: pass jquery object in to action:notifications.loaded hook
2021-02-08 16:29:45 -05:00