7655 Commits (b44f3f4811e595b971777452aa11c099b5416648)

Author SHA1 Message Date
Julian Lam d04a10225c WIP showing updated flag data, history, updating flag data 8 years ago
Julian Lam 8dc57cba58 allowing updating of flag data 8 years ago
Julian Lam 7d53b778de WIP extending flags management interface with new options for state, assignee, notes, etc 8 years ago
barisusakli 447fc26b9a fix styling issue on reqister queue 8 years ago
barisusakli 07852862f5 improve helpers.isUserAllowedTo
ability to pass in an array of privileges and a single cid
8 years ago
Ben Lubar 7d90a94261 Include page number in redirected topics 8 years ago
barisusakli a42d8c5be2 simplify keys 8 years ago
barisusakli fcbdfa5688 remove post cache dump 8 years ago
barisusakli 1364fb94bf show debug info 8 years ago
barisusakli d621b120b0 fix groups 8 years ago
barisusakli 282ac56bf6 adde expose methods back
used by plugins
8 years ago
barisusakli fac68d52f6 cache group membership methods
groups.isMember
groups.isMembers
groups.isMemberOfGroups
clear cache for user on group.join & group.leave
8 years ago
barisusakli 599ac80f3d use array.find 8 years ago
barisusakli 9c1b1acc5b removed unsused requires 8 years ago
barisusakli ae8b9c3683 closes #4665 8 years ago
barisusakli aefba6e2b1 removed some methods
helpers.getBaseUser
exposeUid, exposeGroupName
8 years ago
barisusakli becacdefb0 new hooks to customize registration queue with custom data 8 years ago
psychobunny 5d28dbb0a4 closes #5027 8 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
8 years ago
barisusakli 478da29423 closes #5020 8 years ago
barisusakli 7b7ec77f5c remove console.log 8 years ago
barisusakli e1263f1057 sortedSetUnionCard 8 years ago
barisusakli 77c549081c remove unused clearRequireCache, closes #5021 8 years ago
barisusakli eabb745116 change union to match intersect
accept aggregate and withscores
8 years ago
barisusakli 8d897d8dcf autocompleteTags 8 years ago
barisusakli fdf2cb6f81 stop searching after finding 20 8 years ago
barisusakli d0a94cb86c filter:topics.searchTags 8 years ago
barisusakli d4c512cb3f handle the case where the object is not set at all #5018 8 years ago
barisusakli 3c0a28d293 #5018
fix extra key
8 years ago
barisusakli 7269d45e84 closes #5018 8 years ago
barisusakli 46d2168918 closes #5017 8 years ago
barisusakli 3cf4449020 use eachSeries 8 years ago
barisusakli 3cdfd22a65 on user delete remove their uid from digests 8 years ago
Julian Lam 4410385e8f Merge pull request #5012 from phit/patch-1
Use mousetrap.js minified version
8 years ago
barisusakli 38b17c6157 closes #5011 8 years ago
barisusakli c01a2bfa33 default sounds to off, show correct setting in user settings page 8 years ago
Mathias Schreck fef9ec7ad6 Fix unhandled callback errors 8 years ago
phit 00a06e9253 Use mousetrap.js minified version
didn't see a reason it shouldn't use the minified version
8 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
barisusakli 1d70dc0d8b closes #4930 9 years ago
barisusakli d7cda83c8e fix lang key 9 years ago
barisusakli 56d325bd86 privilege fixes 9 years ago
barisusakli 037b901e85 closes #4919 9 years ago
Barış Soner Uşaklı e1c0a8f3b3 Merge pull request #4909 from BenLubar/self-topic-deletion
add edit/delete post, delete topic privileges per-category
9 years ago
Ben Lubar 936149bb38 grant topics:delete by default <f62da5c4e9 (r74206749)> 9 years ago
Julian Lam fd8f5f9415 closes #4918 9 years ago
Julian Lam 19b4679c0e properly handling flattened dependencies in plugin scripts 9 years ago
Ben Lubar f62da5c4e9 see NodeBB/NodeBB#4909 9 years ago
Julian Lam a9c1ee5512 adding ban button to account info page 9 years ago
Julian Lam 9b8bbde0d3 tweak ACP email settings form syntax 9 years ago
barisusakli aac0313f2e closes #4917 9 years ago
barisusakli bb05e6e393 closes #4916 9 years ago
Ben Lubar 26df552d55 Add edit, delete, and topics:delete permissions for users acting on their own posts 9 years ago
barisusakli 84025fa7fc closes #4801 9 years ago
barisusakli 2103880d61 only extend 5mins if less than 5mins left 9 years ago
barisusakli a53f7f65db change homePageRoute logic 9 years ago
Julian Lam f060c7a378 not using relative reference for tjs value 9 years ago
barisusakli c3daee471a Merge branch 'master' of https://github.com/NodeBB/NodeBB 9 years ago
barisusakli cb6db3625c closes #4906 9 years ago
psychobunny 8fdd82cc72 Merge branch 'master' of https://github.com/NodeBB/NodeBB 9 years ago
psychobunny 837029f69e fixes crash when editing post 9 years ago
barisusakli 7f041a756d closes #4865 9 years ago
Julian Lam 7902987900 added jqueryUI to list of prefetched resources, and updated its loader to not use $.getScript(). Updated require.js files to use ?v= in the url argument for cache buster 9 years ago
Julian Lam 077f90581b updated plugin tab labels, and added out of date plugin count 9 years ago
barisusakli b70610703a fix crash in notifs 9 years ago
pichalite b7b909bcc0 remove unused autosize lib 9 years ago
pichalite 8ef7ca4bdb update chart.js to new version 9 years ago
barisusakli 2cc804084f closes #4890 9 years ago
barisusakli 514c12aa68 closes #4885 9 years ago
barisusakli 2606844d98 closes #4868 9 years ago
barisusakli 11236bb841 fix missing callback 9 years ago
Ben Lubar fc387111e2 make keeping avatar versions an option in the ACP that is turned off by default 9 years ago
Ben Lubar 0d40542f93 Keep old versions of avatars in the filesystem. Change the avatar URL each time a new one is uploaded to avoid caching problems. Closes #4722. 9 years ago
Julian Lam e7386e20cf closes #4505 9 years ago
barisusakli af75a887b5 closes #4892
prevent crash if registerHook is called with invalid hook name
9 years ago
Julian Lam a9a522c8ec allowing widgets to not show up if widget explicitly returns null 9 years ago
Anil Mandepudi c666a7efda add static:assets.prepare hook (#4889)
* add static:assets.prepare hook

add static:assets.prepare hook to be called before css minification so that themes/plugins can modify less vars.

* change parameter
9 years ago
Julian Lam 2268f250bb removed commented out language method 9 years ago
barisusakli 98d17a0589 fix tab 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 754e20eb5c closes #4877 9 years ago
barisusakli 5cbfa6f212 closes #4881 9 years ago
barisusakli e81b67269a closes #4884 9 years ago
barisusakli 1c0ef00836 closes #4886 9 years ago
Timothy Fike e112d284e5 filter:group.update 9 years ago
barisusakli 58ab76d3c2 action:category.loaded, sort qs on category page 9 years ago
Julian Lam 13a2e4cc3f Revert "Send plugin `postData` changes up the line (#4875)"
This reverts commit 20024418d9.

re: #4875
9 years ago
Peter Jaszkowiak 20024418d9 Send plugin `postData` changes up the line (#4875) 9 years ago
psychobunny 3744f1ecd2 updated fontawesome.tpl 9 years ago
Julian Lam e407dbfdd4 fix module bridging output to log the correct number 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 828d5a4b4d fixes #4857 9 years ago
barisusakli 937f00eb09 remove console.log 9 years ago