9009 Commits (b89648435156815981e967e79353da27b224f4aa)

Author SHA1 Message Date
Misty (Bot) e963715e94 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı dbb59228f2 feat: add action:posts.loaded 4 years ago
Barış Soner Uşaklı 536591f842 fix: #9447, include query params in previousUrl 4 years ago
psychobunny 1ad1787eaa fix: thumb count not updated when uploading multiple thumbs at a time 4 years ago
gasoved aa0137b1c4
feat: rescheduling (editing ST) (#9445) 4 years ago
Misty (Bot) 75a4d37e2e Latest translations and fallbacks 4 years ago
Misty (Bot) 4c66c7f9b2 Latest translations and fallbacks 4 years ago
psychobunny 01f63e5d58 fix: change email button stays disabled if user submitted an invalid email 4 years ago
psychobunny cfdef77b28 fix: use app.logout() to clear session after deleting user
I think this was originally changed when we added logging in/out without refreshing, but didn't change this back after reverting that feature
4 years ago
Misty (Bot) a72cc99012 Latest translations and fallbacks 4 years ago
Misty (Bot) 40ed7a3b1e Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 344575dde1
feat: add hooks to language loading (#9426)
and flushNamespace method
4 years ago
Barış Soner Uşaklı b06f0ea20e feat: doggy.gif 4 years ago
gasoved a3e95e798f feat: allow adding sorted-list items from forms outside of modal 4 years ago
Misty (Bot) 60e3131c81 Latest translations and fallbacks 4 years ago
gasoved 077330b764
feat: scheduled topics (#9399)
* feat: scheduled topics

* refactor: linting fixes

* fix: tests

* fix(test): race condition

* fix: make a single request
4 years ago
Misty (Bot) 66e986960d Latest translations and fallbacks 4 years ago
Julian Lam d9e2029074 fix: hooks for alert animate, no more fadein/fadeout for reconnect alert 4 years ago
Misty (Bot) 831ecc6af0 Latest translations and fallbacks 4 years ago
Misty (Bot) 280e163690 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı e42b152f16 fix: #9414, use posts:view_deleted 4 years ago
Misty (Bot) ab38f745a0 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 3c4e93a3c1 fix: #9411 4 years ago
Barış Soner Uşaklı cef58d1d6f fix: #9412 4 years ago
Barış Soner Uşaklı 93c595d95e fix: #9406, update flag post tools 4 years ago
Misty (Bot) 026ceaf3ec Latest translations and fallbacks 4 years ago
Misty (Bot) d56bca65aa Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı ee69c1f80e fix: selector 4 years ago
Misty (Bot) 17693dd5ca Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı dd12c83fa0 feat: make info page full width 4 years ago
Barış Soner Uşaklı 262e059fa6 fix: inf scroll with subfolder install 4 years ago
Barış Soner Uşaklı 2041b8084f fix: flicker on dashboard 4 years ago
Julian Lam d1685600d3 refactor: deprecate action:script.load, use filter:script.load instead 4 years ago
Misty (Bot) 6a354db491 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 03e306349c fix: #9387, don't try to load undefined images 4 years ago
Barış Soner Uşaklı 482641e30e fix: #9386, add missing translation string 4 years ago
Misty (Bot) 754965b572 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 1e1127bd20 fix: spec 4 years ago
Barış Soner Uşaklı e539ff4f95 Merge branch 'master' of https://github.com/NodeBB/NodeBB 4 years ago
Barış Soner Uşaklı 617f4730a0 fix: crash if unreadTopics is undefined 4 years ago
Misty (Bot) df0518f934 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı f45c0aab51 fix: dont crash if login el doesnt exist 4 years ago
Barış Soner Uşaklı 52082e1296 feat: add resolve flag to post tools 4 years ago
Julian Lam 2a939aad8d fix: regression via c1b3079d93
Also refactored privilege render logic so that it no longer needs a server-side hack to render column count
4 years ago
Julian Lam 4cbd13fd9c feat: hide revert button in ACP > Privileges until privileges change 4 years ago
Julian Lam 8472513093 fix: change notification updateCount to use client-side hooks 4 years ago
Misty (Bot) 6b4cd7557c Latest translations and fallbacks 4 years ago
Misty (Bot) 5ec22c6845 Latest translations and fallbacks 4 years ago
Julian Lam 98bf4064e7 refactor: account edit logic and template, closes #9364 4 years ago
Misty (Bot) 62bf211894 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı a9b33ed39f
Delete favicon.ico 4 years ago
psychobunny 771a8955a4 fix: #9362 best not to check file exists on every page load; copying favicon to uploads/system folder instead 4 years ago
Barış Soner Uşaklı 2085a7d163 Merge branch 'master' of https://github.com/NodeBB/NodeBB 4 years ago
Barış Soner Uşaklı 17184bface feat: add missing translation keys 4 years ago
Misty (Bot) 4a9b3af278 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı e787e6ea22 fix: if no in passed use "titles" to match header search 4 years ago
Barış Soner Uşaklı 696c489524 feat: add back topic id input 4 years ago
Misty (Bot) 4c73c26dd8 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 8a4c361ece fix: #9354, don't close quicksearch results if mouse is down on them 4 years ago
Misty (Bot) 2826e29494 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 3aa26c4df2 fix: #9339, only log email errors once per digest, notification push
show notice in acp
4 years ago
Julian Lam c5e257888a fix: #9351 bad logic when inserting rows to privilege tables, also a missing tfoot 🦶 4 years ago
Julian Lam c265016944 fix: app.parseAndTranslate to always return promise 4 years ago
Misty (Bot) 67bb63bd09 Latest translations and fallbacks 4 years ago
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
4 years ago
Julian Lam e755067387 docs: fixed typo 4 years ago
Barış Soner Uşaklı 48bc23c065 refactor: remove startsWith/endsWith 4 years ago
Julian Lam b5a6a3149d refactor: app.parseAndTranslate to return promise if no callback passed 4 years ago
Julian Lam c1b3079d93 feat: category privilege API routes
closes #9342
4 years ago
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
4 years ago
Misty (Bot) b2c1b4ac45 Latest translations and fallbacks 4 years ago
Julian Lam 7d391d4789 feat: new client-side hook `filter:api.options` to allow plugins to modify api requests 4 years ago
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>
4 years ago
Misty (Bot) 21377cfa2b Latest translations and fallbacks 4 years ago
Misty (Bot) 35a3cc3461 Latest translations and fallbacks 4 years ago
Julian Lam 2b7d0b5a47 fix: user icon text overflow in some cases 4 years ago
Julian Lam 114e3a1e76 fix: use components for toggleNavbar instead 4 years ago
Misty (Bot) 21634e2681 Latest translations and fallbacks 4 years ago
Julian Lam 73dc64d9ff feat: add dashboard sub-pages to ACP menu 4 years ago
Julian Lam 655e2c67ad fix: timeago missing on table update 4 years ago
Julian Lam 0804d54759 spec: schema docs for new ACP dashboard subpage routes 4 years ago
Julian Lam 2f89b0d791 feat: recent logins sessions table in dashbaord subpage 4 years ago
Julian Lam e1ed514b10 feat: topics dashboard details subpage 4 years ago
Julian Lam c57c77030e feat: update user list in dashboard/users on graph update 4 years ago
Julian Lam 3fa2e3cef2 refactor: have Graph.init and Graph.update return promises 4 years ago
Julian Lam f8e1a74c26 fix: wrong qs param, allow string to be passed to util.getDaysArray 4 years ago
Julian Lam 6fdcae7320 feat: req.query parsing and dynamically loading data instead 4 years ago
Julian Lam f561799f74 refactor: abstract out some client side dashboard code into modules, analytics subpages for users, topics, and logins 4 years ago
Misty (Bot) aed8b123bc Latest translations and fallbacks 4 years ago
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.
4 years ago
Barış Soner Uşaklı de6d156533 Merge branch 'master' of https://github.com/NodeBB/NodeBB 4 years ago
Barış Soner Uşaklı 7ae7626c1b Revert "feat: add logout to invalid session"
This reverts commit beb1427387.
4 years ago
Misty (Bot) 49c369528d Latest translations and fallbacks 4 years ago
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
4 years ago
Julian Lam 9a9f366d3b feat: track login sessions for admin dashboard reporting 4 years ago
Misty (Bot) 0bc74e7056 Latest translations and fallbacks 4 years ago
Julian Lam beaac0a1ab fix: allow hidden inputs in user settings page 4 years ago
Misty (Bot) cf1939e16d Latest translations and fallbacks 4 years ago
Julian Lam c96fd3b19b feat: pass user picture object into change_picture_modal 4 years ago
Julian Lam 28f6931e16 refactor: move picture change client-side logic to its own rjs module 4 years ago
Barış Soner Uşaklı beb1427387 feat: add logout to invalid session 4 years ago
Julian Lam d3a9e76ae2 test(user): added additional tests for icon background colour 4 years ago
Julian Lam 955021247e feat(user): icon background selector in change picture modal 4 years ago
Julian Lam b4c0b32b26 fix: use root context if buildAvatar context is undefined 4 years ago
Misty (Bot) e23bf9f94d Latest translations and fallbacks 4 years ago
Misty (Bot) f9fc884867 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı fa91525a6d fix: use bootbox module 4 years ago
Barış Soner Uşaklı 0e07f3c9ba feat: allow defining a list of system tags 4 years ago
Misty (Bot) ce3f581434 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 9ce6f8ad93 feat: add tag filter to getSortedTopics 4 years ago
Julian Lam 4c078084dc test: fix spec for topic thumbs 4 years ago
Julian Lam 1d9ade4c36 test: added missing properties to topicObject 4 years ago
Julian Lam b31f6dd24a test: added missing test file 4 years ago
Julian Lam ad54b174a4 test: topic reordering tests 4 years ago
Julian Lam 7223074f1d feat: ability to re-order topic thumbnails 4 years ago
Julian Lam db027170a8 feat: add close button to topic thumbnail modal 4 years ago
Misty (Bot) 2821b917d0 Latest translations and fallbacks 4 years ago
Misty (Bot) 59885a9e2e Latest translations and fallbacks 4 years ago
Misty (Bot) b5b92768e2 Latest translations and fallbacks 4 years ago
Misty (Bot) 3ad25e8ff6 Latest translations and fallbacks 4 years ago
Julian Lam 36e8d251c8 fix: use of removed URL to get post data 4 years ago
Julian Lam 8fd78ce512 feat: post-queue topic event 4 years ago
Misty (Bot) 48a3c4bd2e Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 3595473485 feat: load user posts/topics via xhr on infinitescroll 4 years ago
Misty (Bot) 3a61ac2119 Latest translations and fallbacks 4 years ago
Misty (Bot) 949f043a96 Latest translations and fallbacks 4 years ago
Misty (Bot) 0092df2c02 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 670cde78da feat: add invalid event name to error message 4 years ago
Peter Jaszkowiak cc9d6fd08b chore: eslint max-len 4 years ago
Peter Jaszkowiak 62869bae3d chore: eslint function-paren-newline 4 years ago
Peter Jaszkowiak 9f6a682ca9 chore: eslint no-script-url 4 years ago
Peter Jaszkowiak dad01e3051 chore: eslint no-bitwise 4 years ago
Peter Jaszkowiak 58528d1a3e chore: eslint rules matching existing styles 4 years ago
Julian Lam 16610b2dca fix: pass jquery object in to action:notifications.loaded hook 4 years ago
Julian Lam 7edc8f458d feat: new notifications load/loaded hooks on client side
refactored `toggleTimeagoShorthand` code to be inside of a hook listener
4 years ago
Barış Soner Uşaklı 0cca6893f3 fix: #9275, 4 years ago
Barış Soner Uşaklı cfa0d42390 fix: don't use global bootbox obj 4 years ago
Barış Soner Uşaklı 550cd995e8 fix: remove console.log 4 years ago
Barış Soner Uşaklı fca17cb713 fix: move service worker back to relative_path/service-worker.js 4 years ago
Barış Soner Uşaklı ab0ef44289 fix: spec 4 years ago
Barış Soner Uşaklı a4878a5b22 fix: markread selector 4 years ago
Misty (Bot) 429cff93ee Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 3090a2aee4 fix: position when scrolling up
if sorting is newest to oldest scrollTop wont be changed if you are at the top of the page
4 years ago
Barış Soner Uşaklı 47299ea587
Categories refactor (#9257)
* feat: wip categories pagination

* feat: add subCategoriesPerPage setting

* feat: add load more sub categories button to category page

* fix: openapi spec

* feat: show sub categories left on category page

hide button when no more categories left

* breaking: rename categories to allCategories on /search

categories contains the search results

* fix: spec

* refactor: remove cidsPerPage

* fix: tests

* feat: use component for subcategories

* fix: prevent negative subCategoriesLeft

* feat: new category filter/search WIP

* feat: remove categories from /tag

* fix: dont load all categories when showing move modal

* feat: allow adding custom categories to list

* breaking: dont load entire category tree on post queue

removed unused code
add hooks to filter/selector
add options to filter/selector

* feat: make selector modal work again

* feat: replace old search module

* fix: topic move selector

* feat: dont load all categories on create category modal

* fix: fix more categorySelectors

* feat: dont load entire category tree on group details page

* feat: dont load all categories on home page and user settings page

* feat: add pagination to /user/:userslug/categories

* fix: update schemas

* fix: more tests

* fix: test

* feat: flags page, dont return entire category tree

* fix: flag test

* feat: categories manage page

dont load all categories
allow changing root category
clear caches properly

* fix: spec

* feat: admins&mods page

dont load all categories

* fix: spec

* fix: dont load all children when opening dropdown

* fix: on search results dont return all children

* refactor: pass all options, rename options.cids to options.selectedCids

* fix: #9266

* fix: index 0

* fix: spec

* feat: #9265, add setObjectBulk

* refactor: shoter updateOrder

* feat: selectors on categories/category

* fix: tests and search filter

* fix: category update test

* feat: pagination on acp categories page

show order in set order modal

* fix: allow drag&drop on pages > 1 in /admin/manage/categories

* fix: teasers for deep nested categories

fix sub category display on /category page

* fix: spec

* refactor: use eslint-disable-next-line

* refactor: shorter
4 years ago
Misty (Bot) 73c9c1c25a Latest translations and fallbacks 4 years ago
Julian Lam 67e3fb6498 fix: register returnTo logic to match login route
Login route saves the previous page by checking for the X-Return-To header. This header is automatically set by ajaxify.
Login takes this value and saves it to `req.session`.

Up until now, `/register` saved the previous URL in a hidden input, and redirected based on that value, but it occasionally conflicted with req.session.returnTo. It was also confusing because it did not match how login handled the values.

This commit updates the route handling so it works identically to `/login`.
4 years ago
Misty (Bot) 9576bec6c3 Latest translations and fallbacks 4 years ago
Misty (Bot) 4939837d5b Latest translations and fallbacks 4 years ago
Julian Lam 74be1a5963 chore: fallbacks 4 years ago
Julian Lam 68da1c558f fix: update grammar on unban text 4 years ago