8416 Commits (82bfa752b9f5d2242dcf5c7f8d03fc98b9cda3d7)

Author SHA1 Message Date
Peter Jaszkowiak 94eb74646c `admin/manage/categories` translations
- Fix privilege table headers so bottom borders align
- Fix `/admin` route to show Dashboard title correctly
- Translate ACP category management and privileges templates
- Translate ACP category management JS
- Remove unnecessary translates in JS
- Fix bootbox wrapper to work with translations containing html
9 years ago
Peter Jaszkowiak 862908d0eb ACP search and title improvements
- Search uses translated titles if available
- Use `advanced` for `development` route titles
- Remove route title from showing up in results
- Highlight matching part of result title
- Don't show empty result contents when only title is matched
9 years ago
Peter Jaszkowiak 3008794797 `admin/general` JS translations and misc 9 years ago
Peter Jaszkowiak 95bef8f3f6 `admin/extend` JS translations and misc 9 years ago
Peter Jaszkowiak 38eba81933 ACP menu and title translations 9 years ago
Peter Jaszkowiak 0b4c39338e Translation bootbox wrapper
- Replaced minfied bootbox file with unminified one since it's minified at build anyways
- Removed existing override
- Made translator more verbose in dev mode; it now warns about missing translations
9 years ago
Peter Jaszkowiak 20db4657b2 `admin/general` translations 9 years ago
Peter Jaszkowiak 3cd6a8a94b `admin/extend` translations 9 years ago
Peter Jaszkowiak 50aed01c57 `admin/development` translations 9 years ago
Peter Jaszkowiak 6c1b852d48 `admin/appearance` translations 9 years ago
Peter Jaszkowiak 8931702136 `admin/advanced` translations 9 years ago
barisusakli 9ace5c6e17 moved next() of out try/catch 9 years ago
barisusakli 1fed01fe43 ability to filter search by tags 9 years ago
Julian Lam 76bcc1c327 Merge branch 'flagging-refactor' into develop 9 years ago
Julian Lam 283ae564f2 removing incorrect parseInt 9 years ago
Julian Lam babafde726 once more for good measure! 9 years ago
Julian Lam 2ea63f3d42 how much fun is it to fix tests when stack traces don't work? lots. :shipit: 9 years ago
Julian Lam ad633aad45 additional tests and proper handling for purged flag targets, #5232 9 years ago
Barış Soner Uşaklı 4ff3d06f90 escape labelColor, icon, cover:position, validate toPid 9 years ago
barisusakli 6a0cbadb3e closes #5290 9 years ago
barisusakli 009da723c5 meta.configs tests 9 years ago
barisusakli 975141bc9b more tag tests 9 years ago
barisusakli 835669805a tag tests 9 years ago
barisusakli 3bd1c6c2b5 notification tests 9 years ago
barisusakli 55b68197aa closes #4544 9 years ago
barisusakli 9d75c48236 closes #4563 closes #4569 closes #4566 9 years ago
Julian Lam 0927d54c98 ability to filter flags by cid, #5232, more tests 9 years ago
Julian Lam ebffc44600 fix tests, #5232 9 years ago
Julian Lam 5e109bb4a8 Merge remote-tracking branch 'origin/master' into flagging-refactor 9 years ago
barisusakli e17b37edb6 closes #5287 9 years ago
Julian Lam e6768ab572 some more fixes to flags, simplifying qs manipulation in flags search
re: #5232
9 years ago
Julian Lam e028ac1363 passing in arguments to npm instead of command string, closes #5286 9 years ago
xucheng 40d73e2a54 fix ajax 404 err when base url isn't root (#5285) 9 years ago
barisusakli 9e52d5ec04 new hook, action:user.delete 9 years ago
Julian Lam 831c2064a0 For #5232, added tests and returning flag data on socket flag creation 9 years ago
Julian Lam 451c2838d0 Merge remote-tracking branch 'origin/master' into flagging-refactor 9 years ago
Julian Lam 0196997099 fixing issues as found by @barisusakli
re: #5232 and #5282
9 years ago
barisusakli fba28791f5 missing ; 9 years ago
barisusakli c32e6aaabb use build module instead of forking 9 years ago
barisusakli 53fe432d8a fix hook 9 years ago
barisusakli 97c0b33cf6 filter:middleware.render 9 years ago
barisusakli e86708cb0c add cid to widgets.render
init date pickers in widgets ACP
9 years ago
barisusakli 82d3b24cd3 Merge branch 'master' of https://github.com/NodeBB/NodeBB 9 years ago
barisusakli 35a15f37ec closes #5276 9 years ago
Barış Soner Uşaklı 1f52048866 Merge pull request #5252 from Fusselwurm/patch-2
ZSET scores are float: parseInt => parseFloat
9 years ago
Anil Mandepudi aea08d58b1 Fix tabs 9 years ago
pichalite 0a4e45c0da Check password length on setup 9 years ago
Julian Lam e227f5842a Merge remote-tracking branch 'origin/master' into flagging-refactor 9 years ago
Moritz Schmidt c8393d6f87 mongo: set scores as float instead of int 9 years ago
barisusakli 1c6cee207f meta/settings test 9 years ago
barisusakli 9627e53922 change group membership methods 9 years ago
Julian Lam dc508fa0cb Merge remote-tracking branch 'origin/master' into flagging-refactor 9 years ago
Julian Lam 4753042306 lowered analytics disk writes to every ten seconds, because why every 10 minutes? :shipit: 9 years ago
Julian Lam 9ada35cfb9 allowing Analytics.increment to have a callback 9 years ago
Julian Lam ebc9abd773 upgrade script and graphs for #5232 9 years ago
barisusakli 0b9829850c closes #5273 9 years ago
Barış Soner Uşaklı e0501656b6 parallel startup 9 years ago
Barış Soner Uşaklı bca6151892 fix lint 9 years ago
Barış Soner Uşaklı 8c8e2ae190 closes #5271 9 years ago
Julian Lam 5d63c0aa3b Merge remote-tracking branch 'origin/master' into flagging-refactor 9 years ago
Julian Lam acf2e4078b fixes #5263 9 years ago
Julian Lam 31996f9377 added page titles 9 years ago
Julian Lam 6533fa066d removed unneeded fixes #5232 9 years ago
Julian Lam e40eb75f8f change history saving to append an object not a serialised array, #5232 9 years ago
Julian Lam a5fb4825b4 deprecating old hook for #5232 9 years ago
Julian Lam 5dd892bd01 a bunch of changes here... allowing user profiles to be flagged, #5232 9 years ago
barisusakli 78b7d5896c convert topic title to string 9 years ago
barisusakli 74b9f1a016 closes #5262 9 years ago
psychobunny 6b7b51eaf0 Merge pull request #5170 from pitaj/master
ACP search updated to support translations
9 years ago
Julian Lam 9f9051026b more work on #5232 9 years ago
Peter Jaszkowiak f1cfed50a1 Translate skins and themes fully 9 years ago
Peter Jaszkowiak 9fd64549a3 Use async instead of Promises 9 years ago
Julian Lam cd3002e812 removed user flag reset method and associated socket call from ACP 9 years ago
Julian Lam 88958049eb added some more filters, and appending event to history on flag creation
issue #5232
9 years ago
Julian Lam 8e1d441e20 Added some quick filters, #5232 9 years ago
Julian Lam b7217e8841 Merge remote-tracking branch 'origin/master' into flagging-refactor 9 years ago
Julian Lam ad732935fb closes #5254 9 years ago
barisusakli cbd6853ccb notif controller test 9 years ago
barisusakli 7d47f4b067 tag tests 9 years ago
Moritz Schmidt e8e33a8a23 ZSET scores are float: parseInt => parseFloat
In Redis, scores of sorted sets can be floats – so we should use `parseFloat` instead of `parseInt` when converting from string to number.
Should not lead to #4939 again, as `new Date()` works regardless of whether it's being passed a float or integer.
9 years ago
Julian Lam 753d4b0275 wrapped up basic functionality of list and detail for flags, filter support. #5232 9 years ago
Julian Lam 9129597811 #5232 some tweaks to flag history saving 9 years ago
Julian Lam 169defd194 #5232, update flag history to save new value 9 years ago
Julian Lam 0724bee6c6 removed deprecated dismiss methods 9 years ago
Julian Lam 20fa8ebf76 simplified flags.get a tad 9 years ago
Julian Lam dde3d2b135 Merge remote-tracking branch 'origin/master' into flagging-refactor 9 years ago
Julian Lam 33ff5e09bb updated revoke session middleware to allow self or admin or global mod invocation, tweaked tests a bit 9 years ago
Julian Lam 23cdeeb344 linting :shipit: 9 years ago
Julian Lam a1b49a98e7 locking down session deletion route to admins and global mods only 9 years ago
barisusakli 69b766bbc8 more tests 9 years ago
barisusakli 1440139903 more tests 9 years ago
barisusakli 091f459f5e search socket test 9 years ago
barisusakli 4b6e4f085d more tests
group cover upload tests
registration approval queue tests
9 years ago
Julian Lam c36fe3389e Merge remote-tracking branch 'origin/master' into flagging-refactor 9 years ago
Julian Lam f1d144f15e history appending, finished up notes, #5232 9 years ago
psychobunny bcb3903446 priv table headers 9 years ago
Peter Jaszkowiak 5223bb5191 Merge branch 'master' of github.com:nodebb/nodebb 9 years ago
Julian Lam d9d60c20bd flag updating and note appending, #5232 9 years ago
Julian Lam 709a7ff7f0 fixed issue with getUsersData not actually returning the same number of elements as was passed-in 9 years ago
barisusakli fb42b83e1b remove hardcoded value @pichalite 9 years ago
barisusakli 7f90e31a38 more socket user tests 9 years ago
barisusakli c3980d0c2e follow tests 9 years ago
barisusakli 5cf8006640 fix style 9 years ago
Julian Lam 888c120e08 removed some unneeded methods for #5232 9 years ago
Julian Lam c5b9c1e2a4 Merge remote-tracking branch 'origin/master' into flagging-refactor 9 years ago
Julian Lam e9ff605a20 some more tests for #5232 9 years ago
barisusakli 9ba93d8be9 group search tests 9 years ago
barisusakli ea007e2da4 closes #5245 9 years ago
barisusakli d6c2779ed0 remove placeholder #5242 9 years ago
Julian Lam c5c2d27180 flag assignees, state, notes WIP, #5232 9 years ago
barisusakli 02aadf79b5 account/posts controller tests 9 years ago
barisusakli 4cb48c46ab closes #5242 9 years ago
Julian Lam fceb5cc86b more work on flags detail pages (#5232) 9 years ago
Julian Lam 0bf82c0e47 Merge branch 'master' into flagging-refactor 9 years ago
barisusakli f8caed95db don't crash if plugin doesnt set defaultLang 9 years ago
barisusakli afef79a81e closes #5241 9 years ago
Peter Jaszkowiak 77e58f31c5 Fixes, passes tests 9 years ago
Peter Jaszkowiak fd4d53e42c Remove unnecesary admin search indexing 9 years ago
Peter Jaszkowiak de6ced4e07 Tests for admin search, simplifications 9 years ago
Peter Jaszkowiak e3dd68e19c Explanations and simplifications 9 years ago
Peter Jaszkowiak a431dc0305 ACP search updated to support translations 9 years ago
barisusakli 49267d54b7 topics unread tests 9 years ago
barisusakli 444da3c9ec closes #5238 9 years ago
barisusakli 57c8e3e61c fix update privacy 9 years ago
barisusakli dff4ee767c more group tests 9 years ago
barisusakli d8a1e98a43 fix permalinks on pagination 9 years ago
Julian Lam 9f7c4befea omg tests (#5232), and .create returns flag data now 9 years ago
Julian Lam 98a104564b some light refactoring, details API (#5232) 9 years ago
Julian Lam 640df0379e flag list page (#5232) 9 years ago
Julian Lam 106502952a fixed crash in flags page for now 9 years ago
Julian Lam 1aa70c57eb WIP 9 years ago
barisusakli aa69481a0c dont mark chat notifications read if you are not in the room 9 years ago
barisusakli c33d3e874a store pinned topics in new zset
keep pinned topics on top on different sort types
9 years ago
barisusakli d4638ffc15 fix test dont turn single pages into ... 9 years ago
Barış Soner Uşaklı dde32744b7 change pagination so its similar to GH 9 years ago
barisusakli 1c3d9f7e94 switch to createIndex 9 years ago
barisusakli b807915515 removed incorrect markread nid 9 years ago
barisusakli 4b815449f1 closes #5234 9 years ago
barisusakli d3fff28de5 use base_dir 9 years ago
barisusakli 31168c669b closes #5231 9 years ago
barisusakli 6beacdb80c fix headers for new installs
encodeURI(undefined) === "undefined"
9 years ago
barisusakli 12d46ca441 remove async.series 9 years ago
Julian Lam ffbebc646a linting 9 years ago
Julian Lam b7fa8c1db1 fixes #5230 9 years ago
Peter Jaszkowiak c5237443cd Standard language codes (#5218)
* Use standard language codes. Fallback for plugins.

* Fix transifex config

* Tab vs space here for some reason

* Remove redundancies

* config.relative_path instead of allcaps

* added upgrade script for existing users' accounts
9 years ago
Julian Lam cafbdfd83e fixes #5226 9 years ago
barisusakli 4ff71f6b0b allow two sections 9 years ago
barisusakli 5d6e2ad083 multiple test fixes 9 years ago
barisusakli 17f8afd0dc closes #5230 9 years ago
barisusakli f754c8b7df digest test 9 years ago
barisusakli d2fa0c3e6a vote socket tests 9 years ago
barisusakli 1658ebbe20 categories update test 9 years ago
barisusakli f7b77c5341 removed file.exists from getFromFile 9 years ago
barisusakli 259d49e392 all procs should load the js from file 9 years ago
barisusakli cecb4c0403 some more group tests 9 years ago
barisusakli 584cfd09ef suggested topics test 9 years ago
barisusakli 069a90e792 move maintenance mode 9 years ago
barisusakli 38bc8ad5ae maintenance tests 9 years ago
Julian Lam 5916530a35 fix topic creation regression caused by 576df84218 9 years ago
Julian Lam f0936fcafb fixes #5225 9 years ago
barisusakli dcb6773782 #5223 9 years ago
Julian Lam 576df84218 trimming composer input before doing length check in replies 9 years ago
barisusakli b49af0a135 #5223
adjust pagination so each page shows `postsPerPage` posts
9 years ago
barisusakli db14c29e41 socket.io/categories tests 9 years ago
barisusakli 6acc79ec07 convert title to string 9 years ago
barisusakli 2c77a88ba4 closes #5220 9 years ago
barisusakli 51b41a9b44 fix eslint 9 years ago
barisusakli 5d4903f643 fix test 9 years ago
Julian Lam 6acbd3ea21 optimising build step for #5211 9 years ago
barisusakli ef87a2b7d7 closes #5219 9 years ago
Julian Lam 0e8bf17ff0 re: #5211, bringing back the RELOAD BUTTON :rage2: 9 years ago
barisusakli a3efe42938 fix test 9 years ago
barisusakli dada858565 add canReply to messages 9 years ago
barisusakli 83c50f0648 add back emitter 9 years ago
barisusakli 9796f54580 analytics tests, reduce bcrypt rouds for tests 9 years ago
barisusakli e3616ab0f9 socket/meta test 9 years ago
barisusakli 853cea7fec removed emitter.js 9 years ago
barisusakli 5e7fb4eeb2 widget tests 9 years ago
barisusakli 50a2a7abbe plugins/install tests 9 years ago
barisusakli f1a933210b notifications.pushGroups 9 years ago
Barış Soner Uşaklı 42aa4fb67b Merge pull request #5212 from stuwil/fix-relative-path-login-redirect
Replace only base URL in login return URL, fixes #5205
9 years ago
Julian Lam 9bab0b53b0 re: #5211, broke out meta.css.minify to accept targets, made build output marginally nicer looking 9 years ago
Julian Lam 232b387652 set up plugins in build step as well 9 years ago
Julian Lam b1f23c8c4b read req.uid instead of req.user.uid in admin groups list 9 years ago
barisusakli 71c7ef9109 fix test 9 years ago
barisusakli 4f0e93732a #5211
remove passing js/css between procs
9 years ago
Julian Lam 299fcb99f1 more progress on #5211 9 years ago
Stuart Williams f92758c764 Replace only base URL in login redirect URL, fixes #5205 9 years ago
barisusakli f2e4d9ce53 change flag tests so they use socket methods as well 9 years ago
Stuart Williams a20027d8f5 Add missing relative path to Admin tags and widgets links 9 years ago
barisusakli 3380f61985 more tests 9 years ago
barisusakli 2476ab3684 closes #5202 9 years ago
Julian Lam 2f2eb1457d auto-redirect to SSO flow should work in subfolders too 9 years ago
Julian Lam ede7a71db7 Fixes #5186
On socket.io connection, all clients join a room pertaining to
their express session id. We use this room to keep track of any
sessions in different browser windows (but the same cookie jar),
so if a login/logout occurs, we can throw a session mismatch
modal.

This room can also be used to emit messages across windows/tabs...
9 years ago
Julian Lam 7d523fae0f closes #5200 9 years ago
barisusakli ee75c69817 post edit tests 9 years ago
barisusakli 1a9dd2311c closes #5175 9 years ago
Ben Lubar e151916f1a
Fix followed topic notifications going to the last unread post
Regression introduced in 1b34ebe230.

Bug originally reported in #4469.
9 years ago
Julian Lam e6c9c89342 closes #5197 9 years ago
barisusakli 1e543dd394 fix profile views on redis 9 years ago
barisusakli 8294fc90e3 closes #5084 9 years ago
barisusakli ce9be7e694 closes #5132 9 years ago
barisusakli 1b34ebe230 closes #5133 9 years ago
barisusakli c1d28af2a7 filter posts that you cant read 9 years ago
Barış Soner Uşaklı 43bcd453dd Merge pull request #5192 from BenLubar/replies-permissions
Check whether the user can read the replies
9 years ago
pichalite 9bcb5710c1 UI fixes for ACP -> Manage -> Registration Queue 9 years ago
pichalite 0087a672ba UI fixes for ACP -> Manage -> Users 9 years ago
Barış Soner Uşaklı b38a10f96a add pagination to user profile 9 years ago
Ben Lubar 5937fefa39
Check whether the user can read the replies and allow filtering the reply count in plugins 9 years ago
barisusakli ecef0c6ad5 more user tests 9 years ago
barisusakli d23966c534 more tests 9 years ago
barisusakli 3ec760ac85 inf scroll tests for topics 9 years ago
barisusakli ce7513c347 allow cookieDomain from config.json 9 years ago
barisusakli f30b694545 gitInfo error doesnt block page 9 years ago
barisusakli 01e7b864b8 change batch.js style 9 years ago
barisusakli 5cfe379841 fix recent for inf scroll 9 years ago
barisusakli 556dfa51d9 fix pagination querystring on /recent 9 years ago
barisusakli f8ae7b069c cid filter 9 years ago
barisusakli 58fff8b0af up persona fix test 9 years ago
barisusakli fb47bf3889 unread/recent changes closes #4774 9 years ago
Anil Mandepudi 6b23dd574e Use postcss-clean to minify css instead of less (#5179)
* use postcss-clean to minify css instead of less

* alphabetical order

* white space

* white space

* Update css.js
9 years ago
Ben Lubar 2185d8eb99 Ban UI fixes (#5169)
- Permanent bans assigned by global moderators no longer expire immediately
  (does not apply retroactively)
- Bans with no reason given no longer have "undefined" as their reason
  (applies retroactively)
- 0 is now a selectable value for "ban duration, select 0 for permanent"
9 years ago
Anil Mandepudi f7b64d655a Fix issue where CSS files imported along with less files are not getting minified (#5178) 9 years ago
Barış Soner Uşaklı af3b6e2759 Merge pull request #5176 from pitaj/is-main
isMain on topic.create for filter:post.create
9 years ago
Julian Lam 7993f6a4d8 fix duplicate labels in cookies ACP template 9 years ago
Peter Jaszkowiak 91a28e98b7 isMain on topic.create for filter:post.create 9 years ago
barisusakli eca850c4b1 nested reply improvements
on new post increase count and add nested reply if replies are expanded
on post purge reduce count and remove nested reply
9 years ago
barisusakli 96d05b58d4 show deleted replies like regular deleted posts 9 years ago
Julian Lam 66aea0eed1 closes #5167 9 years ago
barisusakli a4dfe608e9 ban tests, user/info test 9 years ago
barisusakli 218a1b7aab closes #5015 9 years ago
Julian Lam 663f05b972 adding back banReason to header rendering, as it regressed in 1f10e0b 9 years ago
barisusakli 7a8de6169b admin controller tests 9 years ago
barisusakli ff08cbf677 replies to posts 9 years ago
Barış Soner Uşaklı 0c08e44a34 Merge pull request #5050 from BenLubar/replies-to-post
Add a sorted set for replies-to-this-post
9 years ago
Julian Lam 1f10e0b287 fixed #5166 9 years ago
Barış Soner Uşaklı 4668acaf36 Merge pull request #5160 from BenLubar/plugin-registration-approval-queue
Allow plugins to affect whether a registration goes into the queue
9 years ago
Barış Soner Uşaklı 2214a4d156 Merge pull request #5164 from yariplus/cflags
flag tests
9 years ago
yariplus 179b66d74a flag tests 9 years ago
Ben Lubar d4774e98b4
remove unused functions added in this pull request 9 years ago
Ben Lubar ea10f51f2e
UI for replies-to-post (needs theme update) 9 years ago
Ben Lubar a654a2a5fe
Work around MongoDB bug (see https://github.com/NodeBB/NodeBB/pull/5050#issuecomment-256766439) 9 years ago
Ben Lubar 69ee813d3e
fix typoed variable name 9 years ago
Julian Lam f97f45a138 logic to show a modal to banned users when they try to log in via SSO 9 years ago
Ben Lubar 123c66e3ec Cache the number of replies in the post object. See #5050.
https://github.com/NodeBB/NodeBB/pull/5050#pullrequestreview-4248269
9 years ago
Ben Lubar 5d66811213 Include reply count with posts in topics 9 years ago
Ben Lubar fae28ed3cc Add an index for going from a post to its replies 9 years ago
Ben Lubar 2161f0d473
Allow plugins to affect whether a registration goes into the queue 9 years ago
barisusakli 777914b762 more api tests 9 years ago
barisusakli 687cce6089 closes #5159 9 years ago
barisusakli 2d10490ca3 more plugin tests 9 years ago
Anil Mandepudi 619ca48403 remove shims for IE8 (#5157) 9 years ago
barisusakli d8a9df74d7 fix wrong error returns, more tests 9 years ago
barisusakli 553ee7dcdd more chat tests 9 years ago
Julian Lam 4b5c98fb21 fix broken ACP login, closes #5156 9 years ago
Julian Lam 0590a4f2cf closes #5156 9 years ago
Sergii Paryzhskyi e515b791da Fix eslint rules (#5117)
* Fix semi linter rule

* Fix semi-spacing linter rule

* Fix no-undef-init linter rule

* Fix space-before-blocks linter rule
9 years ago
Julian Lam 727710fbd9 using middleware.authenticate for chat route instead of ensureLoggedIn 9 years ago
barisusakli c8b5c181ff fix flag on redis
check if number is returned on tests
9 years ago
barisusakli a995afbfe0 fix style 9 years ago
Julian Lam 2463e85c0d allowing moderators access to the account info page 9 years ago
barisusakli b44f3f4811 closes #5150 9 years ago
barisusakli 2c65b2ecf3 closes #5143 9 years ago
Barış Soner Uşaklı 4859e499e4 filter falsy events first 9 years ago
Barış Soner Uşaklı 92c58cc62f Merge pull request #5131 from bdharrington7/bugfix/undefined_events
Filter out any undefined events
9 years ago
barisusakli bcdd7b12f0 closes #5149 9 years ago
Julian Lam 1abef16cd9 fixes #5147 9 years ago
Barış Soner Uşaklı 041022db63 #5145
dont crash if res.locals.config is undefined
9 years ago
Barış Soner Uşaklı 4e5d120763 closes #5142 9 years ago
Barış Soner Uşaklı cbd936c547 closes #5140 9 years ago
Julian Lam bf276d5147 fixes #5144 9 years ago
Julian Lam 02998669c3 introducing option to disable chat message editing/deletion 9 years ago
Julian Lam d4d3fa3102 add warning about gmail routing 9 years ago
barisusakli b1773ad51d add new hook to add more fields to csv download 9 years ago
barisusakli 8c7de0f239 fix eslint 9 years ago
barisusakli 1e486875f4 add top posters and most rep to acp 9 years ago
bdharrington7 6dba11957e Filter out any undefined events 9 years ago
barisusakli f0f3a86908 closes #5128
write more messaging tests
9 years ago
barisusakli 9131f9d8f6 controller tests 9 years ago
Barış Soner Uşaklı c512a02c83 Merge pull request #5124 from yariplus/lexistuff
Add additional lexical dbal operations.
9 years ago
yariplus af2122bdb9 fix lex tests maybe 9 years ago
barisusakli 4a0f67afdc search tests
new method emptydb
use emptydb instead of flushdb, flushdb  removes indices for mongo which
breaks search tests
initialize meta.config properly in tests
enable nodebb-plugin-dbsearch for tests
9 years ago
yariplus 472dd007d8 fix mongo lex callback 9 years ago
barisusakli cd71eb909d closes #5125 9 years ago
barisusakli 5cd2da4309 Merge branch 'master' of https://github.com/NodeBB/NodeBB 9 years ago
barisusakli c972a339e6 fix value 9 years ago
barisusakli 862678eefe encodeURIComponent header values 9 years ago
Julian Lam 4ceb8914e9 adding email sent tally to digest output 9 years ago
Barış Soner Uşaklı 54a24f8dbd Merge pull request #5122 from yariplus/patch-14
Add oldTitle to topic edit hook
9 years ago
yariplus be3b35dea3 fix callbacks and regex 9 years ago
yariplus 1bb44e2429 Allow lex min and max to be inclusive or exclusive. 9 years ago
yariplus 437d2744cc addl lex commands for mongo 9 years ago
yariplus ef20757f3e zremrangebylex, zlexcount 9 years ago
barisusakli 1a63672e66 more test fixes 9 years ago
yariplus 1fc5e5d0d3 getSortedSetRevRangeByLex 9 years ago
Timothy Fike cfa5974515 Add oldTitle to topic edit hook 9 years ago
barisusakli 817cd29f00 try require from root 9 years ago
barisusakli 12f366f4b4 more tests
register/login/logout tests
ability to test socket.io emits for logged in users
9 years ago
barisusakli b8a3ca98cb added callback to webserver.listen
wait for webserver to be ready to run tests
added topic restore test
added test to load topic via controller
9 years ago
barisusakli e462fadd94 init express/webserver for tests 9 years ago
barisusakli 6d97c4cec8 up mongo deps, create session store after db.authenticate 9 years ago
barisusakli bfcef27c47 plugin tests 9 years ago
barisusakli c0db7798b9 fix tests :dull: 9 years ago
barisusakli 235fe9efe3 fix chat modal title 9 years ago
barisusakli 3270f39db0 closes #5118 9 years ago
barisusakli dd077117a2 refactor user.updateProfile and write test 9 years ago
barisusakli 139360ce18 if chat is restricted dont allow adding to room 9 years ago
barisusakli b32d7b86e8 fix isModeratorOfAnyCategory
returns true/false now instead of an array
new method getModeratedCids returns an array of moderated cids
9 years ago
Julian Lam 3272c0b98c linting 9 years ago
Julian Lam 7ba76fc0b6 showing assignee avatar in flags list 9 years ago
Julian Lam ead4de6c6f Merge branch 'fix-some-code-lint' of https://github.com/HeeL/NodeBB into HeeL-fix-some-code-lint 9 years ago
Julian Lam eb16eb318e exposing links to moderator tools pages in user logged-in dropdown, closes #5113 9 years ago
Julian Lam e80400665e closes #5111 9 years ago
barisusakli 5f16205d15 closes #5109 9 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 9 years ago
HeeL 3fa1c1f927 Fix space-infix-ops linter rule 9 years ago
HeeL 9a0d764bbd Fix wrap-iife linter rule 9 years ago
barisusakli caf30b5580 use post 9 years ago
barisusakli 460ac17eaa closes #4647
addm upvotes, downvotes and votes to getPostSummary
9 years ago
barisusakli 2eec1afc46 fix upgrade script so it only runs once 9 years ago
Julian Lam 4f159acf56 fixes #5104 9 years ago
barisusakli 58810aa063 only delete priv groups if they are empty 9 years ago
barisusakli 59d035376b closes #5025 9 years ago
barisusakli eb174739ee closes #5101 9 years ago
barisusakli dd7839b7f5 add admin next to username 9 years ago
barisusakli 038418bf87 batch.processArray
use batch.processArray in notifications.push and moveRecentReplies
added notification tests
added test for moveRecentReplies
clear group cache if a group is deleted
9 years ago
Barış Soner Uşaklı 5dbcd9cf3f pass string to validator 9 years ago
barisusakli 848065c820 remove empty fields from new posts 9 years ago
barisusakli 6f86621e30 closes #5096 9 years ago
barisusakli 9a55498fc1 changes to manage/users 9 years ago
barisusakli 0614957542 use req.app.render 9 years ago
barisusakli 102beb5f93 closes #5080 9 years ago
barisusakli 3275d26590 removed comments 9 years ago
Barış Soner Uşaklı 4d5df7547e Merge pull request #5091 from bambusoideae/master
Fix: Memory leak & connection flood when access /admin/advanced/database
9 years ago
Nguyen Trung Quan 279559ff97 Fix: Memory leak & connection flood when access /admin/advanced/database 9 years ago
Julian Lam d1721303ab fixes #5079, fixes #5088 9 years ago
Julian Lam 597e375463 update state on new flag so action history is appended 9 years ago
Julian Lam 80fe6bde5d removed 'No Assignee' option, updated flag saving logic 9 years ago
barisusakli b92f455cc1 group cleanup 9 years ago
barisusakli 98fff29869 closes #5082 9 years ago
Barış Soner Uşaklı f1e6ccdbfc remove dupe header 9 years ago
Barış Soner Uşaklı 9d0dc35703 closes #5081 9 years ago
barisusakli aca0a893e7 remove since properly 9 years ago
barisusakli a254222911 if user is already part of group skip instead of error 9 years ago
barisusakli fe50c8d124 closes #5078 9 years ago
barisusakli 128ef884bf #5077 9 years ago
barisusakli a93ee97926 closes #5073 9 years ago
Barış Soner Uşaklı 3a50c46572 Merge pull request #5033 from BenLubar/page-removed-from-url
Include page number in redirected topics
9 years ago
barisusakli 6aec61d722 groupChat on recentChats 9 years ago
barisusakli 15409f92cd escape history data, hide moderation note in api 9 years ago
Barış Soner Uşaklı 1b5287803c closes #5071 9 years ago
barisusakli abd99760e5 closes #5070 9 years ago
Barış Soner Uşaklı a325a85a84 fix mass group invite 9 years ago
barisusakli 4eb8015017 closes #5069 9 years ago
Barış Soner Uşaklı be07772a91 check for e11000 9 years ago
barisusakli 67f137149d fix validator 9 years ago
barisusakli 922f1587e7 closes #5067 9 years ago
barisusakli 0d09fcbee7 fix setAdd on redis for empty arrays 9 years ago
Jorge Meireles 4938b00635 Fix language path (#5032) 9 years ago
Barış Soner Uşaklı a3e1c847b9 fix wrong callback 9 years ago
Barış Soner Uşaklı ad2b44220d escape event data 9 years ago
Barış Soner Uşaklı e2cbc8bc69 fix timeago on acp users 9 years ago
Barış Soner Uşaklı 1eddf4c720 closes #5060 9 years ago
Barış Soner Uşaklı 72775831d9 Merge pull request #5057 from pichalite/patch-1
Fix [socket.io] Unrecognized message: admin.reload
9 years ago
barisusakli 9f2533b5ba closes #5054 9 years ago
Anil Mandepudi c50486b47d Fix [socket.io] Unrecognized message: admin.reload 9 years ago
barisusakli 2704727caf fix /unread 9 years ago
barisusakli 6540b07ab2 closes #5052 9 years ago
barisusakli f464966817 closes #5053 9 years ago
barisusakli 42a8346d2d closes #5051 9 years ago
barisusakli 8326846c2f closes #5043 9 years ago
barisusakli 5746341099 closes #5048 9 years ago
barisusakli cd9e2d17a3 fix db.incrObjectFieldBy for mongo
convert string to int
9 years ago
barisusakli d1989babf5 closes #5044 9 years ago
barisusakli a6c3be0bb1 store category recent tids for faster retrieval 9 years ago
barisusakli 9256c8332a get raw values for status and lastonline 9 years ago
barisusakli 13e624cc86 on login update lastonline 9 years ago
barisusakli 15cae8d6ea ability to set moderation note on users 9 years ago
barisusakli d60ab3c74c removed cacheStaticFiles 9 years ago
barisusakli b0b6c66f77 fix unix domain socket 9 years ago
barisusakli 4b3b123cd0 closes #5042 9 years ago
barisusakli 55396ca442 inf scroll in chat-content 9 years ago
barisusakli 4be20799ec fix getRecentChats 9 years ago
barisusakli 202edfa47e chat history access 9 years ago
barisusakli 598c47b77f fix user icon in notifications 9 years ago
barisusakli 4ce8e2224a optimize topics.markTopicNotificationsRead
let's not call it once for each tid
9 years ago
barisusakli 877820779c optimize notifications.getMultiple 9 years ago
Barış Soner Uşaklı 0452e9cfa4 dont need last step 9 years ago
barisusakli 958fe3e72f closes #3762 9 years ago
barisusakli 2ac3f5e392 closes #5040 9 years ago
barisusakli d7c559a209 moved active users up 9 years ago
barisusakli 1a5e079919 closes #5037 9 years ago
barisusakli 2e6fc4d045 filterPidsByCid 9 years ago
barisusakli 2c140c2107 ability to filter flags by category 9 years ago
barisusakli 990ecc8cd2 sortedSetIntersectionCard 9 years ago
Julian Lam 172702565e show username and email history 9 years ago
Barış Soner Uşaklı 11b5a1f426 simplify map 9 years ago
psychobunny cecdd205cd Merge pull request #5035 from phit/mixed-content
Fix mixed content warning on 503 status page and installer
9 years ago
barisusakli 86b616ab9e removed unnecessary waterfall 9 years ago
barisusakli 89596b81e0 style 9 years ago
barisusakli 72c75bd781 add pagination to flags page 9 years ago
barisusakli dd78f46980 1 more tag change 9 years ago
barisusakli c98b6b7630 tag changes 9 years ago
barisusakli ef5e02534a fix missing translator, add flag reason 9 years ago
phit 2342d59e6f fix mixed content warning on 503 status page and installer 9 years ago
barisusakli dc317d61b6 add missing next 9 years ago
barisusakli 8bffabeee4 merge 9 years ago
barisusakli f46755759a show categories in unread as tree 9 years ago
Julian Lam 4897e861fb handling errors :rage2: 9 years ago
Julian Lam b12607b1de added uid to flag history, fixed loading on IS, worked around tjs bug 9 years ago
Julian Lam 4e6b2555d0 moved flag history expansion to its own method, showing usernames in assignee history event 9 years ago
Julian Lam d04a10225c WIP showing updated flag data, history, updating flag data 9 years ago
Julian Lam 8dc57cba58 allowing updating of flag data 9 years ago
Julian Lam 7d53b778de WIP extending flags management interface with new options for state, assignee, notes, etc 9 years ago
barisusakli 447fc26b9a fix styling issue on reqister queue 9 years ago
barisusakli 07852862f5 improve helpers.isUserAllowedTo
ability to pass in an array of privileges and a single cid
9 years ago
Ben Lubar 7d90a94261 Include page number in redirected topics 9 years ago
barisusakli a42d8c5be2 simplify keys 9 years ago
barisusakli fcbdfa5688 remove post cache dump 9 years ago
barisusakli 1364fb94bf show debug info 9 years ago
barisusakli d621b120b0 fix groups 9 years ago
barisusakli 282ac56bf6 adde expose methods back
used by plugins
9 years ago
barisusakli fac68d52f6 cache group membership methods
groups.isMember
groups.isMembers
groups.isMemberOfGroups
clear cache for user on group.join & group.leave
9 years ago
barisusakli 599ac80f3d use array.find 9 years ago
barisusakli 9c1b1acc5b removed unsused requires 9 years ago
barisusakli ae8b9c3683 closes #4665 9 years ago
barisusakli aefba6e2b1 removed some methods
helpers.getBaseUser
exposeUid, exposeGroupName
9 years ago
barisusakli becacdefb0 new hooks to customize registration queue with custom data 9 years ago
psychobunny 5d28dbb0a4 closes #5027 9 years ago
Peter Jaszkowiak 59ed13b581 Rewrite translator for efficiency and clarity (#5013)
* Rewrite translator for efficiency and clarity

* Fixed failing tests

* Gorram tabs

* Move cache to Translator class, simplify creation

* Documentation and linting

* Use new translator API where it makes sense

* Revert 499fbe21fdd5b7f2735a27e76a300f69039cfbd3 (except translator.d.ts)

* promise polyfill for node<4

* Set `load` on the prototype

* Comment on Translator#translate

* Delete translator.d.ts

* Support translations added by plugins
9 years ago
barisusakli 478da29423 closes #5020 9 years ago
barisusakli 7b7ec77f5c remove console.log 9 years ago
barisusakli e1263f1057 sortedSetUnionCard 9 years ago
barisusakli 77c549081c remove unused clearRequireCache, closes #5021 9 years ago
barisusakli eabb745116 change union to match intersect
accept aggregate and withscores
9 years ago
barisusakli 8d897d8dcf autocompleteTags 9 years ago
barisusakli fdf2cb6f81 stop searching after finding 20 9 years ago
barisusakli d0a94cb86c filter:topics.searchTags 9 years ago
barisusakli d4c512cb3f handle the case where the object is not set at all #5018 9 years ago
barisusakli 3c0a28d293 #5018
fix extra key
9 years ago
barisusakli 7269d45e84 closes #5018 9 years ago
barisusakli 46d2168918 closes #5017 9 years ago
barisusakli 3cf4449020 use eachSeries 9 years ago
barisusakli 3cdfd22a65 on user delete remove their uid from digests 9 years ago
Julian Lam 4410385e8f Merge pull request #5012 from phit/patch-1
Use mousetrap.js minified version
9 years ago
barisusakli 38b17c6157 closes #5011 9 years ago
barisusakli c01a2bfa33 default sounds to off, show correct setting in user settings page 9 years ago
Mathias Schreck fef9ec7ad6 Fix unhandled callback errors 9 years ago
phit 00a06e9253 Use mousetrap.js minified version
didn't see a reason it shouldn't use the minified version
9 years ago
barisusakli de0f4a959a fix group page permissions for global mods 9 years ago
barisusakli a0ef96a6e1 dont treat url as path, closes #5006 9 years ago
Julian Lam bb80dc360e closes #4982 9 years ago
barisusakli 3056adf0e1 change to inactive 9 years ago
Timothy Fike 247db79d57 modifyUserData does not check for offline status. 9 years ago
Julian Lam 1d0edee358 showing ban reason on user login, closes #5002 9 years ago
barisusakli 162f14b229 closes #4908 9 years ago
barisusakli 55c9e6f4b6 closes #3818
set the value saved to empty string if the email is identical to
original
this causes the original to be used since empty string is falsy
9 years ago
barisusakli 7afd2925af get sort setting from config 9 years ago
barisusakli b0f630aaec always use string as cache key 9 years ago
barisusakli fe3417538c fix getSortedSetRange() if start>0 and stop is -1 9 years ago
Julian Lam 194716cd68 re: #5002 9 years ago
barisusakli d4055ddaef no need for pubsub in getNodeInfo 9 years ago
Julian Lam 20ae29cce3 fixes #4992 (#4994)
* fixes #4992

* make jquery ui a r.js module

* require jqueryui in admin/extend/widgets
9 years ago
barisusakli 80c98e5ecf closes #4989 9 years ago
barisusakli 0eb3fb222f convert to string 9 years ago
barisusakli e33dfe3c55 closes #4997 9 years ago
barisusakli 4aac8bbe6a closes #2222 9 years ago
pichalite 3ef7c57a63 make jquery ui a r.js module 9 years ago
barisusakli 6e0a36909d fix pagination after jquery 3.0 update
cache: false in $.ajax breaks the query string by adding _=timestamp

the url results in `page.com/category/2/slug&page=2?_=timestamp`
9 years ago
barisusakli 6d34bb4657 closes #2166 9 years ago
barisusakli 5cd6614d03 refactor 9 years ago
barisusakli 07fe5057e1 make sure validator.escape() receives strings only 9 years ago
barisusakli cbafbab107 closes #4986 9 years ago
barisusakli 50aac3c6a4 closes #4979 closes #4984 9 years ago
barisusakli b933385b76 partially revert fa9f1ac7fe
extending module.exports instead of overwriting fixes the issue
9 years ago
barisusakli c8f270ec67 another validator.escape fix 9 years ago
barisusakli fa9f1ac7fe fix dependency errors 9 years ago
barisusakli 56118ec1da fix 500-embed.tpl 9 years ago
barisusakli 324fbcf325 merge 9 years ago
barisusakli 805b452ae1 closes #4981 9 years ago
psychobunny 0afa55517f fixed app.loadJQueryUI; minified jquery-ui.js; removed jqueryui from cold load payload; fixed broken image paths 9 years ago
Julian Lam be96704d5d possible fix for #4981 9 years ago
Julian Lam 785f4fc5a0 updating to jQuery 3.x on frontend and ACP 9 years ago
barisusakli 89f550ce7c moved middleware requires 9 years ago
barisusakli 56c4e13316 another dependency fix and test 9 years ago
barisusakli 6d946425fa fix tests, circular deps 9 years ago
barisusakli df7cfe2146 missing favicon dep 9 years ago
barisusakli a0f2e8a8ec use req.uid 👍 9 years ago
barisusakli 8f408faf46 organize middlewares
removed app.locals.middleware
middlewares can be required anywhere, ie in controllers
9 years ago
barisusakli f5941cbf1c removed unused requires 9 years ago
Julian Lam 25cd772e0e closes #4766 9 years ago
barisusakli 5c83075806 moved variables parse to ajaxify.js 9 years ago
barisusakli e5ecb333f9 closes #4978 9 years ago
barisusakli 97f0d2438f up timeout to 500ms 9 years ago
barisusakli c8ba61ac7b closes #4791 9 years ago
Julian Lam 2428d5e442 Update bootstrap in ACP
Also fixed #4872 by moving user creation modal to root level
(outside of .panel)
9 years ago
barisusakli f7540a7edc closes #4811 9 years ago
barisusakli f996dfab91 removed find 9 years ago
barisusakli 276031cd6f closes #4585, closes https://github.com/NodeBB/nodebb-theme-persona/issues/299 9 years ago
barisusakli abd0a10918 added selected group to profile api 9 years ago
barisusakli b6ac809a7d moved sync code out of async 9 years ago
Timothy Fike ed3bc06dee Fix requiring files outside of node_modules
e.g.
```
"scripts": [
        "../../public/vendor/jquery/js/jquery-ui-1.10.4.custom.js"
]
```
9 years ago
barisusakli 84f88a6f15 refactor user search
use pagination on results
removed infinite scroll
changed the term and section to use the query param as well
pagination urls respect search
9 years ago
barisusakli 0fb74a2636 pass err object along so errors dont get treated as 404 @julianlam 9 years ago
barisusakli 5d5b74f3ed if no sorting specificed let search plugins handle 9 years ago
Ben Lubar 862fd1a94a
ignore/watch categories recursively 9 years ago
Julian Lam 60ea7d5121 fixes #4966 9 years ago
Ben Lubar de49de3c56 Show accounts using the same IP address as a registration queue entry (#4965) 9 years ago
barisusakli e4fa0289d6 closes #4961 9 years ago
Julian Lam 8a107c8d6c saving getUsersCSV to event log and outputting to log if pressed 9 years ago
barisusakli 409621c661 closes #4843 9 years ago
Julian Lam 48ade6099c fixes #4469 9 years ago
Julian Lam 093b21fc31 fixes #4954 9 years ago
Barış Soner Uşaklı 37f7b89e2a Merge pull request #4959 from pichalite/login-sessions
move login sessions section to account info route
9 years ago
pichalite 0b431ec41c move login sessions section to account info route 9 years ago
Anil Mandepudi a36af97c0c fix breadcrumb for account info page (#4958) 9 years ago
barisusakli d272a63492 fix messaging.parse to be err first 9 years ago
Mathias Schreck ce9ee62fa0 Handle callback errors 9 years ago
barisusakli 4af631666a closes #4955 9 years ago
barisusakli 6e469f1f0a add missing return to guestHandleValid 9 years ago
barisusakli 3b0eca3be2 fix timestamp on posts.reply 9 years ago
Julian Lam e26166a45b closes #4950 9 years ago
barisusakli f77d9053ad closes #4795 9 years ago
barisusakli 316187946f fix related crash 9 years ago
barisusakli a002eecd03 dont crash if set is not defined, closes https://github.com/NodeBB/nodebb-plugin-leaderboard/issues/4 9 years ago
barisusakli 3d56776ab0 fix tabs 9 years ago
barisusakli f4e3d571a3 shorter 9 years ago
barisusakli 6022fd984a closes #4945 9 years ago
barisusakli b9961bcffa if email is undefined use empty string 9 years ago
barisusakli c58e23db58 fix tests 9 years ago
barisusakli aad9f83869 use getSortedRevRangeWithScores, cleanup 9 years ago
barisusakli d910ebfac1 Merge branch 'master' of https://github.com/NodeBB/NodeBB 9 years ago
barisusakli c8a369f5c3 closes #4939 9 years ago
Accalia de Elementia de007772a4 feat: Allow listing all groups via websocket
also add missing radix to parsing of `after` in groups.loadMore websocket method.
9 years ago
barisusakli 85dfe7704f moved related up 9 years ago
barisusakli b9ad7f2dbb remove unused group code from settings 9 years ago
barisusakli 650f4d6ed5 moved sitemap to its own file 9 years ago
barisusakli 0efe315790 closes #4631 9 years ago
barisusakli 7d4ef3907f fix semicolons 9 years ago
barisusakli b5bf2737e4 bind to regular function 9 years ago
barisusakli bc255110cc closes #2832 9 years ago
barisusakli ed756f18f4 Merge branch 'master' of https://github.com/NodeBB/NodeBB 9 years ago
barisusakli e55043e5ab closes #4867 9 years ago
Julian Lam bc961e2157 removing reload, closes #4936, closes #4929 9 years ago
Accalia de Elementia 74a993ccb3 fix: Use the correct path for utils 9 years ago
Accalia de Elementia 574929337d chore(whitespace): revert whitespace only changes 9 years ago
Accalia de Elementia 413517a084 feat(socket.io-groups): Allow first page of members to be retrieved via websockets
previously requesting the first page of members of a group failed
9 years ago
barisusakli 6c11709cf1 closes #4933 9 years ago
barisusakli 73c3da1a83 dont check maximum group name length if it is a privilege group 9 years ago
barisusakli 973e208329 added banned:expire to user hash 9 years ago