1384 Commits (feecf0b61ca5eff4cc502994e43ab59ceccd6874)

Author SHA1 Message Date
Julian Lam 3861b2dd80 Merge remote-tracking branch 'origin/master' into develop 8 years ago
Julian Lam 541f51e947 restrict flags interface so that moderators only see flags from cids they can actually moderate 8 years ago
barisusakli 6b2dde02b5 closes #5333 8 years ago
Peter Jaszkowiak 11f7cc4163 Pass tests 8 years ago
Julian Lam db20df0110 Merge branch 'master' into develop 9 years ago
barisusakli 190b3759a0 fix tests 9 years ago
Julian Lam c640bdf2b9 Merge branch 'master' into develop 9 years ago
Peter Jaszkowiak 38eba81933 ACP menu and title translations 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 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
Julian Lam 0927d54c98 ability to filter flags by cid, #5232, more tests 9 years ago
Julian Lam e6768ab572 some more fixes to flags, simplifying qs manipulation in flags search
re: #5232
9 years ago
Julian Lam 451c2838d0 Merge remote-tracking branch 'origin/master' into flagging-refactor 9 years ago
barisusakli e86708cb0c add cid to widgets.render
init date pickers in widgets ACP
9 years ago
Julian Lam ebc9abd773 upgrade script and graphs for #5232 9 years ago
Julian Lam 31996f9377 added page titles 9 years ago
Julian Lam 5dd892bd01 a bunch of changes here... allowing user profiles to be flagged, #5232 9 years ago
Julian Lam 9f9051026b more work on #5232 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
barisusakli cbd6853ccb notif controller test 9 years ago
Julian Lam 753d4b0275 wrapped up basic functionality of list and detail for flags, filter support. #5232 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
barisusakli 4b6e4f085d more tests
group cover upload tests
registration approval queue tests
9 years ago
Julian Lam c5b9c1e2a4 Merge remote-tracking branch 'origin/master' into flagging-refactor 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 0bf82c0e47 Merge branch 'master' into flagging-refactor 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 1aa70c57eb WIP 9 years ago
barisusakli 4b815449f1 closes #5234 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 b49af0a135 #5223
adjust pagination so each page shows `postsPerPage` posts
9 years ago
barisusakli 2c77a88ba4 closes #5220 9 years ago
barisusakli dada858565 add canReply to messages 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 b1f23c8c4b read req.uid instead of req.user.uid in admin groups list 9 years ago
Stuart Williams f92758c764 Replace only base URL in login redirect URL, fixes #5205 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
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
Barış Soner Uşaklı b38a10f96a add pagination to user profile 9 years ago
barisusakli f30b694545 gitInfo error doesnt block page 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
Julian Lam 66aea0eed1 closes #5167 9 years ago
barisusakli 7a8de6169b admin controller tests 9 years ago
Ben Lubar 2161f0d473
Allow plugins to affect whether a registration goes into the queue 9 years ago
barisusakli 687cce6089 closes #5159 9 years ago
Anil Mandepudi 619ca48403 remove shims for IE8 (#5157) 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 2463e85c0d allowing moderators access to the account info page 9 years ago
barisusakli bcdd7b12f0 closes #5149 9 years ago
Julian Lam 02998669c3 introducing option to disable chat message editing/deletion 9 years ago
barisusakli 8c7de0f239 fix eslint 9 years ago
barisusakli 1e486875f4 add top posters and most rep to acp 9 years ago
barisusakli 9131f9d8f6 controller tests 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 ead4de6c6f Merge branch 'fix-some-code-lint' of https://github.com/HeeL/NodeBB into HeeL-fix-some-code-lint 9 years ago
Julian Lam e80400665e closes #5111 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
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 3275d26590 removed comments 9 years ago
Nguyen Trung Quan 279559ff97 Fix: Memory leak & connection flood when access /admin/advanced/database 9 years ago
barisusakli aca0a893e7 remove since properly 9 years ago
barisusakli fe50c8d124 closes #5078 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 15409f92cd escape history data, hide moderation note in api 9 years ago
barisusakli abd99760e5 closes #5070 9 years ago
barisusakli 67f137149d fix validator 9 years ago
barisusakli 922f1587e7 closes #5067 9 years ago
barisusakli 9f2533b5ba closes #5054 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 d1989babf5 closes #5044 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 4be20799ec fix getRecentChats 9 years ago
barisusakli 202edfa47e chat history access 9 years ago
barisusakli 4ce8e2224a optimize topics.markTopicNotificationsRead
let's not call it once for each tid
9 years ago
barisusakli 958fe3e72f closes #3762 9 years ago
barisusakli 2e6fc4d045 filterPidsByCid 9 years ago
barisusakli 2c140c2107 ability to filter flags by category 9 years ago
Julian Lam 172702565e show username and email history 9 years ago
Barış Soner Uşaklı 11b5a1f426 simplify map 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 c98b6b7630 tag changes 9 years ago
barisusakli 8bffabeee4 merge 9 years ago
barisusakli f46755759a show categories in unread as tree 9 years ago
Julian Lam b12607b1de added uid to flag history, fixed loading on IS, worked around tjs bug 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
Ben Lubar 7d90a94261 Include page number in redirected topics 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 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 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
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
barisusakli de0f4a959a fix group page permissions for global mods 9 years ago
Julian Lam 1d0edee358 showing ban reason on user login, closes #5002 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 d4055ddaef no need for pubsub in getNodeInfo 9 years ago
barisusakli 0eb3fb222f convert to string 9 years ago
barisusakli e33dfe3c55 closes #4997 9 years ago
barisusakli 6d34bb4657 closes #2166 9 years ago
barisusakli 07fe5057e1 make sure validator.escape() receives strings only 9 years ago
barisusakli 8f408faf46 organize middlewares
removed app.locals.middleware
middlewares can be required anywhere, ie in controllers
9 years ago
barisusakli 97f0d2438f up timeout to 500ms 9 years ago
barisusakli f996dfab91 removed find 9 years ago
barisusakli abd0a10918 added selected group to profile api 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
Julian Lam 60ea7d5121 fixes #4966 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 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
Mathias Schreck ce9ee62fa0 Handle callback errors 9 years ago
barisusakli f77d9053ad closes #4795 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 b9ad7f2dbb remove unused group code from settings 9 years ago
barisusakli 650f4d6ed5 moved sitemap to its own file 9 years ago
Julian Lam bc961e2157 removing reload, closes #4936, closes #4929 9 years ago
barisusakli 1d70dc0d8b closes #4930 9 years ago
Julian Lam a9c1ee5512 adding ban button to account info page 9 years ago
barisusakli aac0313f2e closes #4917 9 years ago
barisusakli cb6db3625c closes #4906 9 years ago
Julian Lam 077f90581b updated plugin tab labels, and added out of date plugin count 9 years ago
Julian Lam 71a5e4a8a1 better error handling for session revocation if no login session is present, #4214 9 years ago
Julian Lam 4ce8696bbc Revert "if interstitials don't pass any errors back but some still exist, redirect properly"
This reverts commit 98368bbb6a, but fixes
issue #4883
9 years ago
Ben Lubar 40b57d6cbe add "Admin Approval for IPs", which works like Normal for new users and Admin Approval for sockpuppet accounts (#4882) 9 years ago
barisusakli 58ab76d3c2 action:category.loaded, sort qs on category page 9 years ago
Barış Soner Uşaklı 7804d3989e Merge pull request #4858 from pichalite/change-recent
pass set as attribute for recent route
9 years ago
Barış Soner Uşaklı 102e578b56 Merge pull request #4859 from BenLubar/topic-page-query
Fix /topic/:tid/:slug?page=:page for users with infinite scroll enabled
9 years ago
pichalite 2cd709418b fix resizeImage on upload 9 years ago
Ben Lubar 85e42aee6e make ?page=[numbers] links work for users with pagination disabled. remove ?page when updating the URL for infinite scroll 9 years ago
pichalite 6249b9a6fb rename dbset to set 9 years ago
pichalite f72e00a1b5 pass dbset as attribute 9 years ago
Julian Lam 60a97bcf51 fixes #4856 9 years ago
barisusakli 390ad35b56 ability to set unread as home 9 years ago
barisusakli d2cbd7e6dc new priv for uploads 9 years ago
Julian Lam 03208807e4 fixes #4840 9 years ago
barisusakli fcf145fc81 403 if not logged in, show error 9 years ago
barisusakli 7b86fd3dc0 closes #4835 9 years ago
psychobunny f3c48eb14a oops, #4832 9 years ago
psychobunny 6df3157748 closes #4832 9 years ago
Julian Lam 5ecbbd228d adding missing files, re: #4827 9 years ago
Julian Lam d5961cfca3 #4827 9 years ago
barisusakli d94e2eed72 closes #4816 9 years ago
barisusakli 789a3736af closes #4820 9 years ago
barisusakli 795b00a3af closes #4810 9 years ago
Julian Lam 04d4fc2eca temporary ban support 9 years ago
barisusakli 14b067a838 closes #4800 9 years ago
Julian Lam 98368bbb6a if interstitials don't pass any errors back but some still exist, redirect properly 9 years ago
Julian Lam fafcdf8320 no longer requiring that interstitial.data be set in interstitial data
... lol that commit message makes no sense.
9 years ago
psychobunny 371abba13b helpers.notAllowed hook 9 years ago
barisusakli 2342141e0f fix validator.js crashes 9 years ago
Julian Lam a14263349b updated termsOfUse to use registration interstitial instead of being integrated into register template 9 years ago
Julian Lam 041670bfe9 handling of form completion in registration interstitial 9 years ago
Julian Lam d2926f4fe7 WIP registration interstitial 9 years ago
Julian Lam 0ba0001f75 WIP registration interstitial 9 years ago
Julian Lam e6fa91a4a4 when logging out, end the express session 9 years ago
barisusakli d227d526d1 closes #4341 9 years ago
Barış Soner Uşaklı ae19f0ff7d closes #4713 9 years ago
psychobunny b37b083a4d new privilege: Access Topic
differentiation between Access Category and Access Topic, ie. allows you
to see the category view but not actually enter the topic itself
9 years ago
Julian Lam ba412f4a56 fully completed #4658 9 years ago
Julian Lam 149565169b closes #4658 9 years ago
barisusakli dcb73f9647 use userCount 9 years ago
Julian Lam afb0312f51 closes #4672 9 years ago
Barış Soner Uşaklı 86cab0787a closes #4668 9 years ago
barisusakli 11be93a4d8 closes #4648 9 years ago
barisusakli a4031df9b2 dont show SSO logins if its a confirmation screen 9 years ago
barisusakli b3fa5583f8 closes #4650 9 years ago
barisusakli 630dd66cf6 closes #4645 9 years ago
barisusakli 84a7b6690b closes #4434 9 years ago
barisusakli bf3f19253f if post is not found go to 404 9 years ago
barisusakli f4599e2ce2 closes #4629 9 years ago
pichalite ce66dd96a9 send option to user settings page if in-topic search is available (#4627) 9 years ago
barisusakli a9828a1465 closes #4611 9 years ago
Julian Lam f1deaa6fa5 Exposing middleware to app/req, organisation.
Organisation -- moved 404 and error controllers into the
controllers file instead of as local variables in routes/index
9 years ago
barisusakli 69e25fe4d5 closes #4612 9 years ago
barisusakli acc030e6da added filter:image.size
fix uploading of gifs if imagemagick plugin is installed but no image
upload plugins are present.
9 years ago
Julian Lam d8c21cc09d fixes #4593 9 years ago
psychobunny d85a8d068d consolidate allowed image types in ACP 9 years ago
psychobunny bafbcad163 use filter:categories.build instead of .get 9 years ago
psychobunny 0287703047 missed plugins req 9 years ago
psychobunny 458d4996a6 filter:categories.get 9 years ago
barisusakli eb0aea6390 add /user/<uid> and /post/<pid> redirects
change notifications to use new redirects
9 years ago
Julian Lam b12811d21d spring cleaning 9 years ago
barisusakli 90446bdc7f closes #4524 9 years ago
barisusakli cef7fb545b closes #1972 9 years ago
barisusakli c758f59014 closes #2302 9 years ago
barisusakli 9b54ce7235 fix uploads with no extensions 9 years ago
barisusakli fea18a050f closes #4590 9 years ago
barisusakli e9d548d057 closes #4580 removed path.parse 9 years ago
barisusakli bea2344ad4 api controllers refactor 9 years ago
barisusakli 25f3a31ff1 closes #4587 9 years ago
Barış Soner Uşaklı 58ea83014c Merge pull request #4572 from pichalite/image-upload
fix image upload in post
9 years ago
pichalite f154853b39 add extension after filename trim 9 years ago
barisusakli 18e68346e7 closes #4507 9 years ago
barisusakli 3648d531fa closes #4545 9 years ago
pichalite 821d723541 fix image upload in post 9 years ago
barisusakli a12a149015 fix validator warning 9 years ago
barisusakli c790373dfc closes #4558 9 years ago
Julian Lam 22cf0966e6 removed console log 9 years ago
Julian Lam ea6d2c35f7 Fixed bug in settingsv1
If the saved value was an empty string, then textareas (and more
importantly, select boxes) would not be properly populated with
the saved value.
9 years ago
Julian Lam 2aa89b9c70 fixes #4555 9 years ago
Julian Lam 66dd790938 did I fix it @rbeer? :shipit: 9 years ago
Julian Lam a0d989a112 fixes #4551 9 years ago
Julian Lam 4f913d3f19 fixed issue with missing base in path.format 9 years ago
Julian Lam 5858d914bf closes #4550 9 years ago
Julian Lam 4aabac5288 Fixes #4548 9 years ago
barisusakli ff9b2bad49 closes #4512 9 years ago
barisusakli ec33a57f77 closes #3128 9 years ago