2456 Commits (e0149462b3f4e7c843d89701ad9edd2e744d7593)

Author SHA1 Message Date
Barış Soner Uşaklı 7e828404f6 fix: #7116
dont save relative_path in db for group covers
7 years ago
Barış Soner Uşaklı b9b9d8b2e9 feat: name topic controller 7 years ago
Barış Soner Uşaklı ae0fe5e880 feat: more naming 7 years ago
Barış Soner Uşaklı 9f5062682d fix: unread badge
- only increase unread badge if topic or category is watched
- fix logic for "there are new posts/topics" on /unread and /recent
7 years ago
Barış Soner Uşaklı 989879a6b5 fix: #7115 7 years ago
Barış Soner Uşaklı 14c4552304 dont modify session for spiders 7 years ago
Barış Soner Uşaklı eb7ae54f81
Category watch state (#7109)
* feat: wip, category watch change

* feat: pass data to client

* feat: allow changing state

* fix: account page categories

* fix: show in unread if topic is followed or category is watched

* feat: add default watch state to acp

* feat: save user category watch state

* feat: update unread recent pages

* fix: remove dupe code

* fix: flip conditions

* fix: handle empty arrays

* fix: ignore/watch on others profile

* feat: upgrade script for category states

if there are any users ignoring categories set their state in new zset and delete cid:<cid>:ignorers

* fix: upgrade

* fix: tests

* fix: redis count

* fix: more tests
7 years ago
Barış Soner Uşaklı 8169739069 fix: #7108 7 years ago
Barış Soner Uşaklı 62f01a839e fix: dont save data for non-positive uids 7 years ago
Julian Lam 5f3d1c76c8
fix: #7038, autoLocale logic not playing nicely with no-refresh auths (#7059)
* fix: #7038, autoLocale logic not playing nicely with no-refresh auths

- on login, req.query.lang is deleted (since it seems to be left over)
- on logout, the middleware.autoLocale is executed, which resets
  req.query.lang
- middleware.autoLocale is new, just refactored existing logic in
  webserver.js into new middleware method.

* style: tests, use lodash

* fix: timeago strings not switching languages on login or out
7 years ago
Barış Soner Uşaklı f581c052ee feat: #7023
- add category selector to privileges and category create modals
- allow category selector to work for multiple selectors on same page
7 years ago
Barış Soner Uşaklı a63ddbe2aa fix: #7040
if category doesn't exist return null and 404
7 years ago
Barış Soner Uşaklı 1f918ca8f8
Home route (#7039)
* fix: WIP home fix

* remove console.log

* fix: #6949

on redis run all tests in subfolder /forum
fix URI errors
fix sping/ping
7 years ago
Baris Usakli b86f155690 fix: #7037 7 years ago
Peter Jaszkowiak ba619c7ec8 style(eslint): match operator-linebreak preferences 7 years ago
Peter Jaszkowiak 89c025d102 feat: close #7002, console message if mismatched origins 7 years ago
Barış Soner Uşaklı 00a066985a cache categories:cid and cid:<cid>:children
these rarely change, no need to go to db for them
7 years ago
Barış Soner Uşaklı 1d5816b00a add new hook `filter:unread.categories` 7 years ago
Barış Soner Uşaklı d0750bc587 closes #7007 7 years ago
Barış Soner Uşaklı 53ad2bbd6e
Categories optimize (#6999)
* WIP

* fix category page

* fix counts, and copyPrivileges

* fix lint

* more fixes,

* redis fix

* fix test

* fix  category test

* remove getParentsAndChildren
7 years ago
Barış Soner Uşaklı 69ef05707a style 7 years ago
Barış Soner Uşaklı 01c942fc39 closes #6989 7 years ago
Barış Soner Uşaklı fc1c4acccf closes #6960 7 years ago
Baris Usakli b83e50f286 remove delayImageLoading from api @julianlam 7 years ago
Barış Soner Uşaklı 94e10c8c32 closes #6972 7 years ago
Peter Jaszkowiak 57b39d5ba2 fix(acp): small UI fixes for ACP privileges category selector (#6946)
- Add dropdown chevron
- Change translations
- Safety against `category` not an object
7 years ago
Barış Soner Uşaklı 7dabd13fea remove unused 7 years ago
Barış Soner Uşaklı de14102ee7 Merge branch 'master' of https://github.com/NodeBB/NodeBB 7 years ago
Barış Soner Uşaklı d9452bf3d4 fix: custom navigation item not showing groups 7 years ago
Julian Lam b3f96d28aa fix(acp): hard-to-discover dropdown selector in ACP
Made the dropdown an MDL button fab with better positioning via
a p.lead so that it is more easily discoverable and obvious that
it is a button that can be pressed.

Fixes #6899
7 years ago
Barış Soner Uşaklı 69bb3293ee misc fixes
handle spider uids properly
7 years ago
Barış Soner Uşaklı b6771836cf closes #6937 7 years ago
Baris Usakli 2ee743d65c add itemsPerPage to search api 7 years ago
Baris Usakli 62787368c6 add searchonly option to searh api 7 years ago
renovate[bot] 64b9dabff8 chore(deps): update dependency eslint-config-airbnb-base to v13 (#6599)
* chore(deps): update dependency eslint-config-airbnb-base to v13

* chore: #6599, linting 😬
7 years ago
Julian Lam 501b3a79ca
Refactor skins to be built on server-side (#6849)
* WIP

* using bootswatch from npm instead of bootswatch CDN url

* feat: on-demand client css building for skins

* added ability for client-side to select a skin

* updated loading and saving logic of bootstrapSkin on client side user settings

* fix: broken test for #6849
7 years ago
Julian Lam 84433f29ab
Do not require a full refresh on login/logout (#6841)
* no-refresh login as well, plus lots of fixes for missing config on login

* replace config with new set on logout as well

* passing new payload data into new action:app.loggedIn hook, and old action:app.loggedOut hook

* fixed issues with socket.io not properly representing uid on server

* some light refactoring and cleanup

* minor cleanup, fixed spa logout not working after login

* have reconnection handler for socket.io wait 2s to confirm disconnection before reporting -- stops flicker if reconnecting immediately

* Dynamically replace chat and slideout menu on updateHeader()

... instead of just the menu items.

* more efficient calls to Benchpress and translator /cc @pitaj

* fix: chats and notification handlers not working after login

* fix: accidentally calling cb multiple times
7 years ago
Julian Lam 3c8939a80d fix: interstitial redirects failing if done via ajaxify 7 years ago
Barış Soner Uşaklı 412358b070 #6903 7 years ago
Julian Lam 157bea6966 fix: username trim on login, closes #6894 7 years ago
Barış Soner Uşaklı ea1e8fb8fe Merge branch 'master' of https://github.com/NodeBB/NodeBB 7 years ago
Barış Soner Uşaklı c27be9db5a
Recent refactor (#6879)
* wip

* fix inf scroll

* remove duplicated code

* remove dupe code in /unread

* use topicList

* update tag page to use topicList

* fix tests

* combine ifs

* remove more dupe code

* disable timeout
7 years ago
Barış Soner Uşaklı 66ed48e088 closes #6875 7 years ago
Julian Lam 4919e9efa3 feat: allow disabling of GDPR features via ACP toggle, closes #6847 7 years ago
Barış Soner Uşaklı f3a679e268 remove parseInts 7 years ago
Barış Soner Uşaklı 9c03881d5a add threshold for image resizing 7 years ago
Barış Soner Uşaklı 44a957faca remove more parseints 7 years ago
Barış Soner Uşaklı 537b7ff7e8 remove more parseInts 7 years ago
Barış Soner Uşaklı 7a44424214 parse '123' to 123 if it has no default 7 years ago
Baris Usakli 881185ae59 closes #6857 7 years ago
Barış Soner Uşaklı ab7657d445 closes #6854 7 years ago
Barış Soner Uşaklı ac39112271 remove more parseInts 7 years ago
Barış Soner Uşaklı 9c022afae1
Parse int (#6853)
* Store config fields as JSON in the db

Fewer parseInts

* Remove unnecessary parseInts

* remove some dupe code add tests

* remove console.log

* remove more parseInts

* WIP: read meta.configs defaults from defaults.json

remove more parseInts

* more work

* add log for failing test

* update admin pwd

* fix tests, dont require posts/cache before configs are initialized

* handle saves

* Test boolean conditions

* remove more parseInts

* Fix boolean values

* remove lots more parseInts

* removed json parsing

* renamed var to number

* categories dont have timestamp
7 years ago
Barış Soner Uşaklı ee2f9e9434 remove some parseInts 7 years ago
Barış Soner Uşaklı f5fe91286e closes #6851 7 years ago
Barış Soner Uşaklı 26d4e0852f use includes instead of indexOf
use _.uniq instead of filter&indexOf
7 years ago
Barış Soner Uşaklı 6c15aee888 add cache hits/misses to posts cache 7 years ago
Barış Soner Uşaklı b57db7fd8e
update groups join to take array of group names (#6834)
* allow groups.join to take an array of group names

* pass an array to groups.join/leave in privileges

* split up groups/membership

* add hits/miss to group cache

* fix typo
7 years ago
Barış Soner Uşaklı cf1173b0c4 closes https://github.com/NodeBB/nodebb-theme-persona/issues/408 7 years ago
Barış Soner Uşaklı a3d463916c closes #6822 7 years ago
Baris Usakli 3886a704e0 fix lint 7 years ago
Baris Usakli 84737b5a49 use buildForSelect 7 years ago
Baris Usakli 71905bb2c6 fix watched categories 7 years ago
Baris Usakli 9ed4239d8e small changes and test for user/:slug/categories 7 years ago
André Zanghelini 523a2dc54c Add settings page to control watched categories (#6648)
* Add settings page to control watched categories

* Fix passing undefined to pushUnreadCount
7 years ago
Barış Soner Uşaklı b58ab48485 add test for /sessions controller 7 years ago
Barış Soner Uşaklı 49ba5af5fa
closes #6810 (#6813) 7 years ago
Barış Soner Uşaklı 77beaf2e15
Allow local login,closes #6800 (#6803)
* WIP

* reset groups cache after every suite
7 years ago
Baris Usakli edefab1d69 closes #6728
add option to disable a category on creation
show disabled categories on manage privileges
7 years ago
Barış Soner Uşaklı 59b988a205 change test so it checks url 7 years ago
Barış Soner Uşaklı b7ead6dc9c
Replace jimp with sharp (#6774)
* add probe image size and max image size

* replace jimp and image-probe with sharp

* better name for test

* resize with just path

* resize thumb inplace

* use filename
7 years ago
Julian Lam 382d06bbb0 fixes #6765 -- no need to have gmods and admins access login sessions page 7 years ago
Barış Soner Uşaklı b43bfa3d5b closes #6759
-moved user.blocks.filter from unread controller to getUnreadTopics so
topics are filtered at other places this function is called
- when a new post is made do not send it to uids that have blocked the
poster
- update getUnreadTids so it does not return topics that have new posts
from blocked users
- update hasReadTopics so it does not return false data if topic has new
posts from blocked users
7 years ago
Barış Soner Uşaklı 41aae6f418 closes #6749 7 years ago
Barış Soner Uşaklı 446b125c83 escape post content 7 years ago
LudwikJaniuk c7f3b76b4e DRY req props that depend on auth (fix #6727) (#6731)
* DRY req props that depend on auth (fix #6727)

authentication leads to req.loggedIn and req.uid being set. However, a
later authentication event might outdate them. Here, I create one
function for setting those properties, and make sure it also is called
on the `action:middleware.authenticate` hook, which would be such an
authentication event. If there are other places, those should be added
as well.

* fix lint errors

* fix lint error

* change exports
7 years ago
Barış Soner Uşaklı 3e1b007f9f escape title in post queue 7 years ago
Julian Lam c2c925cacd closes #6678 7 years ago
Julian Lam 29836aaad9 rename session account middleware to sessions, plural, prep for fixing #6678 7 years ago
Barış Soner Uşaklı ae4016d9e0 add getCateries to helpers 7 years ago
Julian Lam f751d21d1e removed debug line 7 years ago
Julian Lam a77630c6be closes #6697 7 years ago
Ben Lubar 33228bb7fe PostgreSQL database driver (#5861)
* [test/database/list] Fix test list 4 being used in two different tests

* [database/postgres] PostgreSQL database driver

* [database/postgres] Make transactions work based on continuation scope.

* [database/postgres] Implement nested transactions

* eslint --fix

* Add database changes from earlier this week to the PostgreSQL driver.

* Fix typo

* Fix postgres.incrObjectFieldBy returning undefined instead of null when given NaN

* [database/postgres] Fix sortedSetsCard returning an array of strings.

* Update socket.io postgres adapter

* Fix PostgreSQL erroring when multiple updates are made to the same sorted set entry in a single operation.

Add a test case to catch this error.

* Fix lint errors.

* Only prune sessions on one instance in a cluster to avoid deadlocks.

They're caught and handled by the database server, but they spam the logs.

* Fix arguments.slice.
7 years ago
Julian Lam 3c6c0ed7a1 restoring passwordExpiry for use in continueLogin, fixed tests, hopefully 7 years ago
Julian Lam b6a5419ca1 closes #6674 7 years ago
Julian Lam 4f8815eb78 closes #6646 7 years ago
Ben Lubar f1a6537fc2 Add notification frequencies from nodebb-plugin-upvote-notifications. (#6640)
* Add notification frequencies from nodebb-plugin-upvote-notifications.

https://github.com/boomzillawtf/nodebb-plugin-upvote-notifications

* Fix editing settings clearing upvote notification preferences.
7 years ago
Baris Usakli cc6a683bc4 closes #6631 7 years ago
Julian Lam 7a53fa9469 Added block and unblock button to profile dropdown menu, #6560 7 years ago
Julian Lam f09b1acfb7 closes #6627 7 years ago
Barış Soner Uşaklı 9912c400b6 closes #6612 7 years ago
Barış Soner Uşaklı 95f1a82884 closes #6591 7 years ago
Barış Soner Uşaklı bc437c8da3 fix popular rss feed url 7 years ago
Barış Soner Uşaklı ccad95cf73 closes #6579 7 years ago
Barış Soner Uşaklı e7cd552e33 closes #6568 7 years ago
Peter Jaszkowiak 70ff2d9b88 Support scoped theme packages 7 years ago
Barış Soner Uşaklı 0b0ce1df8a closes #6549 7 years ago
Barış Soner Uşaklı d31d8fa806 move category pageview to controllers
so topic views are tracked as category views
7 years ago
Barış Soner Uşaklı 7df57ba7a7 remove dupe code 7 years ago
Julian Lam 4e7fdf3e12 Saving flag filters into session object
Closes #6533
7 years ago
Barış Soner Uşaklı b0dad9bd7f closes #6369 7 years ago
Barış Soner Uşaklı 11bb2f1560 closes #6528 7 years ago
Barış Soner Uşaklı d7acec260f closes #6530 7 years ago
Barış Soner Uşaklı 6eea11a4fd closes #6529 7 years ago
Barış Soner Uşaklı a7267df404 closes #6464 7 years ago
Barış Soner Uşaklı 229e49cf8f closes #6523, closes #6524 7 years ago
Barış Soner Uşaklı 65dc530df5 some controller tests 7 years ago
Julian Lam be1a977c71 fix post export crashing if a pid reference doesn't resolve to an actual post object 7 years ago
Barış Soner Uşaklı e29e0a98f5 closes #6515 7 years ago
Julian Lam d648e55493 closes #6494 7 years ago
Julian Lam d1fd07f42f remove console.log, #6486 7 years ago
Julian Lam 18bde866ff Append file name to the JSON payload returned
... during file upload process... closes #6486
7 years ago
Barış Soner Uşaklı cc3569bf51 closes #6491 7 years ago
Julian Lam f2d3111114 disable strict checking of object schema in post upload CSV generation, #6490 7 years ago
Julian Lam 44f8e6d3bb Revert "closes #6483"
This reverts commit 5d198491d5.
7 years ago
Barış Soner Uşaklı 1f8b000530 log and show last restart on ACP dashboard 7 years ago
Julian Lam 5d198491d5 closes #6483 7 years ago
Julian Lam 99f1a5380e closes #6483 7 years ago
Julian Lam c9d8fc3f58 one more minor fix to req.flash err 7 years ago
Julian Lam 4533a311e1 possible fix to req.flash err crash 7 years ago
Julian Lam dc386b5b23 Merge branch 'master' into user-blocking 7 years ago
Julian Lam 8db98b5cf4 additional UCP integration for #6463 7 years ago
Barış Soner Uşaklı 7e00d6b91e https://github.com/NodeBB/NodeBB/issues/6433 7 years ago
Julian Lam 3951bb9532 Merge remote-tracking branch 'origin/master' into user-blocking 7 years ago
Julian Lam 7089e5c6a6 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı 6659a520e0 closes #6465 7 years ago
Julian Lam ca932d30d2 basic UCP integration #6463 7 years ago
Julian Lam 4f6cc20457 completed basic integration for #6463 7 years ago
Andrew Rodrigues 0971625e63 allow global mods to still login locally as well as admins if disabled in ACP 7 years ago
Julian Lam fc3ecedf7c Merge remote-tracking branch 'origin/master' into develop 7 years ago
Julian Lam 777d9aeee6 implement proper file sorting by mtime in ACP uploads 7 years ago
Julian Lam 388765bdf9 added post usage column to uploads ACP page
re: #6455
7 years ago
Julian Lam 03dd9dd49b fixed up relative pathing issue in ACP uploads again 7 years ago
Julian Lam 364ded4f8e Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı 501d02220c closes #6456 7 years ago
Julian Lam 67dec83011 profile export for #6441 + integration 7 years ago
Julian Lam a6564b7b4e endpoint to download user attachments, #6441 7 years ago
Barış Soner Uşaklı 5d2a7106f6 change upload storage 7 years ago
Julian Lam 7ba2ac9f69 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Julian Lam 90a99fe158 closes #6442 7 years ago
Julian Lam 2e6e7f7484 posts export endpoint for GDPR, re: #6441 7 years ago
Barış Soner Uşaklı 927537c759 #6431 add private upload info 7 years ago
Julian Lam 8e822c7772 Added user consent pages (#6430)
- "Your Rights & Consent" user settings page
7 years ago
Barış Soner Uşaklı 7cd004ca23 user uploads route 7 years ago
Barış Soner Uşaklı 04979f86a8 delete users uploads on account delete
store uid:<uid>:uploads
7 years ago
Julian Lam e9ed7f0bb3 closes #6435 7 years ago
Barış Soner Uşaklı 47606c8df5 merge 7 years ago
Barış Soner Uşaklı 0070f5c1b2 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Barış Soner Uşaklı df770aed8e closes #6416 7 years ago
Julian Lam c1aa46c663 added new option to disable post diffs /cc @BenLubar 7 years ago
Barış Soner Uşaklı 749b282cdd add matchwords to search api 7 years ago
Barış Soner Uşaklı 2faaf5b35f closes https://github.com/julianlam/nodebb-plugin-mentions/issues/99 7 years ago
Julian Lam 9aa9183cc3 implementing zxcvbn in reset-code tpl, re: #6400 7 years ago
Barış Soner Uşaklı 6ebaa800fe fix popular cache for guests 7 years ago
Barış Soner Uşaklı b1ccd04ffc closes #6386 7 years ago
Peter Jaszkowiak eaae5b52cd ACP quick actions (#6374)
* ACP quick actions

- Moved restart, build & restart, and logout into separate buttons
- Moved buttons on mobile into the side menu
- Added version and upgrade alert to header / mobile menu
- Moved version checking to server-side with a cache for rate limiting
- Changed "reload" translations to "rebuild and restart"

* Change info alert to black-on-white to match focused search bar

* Fix tests

* Fallback for failed fetch of latest version
7 years ago
Barış Soner Uşaklı dcb6af5768 closes #6373 7 years ago
Julian Lam a126f07471 closes #6043 7 years ago
Baris Usakli a5cceabc89 dont go below 0 7 years ago
Julian Lam c93f943bef Merge branch 'develop' 7 years ago
Barış Soner Uşaklı e1c6761087 closes #6258 7 years ago
Barış Soner Uşaklı 7b45a6ea8b Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Baris Usakli 1c24c34d04 add missing comma 7 years ago
Baris Usakli d25eb674c6 make climate happy 7 years ago
Julian Lam a8ec6a4a9c patching accidental leakage of full path of uploaded file when uploading pictures or attachments 7 years ago
Julian Lam c25d752573 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı c7b73b4e41 closes #6337 7 years ago
Julian Lam 52678621f9 revising minimum password strength to be 1 instead of 0 7 years ago
Julian Lam 1ce448f2a1 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı 15e9bbac92 closes #6311 7 years ago
Barış Soner Uşaklı 723f31a362 closes #6323 7 years ago
Barış Soner Uşaklı 7b6282f530 closes #6308 7 years ago
Julian Lam f7c412882a add reset routes to robots.txt disallow 7 years ago
Barış Soner Uşaklı ac1f7eefe5 closes #2304 7 years ago
Julian Lam 897a7d84f9 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Julian Lam 7581dd1174 Closes #6245
- Moved account info to within the profile menu hook, so it can be
  better filtered and shown to mods
- Also serves as a nice template for plugins that wish to listen
  to the profileMenu hook!
7 years ago
Julian Lam fbf52407fd Re: #6425
- Exposing IP addresses to moderators
7 years ago
psychobunny 212486d230 hide topic upvotes on category page when rep system is disabled 7 years ago
Barış Soner Uşaklı 8427601b04 closes #6287 7 years ago
Barış Soner Uşaklı 155e20d216 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Barış Soner Uşaklı c7506d77b0 closes #6247 7 years ago
Julian Lam 5c3155f145 firing hook on chat message load and exposing upload_url to client-side 7 years ago
Baris Usakli c37be3b58f remove my stupid code 7 years ago
Julian Lam a4939d78fe Moved ping to its own controller
re: #6281
7 years ago
Julian Lam b14e531cee Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı 813fdaf6f6 fix pageCount calculation 7 years ago
Barış Soner Uşaklı 33a8cb947e Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Barış Soner Uşaklı 08562ad9cc closes #6276 7 years ago
Julian Lam 0cefa56a0b Fixes #6269
Also fixed issue where if homePageRoute was not set (as in brand-
new install), then categories would also show up, in this revised
logic. Oops.
7 years ago
Julian Lam 593c5047cf fixes #6269 7 years ago
Julian Lam ac2e185e34 Fixes #6261
If a connection to the parent process is not detected, disable
the restart and reload buttons (as they won't work anyway).
7 years ago
Julian Lam 457194b333 Merge branch 'master' into develop 7 years ago
Barış Soner Uşaklı 13850e3586 fix categories not showing up in ACP dropdown if they are links 7 years ago
Julian Lam d5073a9a4f better handle loading of flag details if getTarget returns null or undefined instead of {} for purged data
Not quite sure in what scenario it would be null or undefined...
7 years ago
Barış Soner Uşaklı 72140e5338 closes #5991, closes #5884 7 years ago
Julian Lam 9bcd4928c7 Merge branch 'develop' into chat-rewrite 7 years ago
Barış Soner Uşaklı 9c59abefbf style change 7 years ago
Julian Lam 970c8b6f64 Merge branch 'develop' into chat-rewrite 8 years ago
Barış Soner Uşaklı 8446a733e5 closes #5569 8 years ago
Barış Soner Uşaklı 6552ebbd8b fix redis test for custom home page 8 years ago
Barış Soner Uşaklı ff6c6a54c1 make upload permissions global
give upload image permission to registered users on install
add global privileges to app.user.privileges for client side use
8 years ago
Julian Lam c9364291fb Merge branch 'develop' into chat-rewrite 8 years ago
Baris Usakli 025709499c more fixes 8 years ago
Baris Usakli 242dc41aca move privileges to same page 8 years ago
Baris Usakli 63b9255fa1 Merge remote-tracking branch 'refs/remotes/origin/master' into chat-permission 8 years ago
Julian Lam 3d74fc8220 some changes to fix class names used, character countdown support, etc. 8 years ago
Barış Soner Uşaklı 50cc62e2aa fix rss feed on topic #6184 8 years ago
Barış Soner Uşaklı 3196311f15 closes #6184 8 years ago
Baris Usakli 4a73621dca chat privilege 8 years ago
Julian Lam 6bd8740342 removing hasImageUploadPlugin from config api 8 years ago
Julian Lam 88b47f357b removed user.uploadFromUrl and associated logic as cropped image modal supercedes it @pichalite 8 years ago
Barış Soner Uşaklı 926b763f74 show hit ratio instead 8 years ago
Barış Soner Uşaklı 53afa552d0 closes #6162 8 years ago
Barış Soner Uşaklı 43180d4b83 #6158 8 years ago
Barış Soner Uşaklı 27b65a439a refactor of og:image code 8 years ago
Barış Soner Uşaklı dace7d716f get all images in post 8 years ago
Barış Soner Uşaklı aa1d22ec79 handle relative images 8 years ago
Barış Soner Uşaklı 15a8ec2138 fix url 8 years ago
Barış Soner Uşaklı ae5dc795c3 #5824 8 years ago
Baris Usakli 32a8076f2a add missing meta 8 years ago
Baris Usakli f177b01022 closes #6147 8 years ago
Barış Soner Uşaklı c406d26beb if route is home display home as title 8 years ago
Barış Soner Uşaklı fd78eb6d57 closes #5533 8 years ago
Barış Soner Uşaklı e6d31c8bd2 add referer check to /api/admin/users/csv 8 years ago
Barış Soner Uşaklı b7714179f6 removed unused dependency 8 years ago
Barış Soner Uşaklı a7a3f3619b dont allow login with invalid ip, escape ip display on user/info page 8 years ago
Barış Soner Uşaklı cb4930dac8 remove version and environment from config 8 years ago
Baris Usakli d9c38c7e4f closes #6132 8 years ago
Barış Soner Uşaklı fe3a75812f closes #6113 closes #6114 8 years ago
Barış Soner Uşaklı d96674da64 add test for composer fix 8 years ago
Peter Jaszkowiak 74ceb78800 Upvote notification frequency selection (#6087)
Closes #5963

- Notify on every upvote
- Notify on every tenth upvote
- Notify logarithmically (on 10, 100, 1000...)
- Disable upvote notifications
8 years ago
Peter Jaszkowiak 4fcedc6f31 Enable imports in custom email templates (#6052)
* Enable imports in custom email templates

* Compile emails on config change

* Add error logging

* Add emailer tests

* Fix tests

* Only build when config changes
8 years ago
Barış Soner Uşaklı 12ca1c4e7a closes #6093 8 years ago
Peter Jaszkowiak 11b9cb7688 Fix #6076, `action:home.get:*` returned to previous functionality (#6077)
Added tests to confirm `buildHeader` is used and `/api` works
8 years ago
Peter Jaszkowiak c47c47f7e3 Use less memory to build translation files (#6070)
* Change languages build to use less memory

Add graceful-fs so no ned to worry about fs limits

* Specify encoding for fs.readFile

Use eachLimit since graceful-fs handles that now
8 years ago
Barış Soner Uşaklı dd176dd5f2
Notification delivery (#6072)
* ability for users to choose how they receive notifications

add type field to more notifications, the type field is used to
determine what to do based on user
setting(none,notification,email,notificationemail)

* change var name to types

* cleanup

* add event types for privileged users

* remove unused language keys

* fix uids check

* changed if statements

* upgrade script to preserver old settings
8 years ago
Baris Usakli 1eca1f1da9 add missing require 8 years ago
Baris Usakli 38e52a65be fix breadcrumbs and home /api route not loading 8 years ago
Baris Usakli 4fdc1b99c6 remove unnecessary variable 8 years ago
acardinale 78e65ab8c8 Fix if cover URL is external URL (#6026)
* Fix if cover URL is external URL

Currently, when cover:url is an external URL, it's concat with relative path

* Fix if cover URL is external URL

Currently, when cover:url is an external URL, it's concat with relative path [fix barisusakli]

* Fix missing '

* Add User (uid) Welcome Notification

* Revert "Fix missing '"

This reverts commit 2da2d98ae295f1d7db63076587a3feae530dbe64.

* Revert "Revert "Fix missing '""

This reverts commit f4fca746e89d8c8b9515515bdbc42d449ebe0194.

* Revert "Add User (uid) Welcome Notification"

This reverts commit 831e291e78f27f2ac9382612772126c36490d36b.

* Fix eslint doesnt like nesting ternary operators

* fix space after if
8 years ago
Barış Soner Uşaklı e4ea4d5134 move composer routes to its own file 8 years ago
Peter Jaszkowiak bbdc55cb3a Better fix for #5993 (#6034)
* Better fix for #5993

Also a nice newline so the line doesn't get overwritten when running `./nodebb upgrade`

* Optimizations for custom homepage

Move it into a separate module
8 years ago
Barış Soner Uşaklı 760c061b1d closes #5993 8 years ago
Barış Soner Uşaklı 4551ee4768 some more tests 8 years ago
Barış Soner Uşaklı 662f92a4a8 supply callback to req.session.destroy 8 years ago
Julian Lam 7e0d0e0eb5 Merge remote-tracking branch 'origin/develop' 8 years ago
Barış Soner Uşaklı 5b2a674a4f closes #6020 8 years ago
Barış Soner Uşaklı d5d6748c71 closes #6013 8 years ago
Baris Usakli 47143a4a09 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Baris Usakli a500e0019c closes #6005 8 years ago
Barış Soner Uşaklı 41fbf7117d Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Barış Soner Uşaklı a73c2628c4 cache improvements, stats 8 years ago
Peter Jaszkowiak 62ae171432 Merge remote-tracking branch 'origin/master' into develop 8 years ago
Barış Soner Uşaklı 6a2019c646 closes #6003 8 years ago
Barış Soner Uşaklı e7318a1cea Mongo cache (#6002)
* cache mongodb objects

remove user settings cache since it is cached at the object level

* removed indexOf from isMemberOfSets

* change has to get, change maxAge to 0
8 years ago
Baris Usakli c4310395c9 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
# Conflicts:
#	package.json
8 years ago
Baris Usakli 19dc7da42f closes #5994 8 years ago
Barış Soner Uşaklı 5e6d8ea566 handle 404 first 8 years ago
Peter Jaszkowiak 46fafb20b9 Remove string.js dependency 8 years ago
Baris Usakli 500c978a26 closes #5944 8 years ago
Julian Lam 72502ff992 utilising whitelist instead of blacklisting javascript protocol 8 years ago
Julian Lam 5863d64d27 prevent inline js payloads from executing in outgoing page 8 years ago
Barış Soner Uşaklı 67ba6bb820 closes #5977 8 years ago
Barış Soner Uşaklı 9e9de2edd0 closes #5976 8 years ago
Julian Lam 6852c92ed6 Merge remote-tracking branch 'origin/develop' 8 years ago
RoiEX 1fd160a4e6 Add Support for Firefox OSD 8 years ago
Peter Jaszkowiak da9da8190f Bump dependencies
Bumping eslint & configs meant making some linting fixes

For future reference, the `xmlhttprequest-ssl` library must be of equal versioning to the one in `engine.io-client`, otherwise it won't be deduped which causes the socket.io tests to fail
8 years ago
Peter Jaszkowiak dc87d7fc0f Use .js instead of .jst
Fix #5934
8 years ago
Barış Soner Uşaklı f989988178 closes #1668 8 years ago
Baris Usakli 852396e60d closes #5903 8 years ago
Julian Lam 8b0e6611d9 fixed incorrect parameter passed into hook 8 years ago
Julian Lam 9f4e92fa13 closes #5925 8 years ago
Julian Lam 38a7030639 Revert "Merge pull request #5923 from NodeBB/patch-5922"
This reverts commit f8ddabc884, reversing
changes made to 4976d13013.
8 years ago
Peter Jaszkowiak f40d37ad48 Fix #5922 8 years ago
Baris Usakli 1358a89305 closes #5907 8 years ago
Peter Jaszkowiak 23e7222dfa Update Nodemailer to v4
also filter out .jst files from email template dropdowns
8 years ago
Barış Soner Uşaklı 5cc39e8546 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
# Conflicts:
#	package.json
#	src/views/admin/manage/ip-blacklist.tpl
8 years ago
Julian Lam 53ca6d1199 closes #5889 8 years ago
Julian Lam 81cf8f77d3 add blacklist test to onSuccessfulLogin as well 8 years ago
Barış Soner Uşaklı fcce96efab style change 8 years ago
Barış Soner Uşaklı ff88be91fa Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Barış Soner Uşaklı 5344edc2a7 closes #5885 8 years ago
Baris Usakli dc9b21021a escape moderation notes 8 years ago
Baris Usakli bc0645dc26 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Baris Usakli 0ce3e4b691 post-queue show category, send notification 8 years ago
Baris Usakli 575c9a41cd Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Barış Soner Uşaklı f161bbf956 Post queue (#5878)
* #5876

* add user to post queue table

* add time of post into queue

add posting restrictions to queue

* fix shouldQueueLogic for guests

* add test for post-queue route
8 years ago
Barış Soner Uşaklı fc0e5421d6 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Baris Usakli c21f64c27f closes #5872 8 years ago
Baris Usakli 27a6b8a713 lint fixes 8 years ago
Baris Usakli bc6b1a8f56 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
# Conflicts:
#	public/src/admin/extend/plugins.js
8 years ago
Julian Lam d9ad26c7c5 the meat of #5862, making chat loading not require an ajaxification 8 years ago
Baris Usakli de55c8e431 closes #4070 8 years ago
Baris Usakli c0861277de closes #5775 8 years ago
Julian Lam d06f114705 comma DANGLE 8 years ago
Julian Lam f77f17dc20 just use emailLogo instead of doing logo with x50.png suffix 8 years ago
Baris Usakli 875672522e Merge remote-tracking branch 'refs/remotes/origin/master' into develop
# Conflicts:
#	src/search.js
8 years ago
Barış Soner Uşaklı 7a405da60f group member search change 8 years ago
Julian Lam 61deb962e3 adding notifications.get hook 8 years ago
Baris Usakli a9dbdc75af closes #5825 8 years ago
Julian Lam 84c1a182e5 Merge remote-tracking branch 'origin/master' into develop 8 years ago
Barış Soner Uşaklı 9d69224329 up themes fix altenate_logins to be bool 8 years ago
Julian Lam 184dacf1d7 Merge branch 'master' into develop 8 years ago
Julian Lam c4fbed24f8 Squashed commit of the following:
commit 9c86d9b2904e14927cd7e9679b92aec0951d1063
Merge: ebfa63a 5a7f811
Author: Julian Lam <julian@nodebb.org>
Date:   Thu Jul 20 08:41:39 2017 -0400

    Merge branch 'noscript-login' of https://github.com/An-dz/NodeBB into noscript

commit 5a7f81185e8f9bd7d2d011c3d495988be7e437a3
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Mon Jul 17 23:07:14 2017 -0300

    Rename clashing variable 'next'

commit ebfa63a984073a58c17aa408c363cdb03ef89985
Merge: c1801cd f159d0d
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Jul 17 16:30:40 2017 -0400

    Merge branch 'noscript-logout' of https://github.com/An-dz/NodeBB into noscript

commit c1801cda14e6363491e30b659902e2ae71f7e1f7
Merge: 7a5f9f3 9fd542d
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Jul 17 16:30:31 2017 -0400

    Merge branch 'noscript-register' of https://github.com/An-dz/NodeBB into noscript

commit 7a5f9f35abc834bb72ddddc9ca07d34f2fde8353
Merge: 44851f9 d37b95c
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Jul 17 16:30:10 2017 -0400

    Merge branch 'noscript-compose' of https://github.com/An-dz/NodeBB into noscript

commit f159d0d9ef1b7f600e830a96fdb4b9c87c79bb4a
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Thu Jul 6 12:16:38 2017 -0300

    Prevent form submit

    Required for theme change

commit d37b95cb71d32d4483190609798e244c331db165
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Thu Jul 6 01:49:52 2017 -0300

    Prevent link action with scripts

    Required for the theme change that changes the buttons to `a` tags.

commit 9fd542d8970b7d1a4126f4edc4b44eab7d708fb0
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Wed Jul 5 19:57:56 2017 -0300

    Fix tests

commit cdad5bf8c2891ad76f7441fd4d8a74b058a14e6d
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Wed Jul 5 19:09:17 2017 -0300

    Update error handling

commit 4ff11cd136a4fb98483f837e2cebc741380dfe76
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Wed Jul 5 17:29:08 2017 -0300

    Remove async waterfall

commit df01d44e821a70c984b89e9585a325c3e02c6e37
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Wed Jul 5 16:59:43 2017 -0300

    Set noscript compose as noscript at start

commit 4bcc380da72239b8315cc849a77a3036e06e4a12
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Wed Jul 5 16:59:12 2017 -0300

    Remove last useless next

commit b5eac6fea11e209934c0648a7e75ad07a2167123
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Sun Jul 2 18:35:08 2017 -0300

    Last function requires no next

commit 20a5cce6e6e32a454c304c448383707ec44c75a8
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Sun Jul 2 18:06:58 2017 -0300

    Remove more useless next calls

commit 85ee22a79bcbbb1995106f43d4c74d6ba9206cab
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Sun Jul 2 17:46:07 2017 -0300

    Remove useless next calls

commit 7d984c47ad24faac1fe537dee4a5a7d697e8634c
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Sun Jul 2 15:45:31 2017 -0300

    Support old themes

commit 4a09dfbd08253115c342a9e829c4e6940cecb8cc
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Sun Jul 2 15:37:23 2017 -0300

    Moved all error handling into helpers function

commit 391aa6e67ef9ab67304005e14ac0633cdb630713
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Thu Jun 8 15:37:37 2017 -0300

    ESLint - Fix mixed conditionals

commit 80ccc6fd581d791f31e7ab62de8de611837bfc3c
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Sat Jun 3 18:08:15 2017 -0300

    Compose without scripts

commit 2aca811256721238ca0cede4954213d369009885
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Sat Jun 3 18:00:44 2017 -0300

    Register without scripts

commit 097bb51577fb26f8e22f86dc274cb670ab606a8a
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Sat Jun 3 16:42:15 2017 -0300

    Logout without scripts

commit d497e08109891079656fee1c145043a9c0e55f2e
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Sat Jun 3 16:27:10 2017 -0300

    Login without script
8 years ago
Barış Soner Uşaklı eecc680761 style 8 years ago
dbolack-ab c1452db0ba Adds the filter:uploadStored hook which fires after the file is saved… (#5798)
* Adds the filter:uploadStored hook which fires after the file is saved in the async waterfall and passes:
                       var storedFile = {
                       url: nconf.get('relative_path') + upload.url,
                       path: upload.path,
                       name: uploadedFile.name,
               }
               plugins.fireHook( 'filter:uploadStored', { uploadedFile: uploadedFile, storedFile: storedFile } );

* Corrections per PR. Should match style guide.

* Correction attempts take 2.

Per:

/home/travis/build/NodeBB/NodeBB/src/controllers/uploads.js

  234:5    error  Missing semicolon                            semi

  235:3    error  Expected indentation of 3 tabs but found 2   indent

  235:19   error  There should be no spaces inside this paren  space-in-parens

  235:105  error  There should be no spaces inside this paren  space-in-parens

  236:3    error  Expected indentation of 3 tabs but found 2   indent

* next() shouldn't fire twice, but I see no documentation suggesting that the paramaters will fire correctly.

Previous comments imply it is preferred to have fireHook fire fof the callback rather than having it happen next,  so I'm wrapping next in an anonymous function to ensure it passes the parameters.

If this is not the preferred method, please provide a thorough correction.

* Meh. Figuring out this style requirement is so hit and miss.

* Corrected for proper callback? technique.

Might blow up on style. Will watch.
8 years ago
Julian Lam c40b11aa6e updated site upload logic so that site logo is resized for email header, implemented site logo in email header 8 years ago
Barış Soner Uşaklı cc4f4e7282 style changes 8 years ago
Baris Usakli ea29e3e250 simpler call to validateFilters 8 years ago
Baris Usakli 30199f921e Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Julian Lam 701ba73883 updated homepage route logic so that it is all contained in the local function (and plugin hook receives all entries, including custom) @barisusakli 8 years ago
Julian Lam c2f1d254cc Merge branch 'master' into develop 8 years ago
Baris Usakli e036e26238 closes #5813 8 years ago
Barış Soner Uşaklı 923bd86662 Widgets refactor (#5817)
* widgets refactor

render widgets server side
widgets can use all the data the template can use

* fix tests
8 years ago
Baris Usakli e0de922ede Revert "widgets refactor"
This reverts commit 9e94edb5aa.
8 years ago
Baris Usakli 9e94edb5aa widgets refactor
render widgets server side
widgets can use all the data the template can use
8 years ago
Julian Lam b7e8ecc6d3 updated mentions version and changed topics filter to take its translation from global hash instead 8 years ago
Barış Soner Uşaklı b807d3750c encodeURI redirect url 8 years ago
Julian Lam 3f2c183cbd Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak 6cb8440715 Fix #5793
Use a custom header instead
8 years ago
Julian Lam 8a7950bfd5 add new hook to allow plugins to modify list of valid filters 8 years ago
Barış Soner Uşaklı e6cbaf6d85 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Baris Usakli 1f5b3ba636 closes #5771 8 years ago
Barış Soner Uşaklı 0f234601f1 style changes 8 years ago
Barış Soner Uşaklı 78005d6124 show old groups first 8 years ago
Baris Usakli 1b0c6741f8 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Baris Usakli 77994dcf69 fix link tag url 8 years ago
Baris Usakli ef9e656f34 closes #5740
added token to topic page as well
check privilege even if token is provided
tests
8 years ago
psychobunny 228e9ab8e3 proof of concept for #5740 8 years ago
Barış Soner Uşaklı 7fe9366103 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Ben Lubar 07982a3fa2
Fix uploading a file with no extension resulting in invalid-extension even if the file extension list is blank (allow all) 8 years ago
Barış Soner Uşaklı d9e84b1db8 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Barış Soner Uşaklı b13ed26587 closes #5755 8 years ago
Baris Usakli 982184740d small refactor of category controller 8 years ago
Baris Usakli 037a0e5239 closes #5742
also fix reverse infinite scroll when sorting is changed
8 years ago
Peter Jaszkowiak 44e55d2a98 Less synchronous stuffs 8 years ago
Baris Usakli da8b1b605c #5723 8 years ago
psychobunny 88d5f97280 closes #5717 8 years ago
Baris Usakli d7684b042f fix tab 8 years ago
Baris Usakli 1fa52267d4 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	public/src/admin/manage/category.js
8 years ago
Baris Usakli de5fe25e57 closes #5715 8 years ago
Barış Soner Uşaklı 59b1d8fbae Merge pull request #5710 from NodeBB/_lodash
Switch from underscore to lodash
8 years ago
Baris Usakli dc0971c122 up composer 8 years ago
Barış Soner Uşaklı 9664033b73 add memory usage to info page 8 years ago
Barış Soner Uşaklı 08aaabd33c closes #5642 8 years ago
Peter Jaszkowiak 3c2d4fe649 Switch from underscore to lodash 8 years ago
Barış Soner Uşaklı bcc566fb68 remove unnecessary checks 8 years ago
Baris Usakli 11d9410229 fix test and image normalize test 8 years ago
Baris Usakli 081ac6535c style change 8 years ago
Baris Usakli 9efa46c65a more account tests 8 years ago
Baris Usakli 69b5bb39ec unread tests 8 years ago
Barış Soner Uşaklı 79a48cec5f controllers/category tests 8 years ago
Baris Usakli 062bced3dd cleanup and tests 8 years ago
Baris Usakli b9b02a1fab math.ceil pageCount 8 years ago
Barış Soner Uşaklı b0dd1ad4d7 admin navigation test 8 years ago
Barış Soner Uşaklı c9d502320f file.delete method 8 years ago
Barış Soner Uşaklı b29745aa44 more auth tests 8 years ago
Barış Soner Uşaklı b8cc67dfff social tests 8 years ago
Barış Soner Uşaklı a8c649cca6 check data.uid 8 years ago
Barış Soner Uşaklı e4714a0c58 more auth tests 8 years ago
Barış Soner Uşaklı 9625f89665 remove for loop 8 years ago
Barış Soner Uşaklı 1e83d33283 tests for login 8 years ago
Barış Soner Uşaklı a4ba88dc60 more feed tests 8 years ago
Barış Soner Uşaklı 77894915eb closes #5684 8 years ago
Barış Soner Uşaklı 12f73b7d6f closes #5682 8 years ago
Barış Soner Uşaklı 01e2263c01 more tests 8 years ago
Julian Lam e938d75efc closes #5676 8 years ago
Ben Lubar 572d7a1e8c Fix uploads of files with no extension failing when there is no restriction on file extensions. 8 years ago
Barış Soner Uşaklı 608a7d120c error handler tests 8 years ago
Barış Soner Uşaklı 73f31640d7 more tests 8 years ago
Barış Soner Uşaklı 873801e9f3 fix test on nodev4 remove console.logs 8 years ago
Barış Soner Uşaklı 90018a7aab fix lint 8 years ago
Barış Soner Uşaklı 66dee3452f more tests for admin uploads 8 years ago
Barış Soner Uşaklı bf78786a68 flag controller tests 8 years ago
Barış Soner Uşaklı 3a1eba2537 merge 8 years ago
Barış Soner Uşaklı 6c224c3800 fix cover:url logic 8 years ago
Barış Soner Uşaklı 5b69598f15 Merge pull request #5632 from NodeBB/fix-5631
Fix #5631
8 years ago
psychobunny 41b4ef859f add ban messaging when logged in 8 years ago
Barış Soner Uşaklı e7d076a084 closes #5634 8 years ago
Barış Soner Uşaklı 13a04123e0 closes #5641 8 years ago
Barış Soner Uşaklı f3c4d2ebe3 closes #5636 8 years ago
Barış Soner Uşaklı 59d0815073 closes #5637 8 years ago
Barış Soner Uşaklı 13f5d29cb9 eslint 8 years ago
Barış Soner Uşaklı af6cde5534 show how many nodes responded 8 years ago
Peter Jaszkowiak 2a0cb3b9ee Fix profile covers not working with subfolders
Remove relative_path from the paths saved in the database so they're more portable
8 years ago
Julian Lam 7abd80490b Merge pull request #5626 from NodeBB/reject-nonaudio-uploads
Reject non-audio upload requests to the sounds route
8 years ago
Barış Soner Uşaklı c45c4a5fdb on login display invalid-login-credentials 8 years ago
Peter Jaszkowiak 1ac14a466e Reject non-audio upload requests to the sounds route 8 years ago
barisusakli 33e8ecc1f4 closes #5404 8 years ago
barisusakli fa13e9acc0 closes #5621 8 years ago
Peter Jaszkowiak c7929ec7d8 Add option for disabling language autodetection 8 years ago
barisusakli e3205bcfad merge 8 years ago
Peter Jaszkowiak 0fe10f5e86 Escape topic titles at the source, deduplicate 8 years ago
barisusakli e63559b6fd closes #5484 8 years ago
Julian Lam a141835cf8 Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak 1fb48ef7a7 Fix #5592 (#5593)
* Fix #5592
Escape translation tokens in topic titles, descriptions, profile about, and post contents

* Fix tests
8 years ago
Julian Lam d18cfced96 Merge remote-tracking branch 'origin/master' into develop 8 years ago
Julian Lam a62a4e698f Merge pull request #5578 from NodeBB/utils-translator-require
Make utils and translator easier to require
8 years ago
Peter Jaszkowiak 484a800327 Merge branch master into develop 8 years ago
Peter Jaszkowiak 1ed571189c Make utils and translator easier to require
Move utils.walk to file.walk, backwards compatible
8 years ago
pichalite d4de345e87 syntax 8 years ago
pichalite 4c89497cc4 Closes #5521 8 years ago
André Zanghelini 03d432182b Fix postcount is expected to be Number (#5567) 8 years ago
Peter Jaszkowiak 81696dd24a Fxi #5561 8 years ago
Julian Lam 0e157d93ea Merge remote-tracking branch 'origin/master' into develop 8 years ago
Julian Lam a49e647de3 fixes #5545 again 8 years ago
Julian Lam b649eb95f8 Merge remote-tracking branch 'origin/master' into develop 8 years ago
Julian Lam 31b6d47f88 fixes #5545 8 years ago
Barış Soner Uşaklı fe27d40ff6 closes #5542 8 years ago
barisusakli 5a2ff8ed0a closes #5527 8 years ago
Julian Lam 860999fa6c Merge remote-tracking branch 'origin/master' into develop 8 years ago
barisusakli 3b41c40b93 refactor deleter code to use unixtimestamp 8 years ago
psychobunny f2eb4b8083 closes #5439 8 years ago
psychobunny b3f8428691 closes #5510 8 years ago
barisusakli 32d37465fb limit size of select 8 years ago
barisusakli 47af3eb7e5 use the real count 8 years ago
Julian Lam 793555a344 Merge branch 'master' into develop 8 years ago
Julian Lam 1102ca8ebb fix issue where an auto-redirect to SSO on login route was failing if invoked via API call (ajaxify) 8 years ago
barisusakli b7e6104bbc closes #5511 8 years ago
barisusakli 992e3128bd closes #5499 8 years ago
RoiEX 33e474759b Change var names 8 years ago
RoiEX 6420e22453 Remove uneccessary curly brackets 8 years ago
RoiEX fcda832052 Add spaces 8 years ago
RoiEX 0f9530bbc0 Shrink JSON fix 8 years ago
RoiEX f1b4a9b786 Shrink JSON 8 years ago
RoiEX 186c1f40e9 Refactor Code 8 years ago
Julian Lam af2d9fb85b Merge branch 'master' into develop 8 years ago
barisusakli e85e35cf0c closes #5497 8 years ago
barisusakli a3b4c83e8b remove description from categories
it gets added in src/meta/tags
8 years ago
barisusakli ea871384d8 remove fallbacks 8 years ago
barisusakli 3b8d14bf12 closes #5493 8 years ago
barisusakli 54c951cc81 fix tests 8 years ago
barisusakli 4369a6d290 more user tests 8 years ago
barisusakli bce1208e2f make uploadFile public 8 years ago
barisusakli b1b87d339f more refactors 8 years ago
barisusakli bc8d297377 move out error and 404 controllers 8 years ago
barisusakli 2188036148 controllers/users refactor 8 years ago
barisusakli 566ff95d3c call methods directly 8 years ago
barisusakli 3e396a8553 sitemap refactor 8 years ago
Julian Lam 45c479a101 Merge branch 'master' into develop 8 years ago
barisusakli 2e47cf4db3 intersititial test 8 years ago
barisusakli bb1045c5a0 remove unused require 8 years ago
barisusakli feb359f7d4 closes #5479 8 years ago
Julian Lam 58cbf44143 Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak 007051c14c Fix #5476 8 years ago
Julian Lam b1ceec7571 Merge remote-tracking branch 'origin/master' into develop 8 years ago
barisusakli 0e7740af32 fix tests for subfolder installs 8 years ago
Julian Lam 6e7b505ea7 more linting 8 years ago
Julian Lam ddea9f534e running eslint again 8 years ago
Julian Lam 72e77772db Merge branch 'master' into develop 8 years ago
Julian Lam e71bd7a27f Merge branch 'master' into styleguide 8 years ago
barisusakli 04b07e292c thumb tests 8 years ago
barisusakli ca1fe557c7 topic controller tests 8 years ago
barisusakli 3a87f2566a more group tests 8 years ago
Peter Jaszkowiak dd2b930824 Resolve merge conflicts, minify only `.js` files 8 years ago
Peter Jaszkowiak ee9d7584e4 Fix test, misc 8 years ago
Julian Lam 8154e29ad5 Merge branch 'master' into develop 8 years ago
Julian Lam 672d7352bb Merge branch 'master' into develop 8 years ago
psychobunny 458cbfd603 show dashboard notice if forum is running in dev mode 8 years ago
Julian Lam e887dda37a Merge pull request #5461 from pichalite/image-dimension
Use ACP profile image dimension setting in cropper
8 years ago
Julian Lam e427f1663e Merge pull request #5456 from NodeBB/sounds-refactor
Sound system improvements
8 years ago
Julian Lam 62e0f5f883 Merge remote-tracking branch 'origin/master' into develop 8 years ago
pichalite a99572fc48 Use ACP profile image dimension setting in cropper 8 years ago
Peter Jaszkowiak 23540afaeb Resolve merge conflicts 8 years ago
Peter Jaszkowiak 4bb49a7171 ESlint no-unused-vars 8 years ago
Peter Jaszkowiak c18808fdeb ESlint no-useless-concat, no-mixed-spaces-and-tabs 8 years ago
Peter Jaszkowiak 144fa8698c Eslint no-lonely-if 8 years ago
Peter Jaszkowiak 57f89663aa ESlint radix 8 years ago
Peter Jaszkowiak 09e868ce5f ESlint no-useless-escape, no-else-return 8 years ago
Peter Jaszkowiak a0a50677da ESlint n-loop-func, yoda 8 years ago
Peter Jaszkowiak 32dc7c23ea ESlint guard-for-in, no-nested-ternary
and operator-linebreak
8 years ago
Peter Jaszkowiak c4bdb72941 ESlint no-unneeded-ternary
and no-extend-native, no-sequences
8 years ago
Peter Jaszkowiak 896c8c7343 ESlint object-curly-spacing 8 years ago
Peter Jaszkowiak 1493afee2a ESlint indent 8 years ago
Peter Jaszkowiak 3b0dd2d1ef ESlint padded-blocks 8 years ago
Peter Jaszkowiak feb8405f95 ESlint eol-last 8 years ago
Peter Jaszkowiak a038c66549 ESlint quotes 8 years ago
Peter Jaszkowiak 604358ecc4 ESlint keyword-spacing, no-multi-spaces 8 years ago
Peter Jaszkowiak a5a3f3089a ESlint no-mixed-operators 8 years ago
Peter Jaszkowiak 2e031f3759 ESlint comma-spacing 8 years ago
Peter Jaszkowiak 277a7fb8b4 ESlint key-spacing, no-trailing-spaces 8 years ago
Peter Jaszkowiak b1b486f729 ESlint quote-props 8 years ago
Peter Jaszkowiak 3361a72725 ESlint no-plusplus
and no-empty, space-unary-ops
8 years ago
Peter Jaszkowiak 3d6bfa47c5 ESlint no-useless-return 8 years ago
Peter Jaszkowiak 52f2028206 ESlint no-multiple-empty-lines 8 years ago
Peter Jaszkowiak 2ba46808a1 ESlint one-var, fix comma-dangle 8 years ago
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle 8 years ago
pichalite 7f4e4c8e2e Fix styling 8 years ago
pichalite 4d755bad0c Use typeToExtension from file.js 8 years ago
Peter Jaszkowiak 9f15008247 Address review issues 8 years ago
Julian Lam f7f5b2c8d9 Merge remote-tracking branch 'origin/master' into develop 8 years ago
barisusakli e009ce5609 closes #5443 8 years ago
Peter Jaszkowiak c75391f9f5 Sound system improvements
- Fix sound ACP uploads
- Display soundpack names with sound files
- Soundpacks can have sounds with identical names
- Link sounds during build step
- Generate map of sound name to file name during build step
- Change how soundpacks work. It's now done via a field in plugin.json
8 years ago
Julian Lam 7f124a3ccf Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak 8f27d7810b Ajaxify improvement, `/assets/uploads` 8 years ago
Julian Lam 7ba111acdd Merge pull request #5420 from NodeBB/assets-route
/assets/uploads
8 years ago
Barış Soner Uşaklı a3e327301b update regex 8 years ago
barisusakli b1511a1870 change client route 8 years ago
Peter Jaszkowiak aaacdb8413 Fix #5416, uploads path config setting
- Finish moving uploads route to `/assets/uploads`
- Remove `upload_url` config setting, it was broken
8 years ago
barisusakli 387110fecc closes #5315 8 years ago
Julian Lam 8a0a74d95e Merge remote-tracking branch 'origin/master' into develop 8 years ago
Julian Lam bfd16d188e Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak 360a35d0a6 Resolve merge conflicts 8 years ago
barisusakli 51981ffb99 get extention from content type 8 years ago
Peter Jaszkowiak c14a31644b Merge branch 'master' into 'develop' 8 years ago
Stephan 0c6679ca9c Update dashboard.js 8 years ago
Julian Lam debffe385f closes #5316 8 years ago
barisusakli 366ab103a4 closes #5405 8 years ago
barisusakli 3fb7f9fce5 closes #5398 8 years ago
barisusakli 2a33991f0d read usercount from global object 8 years ago
Stephan af4df8e197 added missing translation
added missing language string in dashboard.js
8 years ago
Julian Lam 73879b824c Merge branch 'master' into develop 8 years ago
Julian Lam 339845ff6b Merge pull request #5366 from pitaj/build-translations
Compile translations in the build step
8 years ago
Julian Lam 48909e753c Merge branch 'master' into develop 8 years ago
Julian Lam 06a77143bd additional logging and removing interstitial session data if plugins don't return interstitials 8 years ago
Peter Jaszkowiak 8c86b2e32c Build pipeline improvements
- Refactor meta/css
- `fs.link` usage consolidated to `file.link`
- rimraf built modules directory to fix error
- Remove `local-assets` flag
8 years ago
Peter Jaszkowiak 05b68391dd Use `/assets` for client assets
- Route `/assets` -> `build/public`, falling back on `public`
- Moved destinations for `nodebb.min.js`, `acp.min.js`, `admin.css`, `stylesheet.css`, `templates`, and `sounds` to `build/public`
- r.js modules previously routed through express are now symlinked into `public/build/src/modules`
- minfiles no longer served from a memory cache
- use config `views_dir` setting everywhere template directory is used
- fix cache buster `v=v=`
8 years ago
Peter Jaszkowiak 2f07c18c5a All hail the glorious translation prebuilding 8 years ago
Julian Lam d29361f4c9 added additional visibility masks for profile menu hook, also added isPrivileged user method, closes #5306 9 years ago
Julian Lam 43056a4bfa Merge branch 'master' into develop 9 years ago
barisusakli c0a8fd7395 allow multiple tags 9 years ago
Julian Lam 81ca10d72e Merge pull request #5332 from pitaj/async@2
async v2 upgrade
9 years ago
Julian Lam 3861b2dd80 Merge remote-tracking branch 'origin/master' into develop 9 years ago
Julian Lam 541f51e947 restrict flags interface so that moderators only see flags from cids they can actually moderate 9 years ago
barisusakli 6b2dde02b5 closes #5333 9 years ago
Peter Jaszkowiak 11f7cc4163 Pass tests 9 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
Barış Soner Uşaklı 35ac64db7f Merge pull request #4504 from BenLubar/unread-topics
Add /unread/new, which is the same as /unread but does not show topics that were already partially read by the user.
9 years ago
barisusakli e564260650 moved groupTitle from user settings to user profile/edit 9 years ago
Julian Lam 3390b7d7f6 closes #4516 9 years ago
Raphael Beer 006496efe3 Add pid to teaser ajaxify data 9 years ago
Ben Lubar 217f0c5652 Switch to a named filter for unread to allow future expansion.
Don't use the query string as it is not passed to infinite scroll.
9 years ago
Ben Lubar a61d947295 allow filtering /unread to only topics that have not yet been seen 9 years ago
barisusakli a81285befa dont crash if category doesn't exist 9 years ago
Julian Lam 0449e014f6 updated some help text 9 years ago
Julian Lam a9f966f23c closes #4503, /cc @BenLubar 9 years ago
barisusakli d92fde9824 filter out registered users 9 years ago
barisusakli cb2ea163a0 closes #4486 9 years ago
Barış Soner Uşaklı 99ae0eb378 closes #4468 9 years ago
Julian Lam 22f73a8f68 fixes #4463 9 years ago
psychobunny f277c66089 closes #4459 9 years ago
barisusakli 7ab55b0e95 closes #4392 9 years ago
Ben Lubar c7cfe45d0b fix double-URL-encoding causing redirect loops 9 years ago
barisusakli 931dedf7f1 revert 50 change on admin 9 years ago
barisusakli 9b1dab8ef9 up default to 50 9 years ago
barisusakli f4dd3d2082 up users per page to 50 9 years ago
barisusakli 7e6e3b3a40 closes #4383 9 years ago
barisusakli e2f78a9585 closes #4432 9 years ago
barisusakli e694bd8ab5 closes #4431 9 years ago
psychobunny a68811cad2 closes #4428 9 years ago
barisusakli f665a1e353 closes #4394 9 years ago
Barış Soner Uşaklı 4d92ddf634 Merge pull request #4416 from BenLubar/email-hidden-symbol-for-staff
show the crossed-out eye icon for private email addresses
9 years ago
Ben Lubar 3c607f2612 fix two crashes 9 years ago
Ben Lubar d654978508 show the crossed-out eye icon for users who want their email private for staff, not just the user 9 years ago
barisusakli 9e44bd3d21 up themes 9 years ago