7954 Commits (d5a45832c327d6b2f68eb09d12d7058da3fef720)

Author SHA1 Message Date
barisusakli b49af0a135 #5223
adjust pagination so each page shows `postsPerPage` posts
8 years ago
barisusakli db14c29e41 socket.io/categories tests 8 years ago
barisusakli 6acc79ec07 convert title to string 8 years ago
barisusakli 2c77a88ba4 closes #5220 8 years ago
barisusakli 51b41a9b44 fix eslint 8 years ago
barisusakli 5d4903f643 fix test 8 years ago
Julian Lam 6acbd3ea21 optimising build step for #5211 8 years ago
barisusakli ef87a2b7d7 closes #5219 8 years ago
Julian Lam 0e8bf17ff0 re: #5211, bringing back the RELOAD BUTTON :rage2: 8 years ago
barisusakli a3efe42938 fix test 8 years ago
barisusakli dada858565 add canReply to messages 8 years ago
barisusakli 83c50f0648 add back emitter 8 years ago
barisusakli 9796f54580 analytics tests, reduce bcrypt rouds for tests 8 years ago
barisusakli e3616ab0f9 socket/meta test 8 years ago
barisusakli 853cea7fec removed emitter.js 8 years ago
barisusakli 5e7fb4eeb2 widget tests 8 years ago
barisusakli 50a2a7abbe plugins/install tests 8 years ago
barisusakli f1a933210b notifications.pushGroups 8 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
8 years ago
Julian Lam 9bab0b53b0 re: #5211, broke out meta.css.minify to accept targets, made build output marginally nicer looking 8 years ago
Julian Lam 232b387652 set up plugins in build step as well 8 years ago
Julian Lam b1f23c8c4b read req.uid instead of req.user.uid in admin groups list 8 years ago
barisusakli 71c7ef9109 fix test 8 years ago
barisusakli 4f0e93732a #5211
remove passing js/css between procs
8 years ago
Julian Lam 299fcb99f1 more progress on #5211 8 years ago
Stuart Williams f92758c764 Replace only base URL in login redirect URL, fixes #5205 8 years ago
barisusakli f2e4d9ce53 change flag tests so they use socket methods as well 8 years ago
Stuart Williams a20027d8f5 Add missing relative path to Admin tags and widgets links 8 years ago
barisusakli 3380f61985 more tests 8 years ago
barisusakli 2476ab3684 closes #5202 8 years ago
Julian Lam 2f2eb1457d auto-redirect to SSO flow should work in subfolders too 8 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...
8 years ago
Julian Lam 7d523fae0f closes #5200 8 years ago
barisusakli ee75c69817 post edit tests 8 years ago
barisusakli 1a9dd2311c closes #5175 8 years ago
Ben Lubar e151916f1a
Fix followed topic notifications going to the last unread post
Regression introduced in 1b34ebe230.

Bug originally reported in #4469.
8 years ago
Julian Lam e6c9c89342 closes #5197 8 years ago
barisusakli 1e543dd394 fix profile views on redis 8 years ago
barisusakli 8294fc90e3 closes #5084 8 years ago
barisusakli ce9be7e694 closes #5132 8 years ago
barisusakli 1b34ebe230 closes #5133 8 years ago
barisusakli c1d28af2a7 filter posts that you cant read 8 years ago
Barış Soner Uşaklı 43bcd453dd Merge pull request #5192 from BenLubar/replies-permissions
Check whether the user can read the replies
8 years ago
pichalite 9bcb5710c1 UI fixes for ACP -> Manage -> Registration Queue 8 years ago
pichalite 0087a672ba UI fixes for ACP -> Manage -> Users 8 years ago
Barış Soner Uşaklı b38a10f96a add pagination to user profile 8 years ago
Ben Lubar 5937fefa39
Check whether the user can read the replies and allow filtering the reply count in plugins 8 years ago
barisusakli ecef0c6ad5 more user tests 8 years ago
barisusakli d23966c534 more tests 8 years ago
barisusakli 3ec760ac85 inf scroll tests for topics 8 years ago
barisusakli ce7513c347 allow cookieDomain from config.json 8 years ago
barisusakli f30b694545 gitInfo error doesnt block page 8 years ago
barisusakli 01e7b864b8 change batch.js style 8 years ago
barisusakli 5cfe379841 fix recent for inf scroll 8 years ago
barisusakli 556dfa51d9 fix pagination querystring on /recent 8 years ago
barisusakli f8ae7b069c cid filter 8 years ago
barisusakli 58fff8b0af up persona fix test 8 years ago
barisusakli fb47bf3889 unread/recent changes closes #4774 8 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
8 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"
8 years ago
Anil Mandepudi f7b64d655a Fix issue where CSS files imported along with less files are not getting minified (#5178) 8 years ago
Barış Soner Uşaklı af3b6e2759 Merge pull request #5176 from pitaj/is-main
isMain on topic.create for filter:post.create
8 years ago
Julian Lam 7993f6a4d8 fix duplicate labels in cookies ACP template 8 years ago
Peter Jaszkowiak 91a28e98b7 isMain on topic.create for filter:post.create 8 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
8 years ago
barisusakli 96d05b58d4 show deleted replies like regular deleted posts 8 years ago
Julian Lam 66aea0eed1 closes #5167 8 years ago
barisusakli a4dfe608e9 ban tests, user/info test 8 years ago
barisusakli 218a1b7aab closes #5015 8 years ago
Julian Lam 663f05b972 adding back banReason to header rendering, as it regressed in 1f10e0b 8 years ago
barisusakli 7a8de6169b admin controller tests 8 years ago
barisusakli ff08cbf677 replies to posts 8 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
8 years ago
Julian Lam 1f10e0b287 fixed #5166 8 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
8 years ago
Barış Soner Uşaklı 2214a4d156 Merge pull request #5164 from yariplus/cflags
flag tests
8 years ago
yariplus 179b66d74a flag tests 8 years ago
Ben Lubar d4774e98b4
remove unused functions added in this pull request 8 years ago
Ben Lubar ea10f51f2e
UI for replies-to-post (needs theme update) 8 years ago
Ben Lubar a654a2a5fe
Work around MongoDB bug (see https://github.com/NodeBB/NodeBB/pull/5050#issuecomment-256766439) 8 years ago
Ben Lubar 69ee813d3e
fix typoed variable name 8 years ago
Julian Lam f97f45a138 logic to show a modal to banned users when they try to log in via SSO 8 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
8 years ago
Ben Lubar 5d66811213 Include reply count with posts in topics 8 years ago
Ben Lubar fae28ed3cc Add an index for going from a post to its replies 8 years ago
Ben Lubar 2161f0d473
Allow plugins to affect whether a registration goes into the queue 8 years ago
barisusakli 777914b762 more api tests 8 years ago
barisusakli 687cce6089 closes #5159 8 years ago
barisusakli 2d10490ca3 more plugin tests 8 years ago
Anil Mandepudi 619ca48403 remove shims for IE8 (#5157) 8 years ago
barisusakli d8a9df74d7 fix wrong error returns, more tests 8 years ago
barisusakli 553ee7dcdd more chat tests 8 years ago
Julian Lam 4b5c98fb21 fix broken ACP login, closes #5156 8 years ago
Julian Lam 0590a4f2cf closes #5156 8 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
8 years ago
Julian Lam 727710fbd9 using middleware.authenticate for chat route instead of ensureLoggedIn 8 years ago
barisusakli c8b5c181ff fix flag on redis
check if number is returned on tests
8 years ago
barisusakli a995afbfe0 fix style 8 years ago
Julian Lam 2463e85c0d allowing moderators access to the account info page 8 years ago
barisusakli b44f3f4811 closes #5150 8 years ago
barisusakli 2c65b2ecf3 closes #5143 8 years ago
Barış Soner Uşaklı 4859e499e4 filter falsy events first 8 years ago
Barış Soner Uşaklı 92c58cc62f Merge pull request #5131 from bdharrington7/bugfix/undefined_events
Filter out any undefined events
8 years ago
barisusakli bcdd7b12f0 closes #5149 8 years ago
Julian Lam 1abef16cd9 fixes #5147 8 years ago
Barış Soner Uşaklı 041022db63 #5145
dont crash if res.locals.config is undefined
8 years ago
Barış Soner Uşaklı 4e5d120763 closes #5142 8 years ago
Barış Soner Uşaklı cbd936c547 closes #5140 8 years ago
Julian Lam bf276d5147 fixes #5144 8 years ago
Julian Lam 02998669c3 introducing option to disable chat message editing/deletion 8 years ago
Julian Lam d4d3fa3102 add warning about gmail routing 8 years ago
barisusakli b1773ad51d add new hook to add more fields to csv download 8 years ago
barisusakli 8c7de0f239 fix eslint 8 years ago
barisusakli 1e486875f4 add top posters and most rep to acp 8 years ago
bdharrington7 6dba11957e Filter out any undefined events 8 years ago
barisusakli f0f3a86908 closes #5128
write more messaging tests
8 years ago
barisusakli 9131f9d8f6 controller tests 8 years ago
Barış Soner Uşaklı c512a02c83 Merge pull request #5124 from yariplus/lexistuff
Add additional lexical dbal operations.
8 years ago
yariplus af2122bdb9 fix lex tests maybe 8 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
8 years ago
yariplus 472dd007d8 fix mongo lex callback 8 years ago
barisusakli cd71eb909d closes #5125 8 years ago
barisusakli 5cd2da4309 Merge branch 'master' of https://github.com/NodeBB/NodeBB 8 years ago
barisusakli c972a339e6 fix value 8 years ago
barisusakli 862678eefe encodeURIComponent header values 8 years ago
Julian Lam 4ceb8914e9 adding email sent tally to digest output 8 years ago
Barış Soner Uşaklı 54a24f8dbd Merge pull request #5122 from yariplus/patch-14
Add oldTitle to topic edit hook
8 years ago
yariplus be3b35dea3 fix callbacks and regex 8 years ago
yariplus 1bb44e2429 Allow lex min and max to be inclusive or exclusive. 8 years ago
yariplus 437d2744cc addl lex commands for mongo 8 years ago
yariplus ef20757f3e zremrangebylex, zlexcount 8 years ago
barisusakli 1a63672e66 more test fixes 8 years ago
yariplus 1fc5e5d0d3 getSortedSetRevRangeByLex 8 years ago
Timothy Fike cfa5974515 Add oldTitle to topic edit hook 8 years ago
barisusakli 817cd29f00 try require from root 8 years ago
barisusakli 12f366f4b4 more tests
register/login/logout tests
ability to test socket.io emits for logged in users
8 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
8 years ago
barisusakli e462fadd94 init express/webserver for tests 8 years ago
barisusakli 6d97c4cec8 up mongo deps, create session store after db.authenticate 8 years ago
barisusakli bfcef27c47 plugin tests 8 years ago
barisusakli c0db7798b9 fix tests :dull: 8 years ago
barisusakli 235fe9efe3 fix chat modal title 8 years ago
barisusakli 3270f39db0 closes #5118 8 years ago
barisusakli dd077117a2 refactor user.updateProfile and write test 8 years ago
barisusakli 139360ce18 if chat is restricted dont allow adding to room 8 years ago
barisusakli b32d7b86e8 fix isModeratorOfAnyCategory
returns true/false now instead of an array
new method getModeratedCids returns an array of moderated cids
8 years ago
Julian Lam 3272c0b98c linting 8 years ago
Julian Lam 7ba76fc0b6 showing assignee avatar in flags list 8 years ago
Julian Lam ead4de6c6f Merge branch 'fix-some-code-lint' of https://github.com/HeeL/NodeBB into HeeL-fix-some-code-lint 8 years ago
Julian Lam eb16eb318e exposing links to moderator tools pages in user logged-in dropdown, closes #5113 8 years ago
Julian Lam e80400665e closes #5111 8 years ago
barisusakli 5f16205d15 closes #5109 8 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 8 years ago
HeeL 3fa1c1f927 Fix space-infix-ops linter rule 8 years ago
HeeL 9a0d764bbd Fix wrap-iife linter rule 8 years ago
barisusakli caf30b5580 use post 8 years ago
barisusakli 460ac17eaa closes #4647
addm upvotes, downvotes and votes to getPostSummary
8 years ago
barisusakli 2eec1afc46 fix upgrade script so it only runs once 8 years ago
Julian Lam 4f159acf56 fixes #5104 8 years ago
barisusakli 58810aa063 only delete priv groups if they are empty 8 years ago
barisusakli 59d035376b closes #5025 8 years ago
barisusakli eb174739ee closes #5101 8 years ago
barisusakli dd7839b7f5 add admin next to username 8 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
8 years ago
Barış Soner Uşaklı 5dbcd9cf3f pass string to validator 8 years ago
barisusakli 848065c820 remove empty fields from new posts 8 years ago
barisusakli 6f86621e30 closes #5096 8 years ago
barisusakli 9a55498fc1 changes to manage/users 8 years ago
barisusakli 0614957542 use req.app.render 8 years ago
barisusakli 102beb5f93 closes #5080 8 years ago
barisusakli 3275d26590 removed comments 8 years ago
Barış Soner Uşaklı 4d5df7547e Merge pull request #5091 from bambusoideae/master
Fix: Memory leak & connection flood when access /admin/advanced/database
8 years ago
Nguyen Trung Quan 279559ff97 Fix: Memory leak & connection flood when access /admin/advanced/database 8 years ago
Julian Lam d1721303ab fixes #5079, fixes #5088 8 years ago
Julian Lam 597e375463 update state on new flag so action history is appended 8 years ago
Julian Lam 80fe6bde5d removed 'No Assignee' option, updated flag saving logic 8 years ago
barisusakli b92f455cc1 group cleanup 8 years ago
barisusakli 98fff29869 closes #5082 8 years ago
Barış Soner Uşaklı f1e6ccdbfc remove dupe header 8 years ago
Barış Soner Uşaklı 9d0dc35703 closes #5081 8 years ago
barisusakli aca0a893e7 remove since properly 8 years ago
barisusakli a254222911 if user is already part of group skip instead of error 8 years ago
barisusakli fe50c8d124 closes #5078 8 years ago
barisusakli 128ef884bf #5077 8 years ago
barisusakli a93ee97926 closes #5073 8 years ago
Barış Soner Uşaklı 3a50c46572 Merge pull request #5033 from BenLubar/page-removed-from-url
Include page number in redirected topics
8 years ago
barisusakli 6aec61d722 groupChat on recentChats 8 years ago
barisusakli 15409f92cd escape history data, hide moderation note in api 8 years ago
Barış Soner Uşaklı 1b5287803c closes #5071 8 years ago
barisusakli abd99760e5 closes #5070 8 years ago
Barış Soner Uşaklı a325a85a84 fix mass group invite 8 years ago
barisusakli 4eb8015017 closes #5069 8 years ago
Barış Soner Uşaklı be07772a91 check for e11000 8 years ago
barisusakli 67f137149d fix validator 8 years ago
barisusakli 922f1587e7 closes #5067 8 years ago
barisusakli 0d09fcbee7 fix setAdd on redis for empty arrays 8 years ago
Jorge Meireles 4938b00635 Fix language path (#5032) 8 years ago
Barış Soner Uşaklı a3e1c847b9 fix wrong callback 8 years ago
Barış Soner Uşaklı ad2b44220d escape event data 8 years ago
Barış Soner Uşaklı e2cbc8bc69 fix timeago on acp users 8 years ago
Barış Soner Uşaklı 1eddf4c720 closes #5060 8 years ago
Barış Soner Uşaklı 72775831d9 Merge pull request #5057 from pichalite/patch-1
Fix [socket.io] Unrecognized message: admin.reload
8 years ago
barisusakli 9f2533b5ba closes #5054 8 years ago
Anil Mandepudi c50486b47d Fix [socket.io] Unrecognized message: admin.reload 8 years ago
barisusakli 2704727caf fix /unread 8 years ago
barisusakli 6540b07ab2 closes #5052 8 years ago
barisusakli f464966817 closes #5053 8 years ago
barisusakli 42a8346d2d closes #5051 8 years ago
barisusakli 8326846c2f closes #5043 8 years ago
barisusakli 5746341099 closes #5048 8 years ago
barisusakli cd9e2d17a3 fix db.incrObjectFieldBy for mongo
convert string to int
8 years ago
barisusakli d1989babf5 closes #5044 8 years ago
barisusakli a6c3be0bb1 store category recent tids for faster retrieval 8 years ago
barisusakli 9256c8332a get raw values for status and lastonline 8 years ago
barisusakli 13e624cc86 on login update lastonline 8 years ago
barisusakli 15cae8d6ea ability to set moderation note on users 8 years ago
barisusakli d60ab3c74c removed cacheStaticFiles 8 years ago
barisusakli b0b6c66f77 fix unix domain socket 8 years ago
barisusakli 4b3b123cd0 closes #5042 8 years ago
barisusakli 55396ca442 inf scroll in chat-content 8 years ago
barisusakli 4be20799ec fix getRecentChats 8 years ago
barisusakli 202edfa47e chat history access 8 years ago
barisusakli 598c47b77f fix user icon in notifications 8 years ago
barisusakli 4ce8e2224a optimize topics.markTopicNotificationsRead
let's not call it once for each tid
8 years ago
barisusakli 877820779c optimize notifications.getMultiple 8 years ago
Barış Soner Uşaklı 0452e9cfa4 dont need last step 8 years ago
barisusakli 958fe3e72f closes #3762 8 years ago
barisusakli 2ac3f5e392 closes #5040 8 years ago
barisusakli d7c559a209 moved active users up 8 years ago
barisusakli 1a5e079919 closes #5037 8 years ago
barisusakli 2e6fc4d045 filterPidsByCid 8 years ago
barisusakli 2c140c2107 ability to filter flags by category 8 years ago
barisusakli 990ecc8cd2 sortedSetIntersectionCard 8 years ago
Julian Lam 172702565e show username and email history 8 years ago
Barış Soner Uşaklı 11b5a1f426 simplify map 8 years ago
psychobunny cecdd205cd Merge pull request #5035 from phit/mixed-content
Fix mixed content warning on 503 status page and installer
8 years ago
barisusakli 86b616ab9e removed unnecessary waterfall 8 years ago
barisusakli 89596b81e0 style 8 years ago
barisusakli 72c75bd781 add pagination to flags page 8 years ago
barisusakli dd78f46980 1 more tag change 8 years ago
barisusakli c98b6b7630 tag changes 8 years ago
barisusakli ef5e02534a fix missing translator, add flag reason 8 years ago
phit 2342d59e6f fix mixed content warning on 503 status page and installer 8 years ago
barisusakli dc317d61b6 add missing next 8 years ago
barisusakli 8bffabeee4 merge 8 years ago
barisusakli f46755759a show categories in unread as tree 8 years ago
Julian Lam 4897e861fb handling errors :rage2: 8 years ago
Julian Lam b12607b1de added uid to flag history, fixed loading on IS, worked around tjs bug 8 years ago
Julian Lam 4e6b2555d0 moved flag history expansion to its own method, showing usernames in assignee history event 8 years ago
Julian Lam d04a10225c WIP showing updated flag data, history, updating flag data 8 years ago