5922 Commits (a2fafc2b1545a484f1f0256776e8504f0eb0afd0)

Author SHA1 Message Date
Julian Lam 1fa4134201 fix: #10329, select elements in sorted-list not showing proper values 3 years ago
Barış Soner Uşaklı 3acd2ac850 refactor: wrap around if at end
remove debug log
dont focus input on mobile
3 years ago
Barış Soner Uşaklı b517b376ac feat: ability to go through your posts in a topic
because I am 👴 useful for large topics
3 years ago
Barış Soner Uşaklı 503e27f709 fix: #10302, fix regression 3 years ago
Barış Soner Uşaklı 58b5781cea feat: closes #10296
asset_base_url in nconf
keep assetBaseUrl in config for backwards compat
3 years ago
Barış Soner Uşaklı 946d351f3a refactor: lazy load slugify 3 years ago
Barış Soner Uşaklı 398d25c210 feat: #10276, dont change/revert theme if its current 3 years ago
Barış Soner Uşaklı fb3f4f9a13 fix: #10256, allow quote tooltip on mobile 3 years ago
Barış Soner Uşaklı dcb201dfa8 fix: https://github.com/NodeBB/NodeBB/issues/10242 3 years ago
Barış Soner Uşaklı cf5c096806 feat: add upload helper module for drag&drop, paste, closes #6388
fix chat input not getting focused
3 years ago
Barış Soner Uşaklı 1d01741ae7 fix: #10208, don't use leading slash in directory names
change to use decodeURIComponent in utils.params
3 years ago
Barış Soner Uşaklı 93d18383ee fix: don't crash if quick search doesn't return posts 3 years ago
Julian Lam 89b559a2a3 refactor: sorted-list .get() to be async fn
+ plugin hook `filter:settings.sorted-list.load` to allow modification of params prior to template parsing
3 years ago
Julian Lam 578145acd6 fix: bug where page wouldn't complete loading if data.scripts was emptied 3 years ago
Barış Soner Uşaklı dc6e629d59 fix: https://github.com/julianlam/nodebb-plugin-mentions/issues/170 3 years ago
Barış Soner Uşaklı 92a249c947 fix: #10197, fix relative path urls for dashboard pages 3 years ago
Barış Soner Uşaklı 94da502629 fix: if no group label is selected, select no group title option
dont save groupTitle: "['null']" if nothing is selected
3 years ago
Barış Soner Uşaklı 1c80adf1ef feat: revert label js change 3 years ago
Barış Soner Uşaklı fdfafb44fb fix: mark unread button showing the selected category 3 years ago
Barış Soner Uşaklı a75a043b61 feat: allow % in tags, #10135 3 years ago
Barış Soner Uşaklı 8ad64ec0f9 fix: #10121, fix error messages in user creation 3 years ago
Barış Soner Uşaklı 69a7634a78 fix: #10115, fix chat autocomplete hook 3 years ago
Barış Soner Uşaklı b179f0fc0f fix: use component instead of class name 3 years ago
Julian Lam 2fe53cf849 feat: `GET /api/v3/chats/:roomId/messages` 3 years ago
Julian Lam aaa6f752d0 refactor: put message api calls behind `/messages` prefix, #10097 3 years ago
Julian Lam 16ba16cdc4 fix: deprecate chats.leave 3 years ago
Julian Lam fe17c94c35 feat: `DELETE /api/v3/chats/:roomId/users` and `DELETE /api/v3/chats/:roomId/users/:uid` 3 years ago
Julian Lam d62ee84637 feat: `POST /chats/:roomId/users` 3 years ago
Julian Lam 6eea6451d2 feat: `GET /chats/:roomId/users` [breaking] 3 years ago
Julian Lam d5fd098ecf feat: `POST /chats/:roomId/:mid` and `DELETE /chats/:roomId/:mid` 3 years ago
Julian Lam f48ed3658a feat: `PUT /chats/:roomId/:mid` 3 years ago
Julian Lam 9a4fd5dc7e feat: `PUT /api/v3/chats/:roomId` 3 years ago
Julian Lam eeffb9d978 feat: `POST /api/v3/chats/:roomId` 3 years ago
Barış Soner Uşaklı a115b771f0 fix: #10096, don't display preview for links if hostname doesnt match 3 years ago
Barış Soner Uşaklı a9f81215cf fix: only render preview on topic page 3 years ago
Nazim d23ac79839 Revert 3 years ago
Barış Soner Uşaklı fdaf8274cf fix: #10090, remove left over necro posts messages 3 years ago
Barış Soner Uşaklı c4042c70de feat: #9506, allow seeing and editing your queued posts
allow regular users access to post queue
allow regular users to edit their queued post/topic title
allow regular users to remove their post from post queue
ability to send a notification to user without removing from post queue
allow accessing single post queue items from notifications
3 years ago
Barış Soner Uşaklı 91e21ecc62 fix: utils method 3 years ago
Barış Soner Uşaklı 9f1b8a3b1e refactor: use hasOwnProperty 3 years ago
Barış Soner Uşaklı dbba0c396b refactor: remove object.create 3 years ago
Barış Soner Uşaklı 3d3ae82f5b refactor: remove unused args 3 years ago
Barış Soner Uşaklı 633061f4a7 refactor: remove comment 3 years ago
Barış Soner Uşaklı d4f3ee67fa refactor: use .map to return promises 3 years ago
Barış Soner Uşaklı 682f60890b lint: fix 3 years ago
Barış Soner Uşaklı 10e890e41f fix: targetBlank/dropdown not getting cleared
show caret if nav item is dropdown
3 years ago
Barış Soner Uşaklı 69c96078ea breaking: #10077, store nav items in objects 3 years ago
Barış Soner Uşaklı 6ad0472106 breaking: remove socket.emit('topics.post')
remove socket.emit('topics.search')
remove socket.emit('topics.getTopic')
3 years ago
Barış Soner Uşaklı bd1cb2d4f9 breaking: remove socket.emit('posts.delete')
remove socket.emit('posts.restore')
remove socket.emit('posts.purge')
remove socket.emit('posts.deletePosts')
remove socket.emit('posts.purgePosts')
3 years ago
Barış Soner Uşaklı 236d4e8056 fix: #10068, update data-index values after sort 3 years ago
Barış Soner Uşaklı 9af2335134 fix: #10068, baseIndex should be read before sort update fix off by one error 3 years ago
Barış Soner Uşaklı cc3f82bc83 breaking: remove socket.emit('admin.categories.setPrivilege') and socket.emit('admin.categories.getPrivilegeSettings') 3 years ago
Barış Soner Uşaklı 906dc5675e fix: handle start=0 stop=0 for topics.getTopicPosts
add more tests
3 years ago
Barış Soner Uşaklı 621c142f8e refactor: alerts 3 years ago
Barış Soner Uşaklı 0a6eeb933e lint: fix 3 years ago
Barış Soner Uşaklı cba78aee16 refactor: use alerts.error/success 3 years ago
Barış Soner Uşaklı 4f4236101b
fix: wrong usage of is ACP 3 years ago
Barış Soner Uşaklı dd02c49f43 refactor: use lang keys, fix typo 3 years ago
Barış Soner Uşaklı 1980feed46 refactor: use alerts module 3 years ago
Barış Soner Uşaklı 7b99dc46eb test: utils.params 3 years ago
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
3 years ago
Baris Usakli d378bf4c9c fix: quote button staying on screen on slow computers 3 years ago
Barış Soner Uşaklı 242f8e95ad fix: #10020, /api/post/upload returns v3 style response 3 years ago
Barış Soner Uşaklı fb363957d1 refactor: tab rules 3 years ago
Barış Soner Uşaklı d5bfd51267 fix: #10010, 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
3 years ago
Barış Soner Uşaklı e368feef51 refactor: dont expost entire res._locals to client side 3 years ago
Barış Soner Uşaklı 4359e5c97c refactor: remove tabs after declaration 3 years ago
Barış Soner Uşaklı 258f368e32 refactor: add filter:topic.getPosts
this hook only fires when loading the posts of a topic cold load + infinite scroll
do not remove posts if they have index =-1
use topics.getTopicPosts instead of getMainPostAndReplies
3 years ago
Barış Soner Uşaklı 231472354e perf: create user tooltips on demand 3 years ago
Barış Soner Uşaklı 7f8783555b Revert "perf: remove createUserTooltips"
This reverts commit facc10e40f.
3 years ago
Baris Usakli facc10e40f perf: remove createUserTooltips 3 years ago
Barış Soner Uşaklı 41c3eb8298 refactor: shorter require 3 years ago
Barış Soner Uşaklı 96f13e4f5d feat: #9992, hooks.one 3 years ago
Barış Soner Uşaklı 0428912c6d refactor: deprecate app.alert functions user alerts module directly 3 years ago
Barış Soner Uşaklı 8b4510cc70 refactor: deprecate app.logout
use logout module instead
move header related code out of app.js
3 years ago
Barış Soner Uşaklı 619034484f refactor: simpler rejoin
remove pointless app.cacheBuster = null
3 years ago
Barış Soner Uşaklı f352be63dc refactor: deprecate app.openChat/newChat
use chat.openChat/newChat instead
3 years ago
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
3 years ago
Barış Soner Uşaklı 666fe209f0 refactor: move session messages 3 years ago
Barış Soner Uşaklı 3d2398ac4c test: lint 3 years ago
Barış Soner Uşaklı 518552543d refactor: move warnings/messages out of app.js 3 years ago
Barış Soner Uşaklı 41e0240010 fix: dont show previews on mobile 3 years ago
Barış Soner Uşaklı c1cc35a949 refactor: display errors from category drag/drop 3 years ago
Barış Soner Uşaklı 054685265d fix: category load more btn visibility 3 years ago
Barış Soner Uşaklı 2e623dd271 feat: #9967, allow dropdowns in navigation 3 years ago
Barış Soner Uşaklı f728abda06 fix: remove tooltip on ajaxify 3 years ago
Barış Soner Uşaklı 8a88295d04 fix: don't highlight external nav items 3 years ago
Barış Soner Uşaklı 9fbb3b11ef perf: only load posts once 3 years ago
Barış Soner Uşaklı 5a0efd2d42 fix: don't use # for previews 3 years ago
Barış Soner Uşaklı 8c67031609 feat: show posts previews if enabled on mouse over 3 years ago
Barış Soner Uşaklı 89399c0ed5 fix: #9954, get next post timestamp
fixes topic events being inserted in after first page but at the wrong spot
3 years ago
Barış Soner Uşaklı a7f235dbac fix: topic events not rendered in infinitescroll 3 years ago
Barış Soner Uşaklı 74aa12c95b fix: hooks is sometimes undefined 3 years ago
Barış Soner Uşaklı e8c17feedb refactor: use utils.debounce 3 years ago
Barış Soner Uşaklı 50b2ebf844 fix: remove unused code 3 years ago
Barış Soner Uşaklı 3d1cf168f2 revert: lazy load 3 years ago
Barış Soner Uşaklı 015727855f fix: remove loading="lazy", fixes inf. scroll loaded images 3 years ago
Julian Lam 80ea12c1c1 feat: new ACP option `emailPrompt`
... which allows administrators to disable the client-side prompt to
encourage users to enter or confirm their email addresses
3 years ago
Julian Lam 5a328485dd Revert "fix: only show email confirmation warning toast on pages that it applies"
This reverts commit 1bd1cc74a4.
3 years ago
Barış Soner Uşaklı 64192731a0 refactor: use search api for topic search 3 years ago
Barış Soner Uşaklı 89f5e06bbf fix: don't repeat search if on same page 3 years ago
Barış Soner Uşaklı 19ee717444 refactor: slowdown quick search 3 years ago
Barış Soner Uşaklı f4cf482a87 feat: show popular searches 3 years ago
Barış Soner Uşaklı 8d316d1859 fix: #9934, fix translator test 3 years ago
Barış Soner Uşaklı 47df62e700 fix: clicking outside postContainer should close tooltip 3 years ago
Barış Soner Uşaklı f02fba29dc refactor: add callback to loadNotifications 3 years ago
Barış Soner Uşaklı fec7ebed04 fix: tooltip 3 years ago
Barış Soner Uşaklı 66fca4e066 feat: quote tooltip 3 years ago
gasoved b0a24d6dd5
refactor: var to const and let (#9885)
* refactor: var to const and let

* fix: missed global bootbox usage

* refactor: align with eslint expectations
3 years ago
gasoved 227456fb17
fix: no global bootbox (#9879)
* fix: require bootbox (easy ones)

* fix: require bootbox (ugly ones)

* fix(eslint): a lengthy line
3 years ago
Julian Lam 3e69bcdf1f fix: #9872 update app badge with notification count if applicable 3 years ago
Barış Soner Uşaklı 176ed9199b Merge branch 'master' of https://github.com/NodeBB/NodeBB 3 years ago
Barış Soner Uşaklı 4f9717fb08 fix: escape thumbs, allow robots meta tag 3 years ago
gasoved 56d05b4e86
feat: confirm before deleting all events (#9875) 3 years ago
Barış Soner Uşaklı 543d85212b refactor: remove unused colorpicker 3 years ago
Barış Soner Uşaklı 27e53b42f3 feat: use unread icon in mobile 3 years ago
Barış Soner Uşaklı 96f5312de9 fix: #9865, don't display register messages after login 3 years ago
Barış Soner Uşaklı a7668a7fb1 refactor: use utils.debounce
fixes socket message spam in chat resize
3 years ago
Barış Soner Uşaklı 4404e81991
fix: switch inf. scroll to xhr (#9854)
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
3 years ago
Julian Lam be43cd2597
Topic Linkbacks (#9825)
* 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
3 years ago
Barış Soner Uşaklı 0faa493745 fix: crossorigin not showing up on manifest link tag 3 years ago
Barış Soner Uşaklı 89af00d1d5 fix: #9827, fix reward duplication 3 years ago
Barış Soner Uşaklı 9f0e55ad3e fix: #9819, show same time info for ban 3 years ago
Barış Soner Uşaklı 7a2f0ae15b fix: show local time for ban 3 years ago
Barış Soner Uşaklı 75ebe78619 fix: escape moderation note before adding to dom 3 years ago
Julian Lam 66eaae44a6 feat: add client-side static hook to fire immediately before any topic action (hint: delete `action` to stop default behaviour) 3 years ago
Barış Soner Uşaklı 6a55c02702 fix: #9790, get baseIndex on update for infinitescroll 3 years ago
Barış Soner Uşaklı 2657804c1f fix: #9790, fix sorting of more than one page of pinned topics 3 years ago
gasoved 84ff1152f7
feat: headers for global privs #9717 (#9762)
* feat: headers for global privs #9717

* fix: don't spoil headers to adminPrivs

Co-authored-by: Julian Lam <julian@nodebb.org>
3 years ago
psychobunny bf0c02a71e feat: a slightly less ugly rewards panel 3 years ago
Julian Lam 0a41741b7e refactor: deprecate picture update socket call, new API routes for picture update 3 years ago
Julian Lam 46e5e17d0f fix: focus on save button on plugin activation 3 years ago
gasoved fc0e655eef refactor: consistent jquery element var naming 3 years ago
gasoved 760ea9df1e fix: determine indeterminate checkboxes 3 years ago
gasoved 1272da6539 refactor: var to const 3 years ago
Julian Lam ca9bae3a1c fix: move app.alert back into the conditionals 3 years ago
Julian Lam 1bd1cc74a4 fix: only show email confirmation warning toast on pages that it applies 3 years ago
psychobunny ae793b4a44 chore: found some hooks that don't play well docgen 3 years ago
gasoved 3df79683f5
feat: create folders in ACP uploads #9638 (#9750)
* feat: create folders in ACP uploads #9638

* fix: openapi

* test: missing tests

* fix: eslint

* fix: tests
3 years ago
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
3 years ago
Julian Lam 55693ec1b0 fix: lint 3 years ago
Julian Lam e803737a4b feat: add confirmation modal to topic event deletion 3 years ago
Julian Lam 1ee92c281d fix: topic event deletion 3 years ago
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
3 years ago
Barış Soner Uşaklı 60bf564321 fix: #9729, insert new posts after topic events 3 years ago
Barış Soner Uşaklı 77c3085a7b fix: #9727, addHandlers after hooks 3 years ago
Barış Soner Uşaklı 794bf01b21 feat: allow changing default search in 4 years ago
Julian Lam cf4b78dbd3 Revert "fix: taskbar icon not pushed via composer/persona"
This reverts commit 3a81c8fd42.
4 years ago
psychobunny d2492ef48e style: eslint 4 years ago
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
4 years ago