9943 Commits (ddd07c1a9d08dad0018c22199ea6fafb471626f5)

Author SHA1 Message Date
Barış Soner Uşaklı 17ce482c9f closes #6780 6 years ago
Barış Soner Uşaklı 7787c9b4bb
fix wrong year on upgrade script 6 years ago
Barış Soner Uşaklı 24601694db
fix wrong year on upgrade script 6 years ago
Baris Usakli edefab1d69 closes #6728
add option to disable a category on creation
show disabled categories on manage privileges
6 years ago
Baris Usakli 4d5e164fd2 closes #6778 6 years ago
Barış Soner Uşaklı 59b988a205 change test so it checks url 6 years ago
Barış Soner Uşaklı 71ccd67665 closes #6722
calculate size of base64 image from buffer, still not perfect but better than string.length
6 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
6 years ago
Barış Soner Uşaklı 69c7260fe9 dont let sending more than max invites via bulk invite 6 years ago
Barış Soner Uşaklı 669a5135e1 closes #6768 6 years ago
Barış Soner Uşaklı dff86b1ac9 closes #6740
* flag notifications will go to the flag details page instead of the post or user that was flag
* if you assign a flag to yourself you won't get a notification about it
@benlubar
6 years ago
Barış Soner Uşaklı 089bf5d8bb
closes #6773 6 years ago
Julian Lam 382d06bbb0 fixes #6765 -- no need to have gmods and admins access login sessions page 6 years ago
Barış Soner Uşaklı d996ea27be closes #6763 6 years ago
Barış Soner Uşaklı 6a377568d2 closes #6764 fix typo in notif rescind 6 years ago
Barış Soner Uşaklı 08dfb3470c fix tests 6 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
6 years ago
Barış Soner Uşaklı 41aae6f418 closes #6749 7 years ago
Barış Soner Uşaklı 37ca5a1c63 filter falsy teasers 7 years ago
Barış Soner Uşaklı 93d52ef338 default to 'recent' sort 7 years ago
Barış Soner Uşaklı 25fed0aa8d change isPasswordCorrect to return false if user does not have password 7 years ago
Barış Soner Uşaklı 6f18cf368b closes #6741 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
Ben Lubar 97a3079bc0 Optimize PostgreSQL session store.
- Sets session ID to be a constant-sized character field inline in the
  table instead of a variable-length character field compressed outside
  of the row.
- Changes the session data from "json" to "jsonb" which is faster and
  smaller on disk with the drawback of not maintaining key order and
  whitespace (which we don't care about at all)
- Adds a clustered index on the session expiration timestamp, which will
  make periodic session purging much faster.

(For an example, WTDWTF currently has 482355 sessions in the table, and
 because there is no index on the expiration timestamp, PostgreSQL must
 check all the rows in the table every time.)

This upgrade script can run concurrently with a live NodeBB instance,
but any action that touches sessions will wait until the upgrade script
is done.

Does not touch the database if the database driver is not set to
PostgreSQL or if there is a Redis database configured.
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
Baris Usakli 5b45b2f72c closes #6729 7 years ago
Barış Soner Uşaklı 0519f84734
Promisify modules (#6723)
* WIP promisify

* promisify psql

* ability to skip some keys

* dont promisify client object

* remove async

* clone entire module so it has all properties

* add shim for node 6

* ignore sessionStore as well

* ignore pool on psql
7 years ago
Julian Lam c1725442ea added progress bar to username_email_history upgrade script 7 years ago
Julian Lam 545e678e8a fixes #6726 7 years ago
Julian Lam 5c04ec2d63 removed client-side chat message length check in favour of server-side check, firing new hook on messaging.checkContent for hooks to intercept 7 years ago
Julian Lam 1e3cdc99ac fixes #6702 7 years ago
Andrew Rodrigues a06b33a713 fix html characters when cloning children categories 7 years ago
Julian Lam aaa9561b7f Revert "moved filter:post.getPostSummaryByPids to before parsePosts call"
This reverts commit cf82407a8f.
7 years ago
Julian Lam cf82407a8f moved filter:post.getPostSummaryByPids to before parsePosts call
/@pitaj
7 years ago
Barış Soner Uşaklı ae4016d9e0 add getCateries to helpers 7 years ago
Andrew Rodrigues 12940b577b closes #6703 7 years ago
Julian Lam 2ce6a85756 properly closes #6698 7 years ago
Julian Lam f751d21d1e removed debug line 7 years ago
Julian Lam f9d3484ec6 fixes #6543 7 years ago
Julian Lam ed9dc113b0 sanitizing notes in flags details page, fixes #6698 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
Jimb Esser 3cccbbc1f2 Add option to enable/disable HSTS
Also fix HSTS middleware being added twice.
7 years ago
Barış Soner Uşaklı 1c286e4536 not even used 7 years ago
Barış Soner Uşaklı fa499aef18 closes #6680 7 years ago
Baris Usakli e7bd0cea74 fix lint 7 years ago
Baris Usakli bcef32c5af closes #6645 7 years ago
Baris Usakli 546b13b897 fix lint and tests 7 years ago
Baris Usakli 79ffae608e closes #6675 7 years ago
Baris Usakli 4200cff47c closes #6662 7 years ago
Julian Lam 3c6c0ed7a1 restoring passwordExpiry for use in continueLogin, fixed tests, hopefully 7 years ago
Julian Lam 786af5fbb3 derp 7 years ago
Julian Lam b6a5419ca1 closes #6674 7 years ago
Julian Lam 4f8815eb78 closes #6646 7 years ago
Julian Lam ea2bd33bfa fixes #6608, restored template values in widget containers 7 years ago
Julian Lam 7dfe953526 closes #6672 7 years ago
Julian Lam 48197e2d25 this upgrade script was written in 2018, not 2017, heh 7 years ago
Barış Soner Uşaklı c7d6cacd98 closes #6658 7 years ago
Ben Lubar 44373afc52 Fix socket.io not working properly in single-host clusters. (#6669)
This is because we don't use the cluster module, so the master nodejs process doesn't know about any of the clients through the socket API.
7 years ago
Julian Lam 3522ad0e05 Revert "closes #6664"
This reverts commit f27a0d252c.
7 years ago
Julian Lam f27a0d252c closes #6664 7 years ago
Julian Lam 506467ad6f closes #6663 7 years ago
Ben Lubar c1e98eefa7 Allow single-host clusters to not send pubsub and socket.io messages through the database. (#6659)
* Allow single-host clusters to not send pubsub and socket.io messages through the database.

* Fix lint errors.
7 years ago
Barış Soner Uşaklı 87b6808c4e refactor to use getCidsByPrivilege
switch to .includes
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
Sebastian G. Marinescu e35d4a7d85 closes #6283 7 years ago
Peter Jaszkowiak 04d31fe1d4 Precompile all templates
- Benchpress compilation is 33x faster now
- Native module with JS fallback and pre-built binaries
- Dev template build is <1sec now
- Minified template build is ~5sec (uglify accounts for almost all)
7 years ago
Julian Lam 7558046e75 add brute-force protection for change password and email actions 7 years ago
Barış Soner Uşaklı 91f9c60660 closes #6643 7 years ago
Barış Soner Uşaklı 85a55d1740 closes 7 years ago
Barış Soner Uşaklı cfb9784527 closes #6641 7 years ago
Baris Usakli 16a7728ab8 fix redis warnings 7 years ago
Baris Usakli cc6a683bc4 closes #6631 7 years ago
Peter Jaszkowiak 65b4bafb16 Fix @scoped themes 7 years ago
Peter Jaszkowiak 7cd8274c0f Add series flag for `./nodebb build` 7 years ago
Barış Soner Uşaklı 8eea6017fe parseInt uid 7 years ago
Julian Lam 7a53fa9469 Added block and unblock button to profile dropdown menu, #6560 7 years ago
Julian Lam a34584e8f5 fixed blocking cache derp 7 years ago
Julian Lam f09b1acfb7 closes #6627 7 years ago
Barış Soner Uşaklı 4ed079555e Merge remote-tracking branch 'refs/remotes/origin/master' into blocks 7 years ago
Barış Soner Uşaklı 3449cf321b add back cache and pubsub 7 years ago
Barış Soner Uşaklı ae0563375e derp 7 years ago
Julian Lam ad8ac2bdff removed unused checkPassword socket call 7 years ago
Julian Lam fb42862ec7 check password validity in user delete socket call 7 years ago
Julian Lam cb8e62cd7c fixes #6626 7 years ago
Baris Usakli 584f88e092 blocks WIP 7 years ago
Barış Soner Uşaklı c2b0be1f2c if stack is undefined fallback to message and then to hardcoded string 7 years ago
Baris Usakli ee64437f8a fix runJobs 7 years ago
Julian Lam 7e6007e146 revoke all sessions on email change 7 years ago
Julian Lam be0ef799ee closes #6592 7 years ago
Julian Lam 002cde1057 added progress bar to ip hash upgrade script 7 years ago
Barış Soner Uşaklı 9912c400b6 closes #6612 7 years ago
Julian Lam 5cf662e565 closes #6613 7 years ago
Barış Soner Uşaklı 625ab1a46b remove deprecated method 7 years ago
Barış Soner Uşaklı 57b7c7ede4 closes #6607 7 years ago
Barış Soner Uşaklı 82b2a20d0c user tests 7 years ago
Barış Soner Uşaklı d158f79a3b Merge branch 'master' of https://github.com/NodeBB/NodeBB 7 years ago
Barış Soner Uşaklı 95f1a82884 closes #6591 7 years ago
Julian Lam 6485fc3129 removing extra console logging #6596 7 years ago
Julian Lam 68c9c8c5d9 fixes #6596 7 years ago
Barış Soner Uşaklı f72412fa38 Merge branch 'master' of https://github.com/NodeBB/NodeBB 7 years ago
Julian Lam df8c22e9c7 Allow new "withScores" option in batch.processSortedSet (#6602) 7 years ago
Barış Soner Uşaklı fe80186ddf add withscores 7 years ago
Baris Usakli f830322ee9 closes #6597 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ı f7a0815b46 fix redis tests 7 years ago
Barış Soner Uşaklı 2c3fd5fbce remove some dupe code 7 years ago
Barış Soner Uşaklı e8d7a23e2e remove deprecated methods 7 years ago
Barış Soner Uşaklı 2fd2accf8c add tests for top topics
fix popular page displaying 18 topics per page
7 years ago
Dravere 956aa55253 Added server hook action:analytics.increment 7 years ago
Barış Soner Uşaklı b71d64e8c3 remove fake pubsub 7 years ago
Julian Lam 1f8b4bf820 closes #6576 7 years ago
Barış Soner Uşaklı 81341e86ee log fired hooks 7 years ago
Dravere 17e7fe3070 Fixed wrong callback given to groups.join 7 years ago
Barış Soner Uşaklı e7cd552e33 closes #6568 7 years ago
Julian Lam 9e90d1ea5d closes #6557 7 years ago
Peter Jaszkowiak 70ff2d9b88 Support scoped theme packages 7 years ago
Barış Soner Uşaklı d656c65c9a closes #6567 prevent crash if category is undefined 7 years ago
Barış Soner Uşaklı 274b33e9e1 move addPostData before modifyPostPrivilege 7 years ago
Barış Soner Uşaklı acf2f2a776 move modifyPostByPrivilege call before filtering posts so index is correct 7 years ago
Julian Lam cb3b2bd27b closes #6562 7 years ago
Barış Soner Uşaklı a37dc1856f #6561 7 years ago
Barış Soner Uşaklı 0c60351960 add error log for invalid clientIP 7 years ago
Julian Lam 99dc3feeb2 Edit history is now a category-level privilege
Closes #6425
7 years ago
Barış Soner Uşaklı b2d7455f72 set isPrimary to true if its undefined
isPrimary was undefined if you are using clustering by adding
isCluster:true to config.json, run 1 nodebb process on each virtual
machine and use app.js instead of loader.js
7 years ago
Barış Soner Uşaklı 0630915cad when settings are saved publish it to all nodes
add runJobs value to nconf, only true on nodes that should run jobs ie
isPrimary and jobs are not disabled
7 years ago
Barış Soner Uşaklı 779d03cf57 move timestamp to server 7 years ago
Barış Soner Uşaklı 5287c2ea08 #6554 7 years ago
Barış Soner Uşaklı 14f6e74bad closes #6556 7 years ago
Julian Lam ec91ef1c64 closes #6553 7 years ago
Barış Soner Uşaklı f3c8074668 closes #6552 7 years ago
Barış Soner Uşaklı 908b77fe28 closes #6250 7 years ago
Barış Soner Uşaklı b7f5995aab closes #6550 7 years ago
Barış Soner Uşaklı 0b0ce1df8a closes #6549 7 years ago
Barış Soner Uşaklı 25ebd306cc closes #6548 7 years ago
Barış Soner Uşaklı 2edd908aee closes #6547 7 years ago
Barış Soner Uşaklı f77e7de285 closes #6067 7 years ago
Barış Soner Uşaklı d5e85c2eb3 closes #6476, closes #6546 7 years ago
Julian Lam 6ce635deb5 closes #6539 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ı 4f893d2aff closes #6535 7 years ago
Barış Soner Uşaklı b0dad9bd7f closes #6369 7 years ago
Barış Soner Uşaklı 4f4290b15d rename upgrade folder 7 years ago
Barış Soner Uşaklı 81328806a0 closes #6511 7 years ago
Barış Soner Uşaklı 7a1888dfbf closes #6514 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ı c1fb3c2da4 closes #6525 7 years ago
Barış Soner Uşaklı 4504bbae52 2 diff test 7 years ago
Barış Soner Uşaklı fc56347c22 closes #6520 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
Barış Soner Uşaklı 8e8058ec6e closes #6497 7 years ago
Barış Soner Uşaklı 8263f81d0c fix pubsub when only mongodb is used 7 years ago
Julian Lam 23f84f53c2 fix subfolder url for web installer 7 years ago
Barış Soner Uşaklı e50302505b dont show form if installing 7 years ago
Barış Soner Uşaklı 4e495adcd7 add installing notice and refresh 7 years ago
Barış Soner Uşaklı a48c0a4c3d if installing show working icon on refresh 7 years ago
Barış Soner Uşaklı c2f088cb61 dont install multiple times 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ı cba5aa975e return early if there are no files 7 years ago
Barış Soner Uşaklı 619b74ca7b move regex out 7 years ago
Barış Soner Uşaklı e29e0a98f5 closes #6515 7 years ago
Barış Soner Uşaklı 871cbedac1 dont require meta before db.init 7 years ago
Julian Lam 9eff1519d3 Display proper info for redis in info command, show graph of pageviews
from last 24 hours
7 years ago
Julian Lam 542f8e6e15 added back install.overrides 7 years ago
Barış Soner Uşaklı cefab04a63 use different event names for each call of getTotalGuestCount 7 years ago
Julian Lam 943d33ed09 closes #6502, also fixed issue with type: 'literal' in config.json 7 years ago
Julian Lam 9b592c2ed1 prettify last restart date in acp just a bit 7 years ago
Julian Lam 896a5325a5 added gdpr check socket method 7 years ago
Julian Lam 71c8a78748 updated properties to match other similar calls
re: #6501
7 years ago
Julian Lam 5eeec6f470 closes #6501 7 years ago
Barış Soner Uşaklı 3b5d6951bb closes #6499 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
Barış Soner Uşaklı 4ee2284066 closes #6489 7 years ago
Julian Lam 8e275df803 closes #6487 7 years ago
Barış Soner Uşaklı 96d2980472 fix updrade error if file is not found closes #6485 7 years ago
Julian Lam 4b25414c0b one more check 7 years ago
Julian Lam 9751c4b8db reworked logic in user.blocks.filter 7 years ago
Julian Lam 341a8d5046 guard against crashes if set is null or not passed in 7 years ago
Julian Lam 44f8e6d3bb Revert "closes #6483"
This reverts commit 5d198491d5.
7 years ago
Barış Soner Uşaklı cdc3ef09e9 closes #6481 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
Barış Soner Uşaklı 9132743870 #6481 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 178d4b2f92 don't allow room owner to kick themselves out 7 years ago
Julian Lam 5dc25a3c00 Merge remote-tracking branch 'origin/master' into chat-kick-support 7 years ago
Julian Lam a08572b800 kick support for chats, #6479 7 years ago
Barış Soner Uşaklı beadcd7857 fix tests, remove dupe exposeUid 7 years ago
Julian Lam dc386b5b23 Merge branch 'master' into user-blocking 7 years ago
Julian Lam 53296c46e5 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Julian Lam 4bac78a568 wrapping up basic blocking UCP for #6463 7 years ago
Julian Lam 8db98b5cf4 additional UCP integration for #6463 7 years ago
Julian Lam fdc30537cb Merge remote-tracking branch 'origin/master' into user-blocking 7 years ago
Barış Soner Uşaklı 7c43c7e0f9 closes #6473 7 years ago
Barış Soner Uşaklı 9ae5946e7a Merge remote-tracking branch 'refs/remotes/origin/master' into develop 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
Barış Soner Uşaklı adf9d8eb83 closes #6469 7 years ago
Barış Soner Uşaklı 14914b7610 handle missing config.json 7 years ago
Julian Lam 7089e5c6a6 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı 5461f9fa5f don't crash if there is no pluginData 7 years ago
Julian Lam f0f30041f5 re: #6408 7 years ago
Andrew Rodrigues 73bc96528a better to use theme_templates_path instead 7 years ago
Andrew Rodrigues ebd0899714 closes #6471 7 years ago
Julian Lam 9eac794e8e normalising behaviour for subfolder installs, #6410 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
Julian Lam 032ec8b443 tests!!! glorious tests!!!
re: #6463
7 years ago
Julian Lam a367b698e3 a bit more integration for #6463 7 years ago
Julian Lam bfee23adee basic methods and initial 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 1f1e055509 updated post association code to only associate files that exist, closes #6455 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 360fb69723 upload script for #6455, @psychobunny 7 years ago
Julian Lam 364ded4f8e Merge remote-tracking branch 'origin/master' into develop 7 years ago
Julian Lam 5420c4bb68 fix relative_path issue with uploads ACP page 7 years ago
Julian Lam 0f13ae3c87 added isOrphan method, #6455 7 years ago
Julian Lam 2e125293e6 save reverse association of md5 of upload to pid, #6455 7 years ago
Julian Lam d25ab31427 proper handling of extensionless files 7 years ago
Julian Lam 850f59a1ae additional functionality, integration, and testing for #6455 7 years ago
Julian Lam 5943389b7a tests for #6455 7 years ago
Barış Soner Uşaklı 7b93de2731 increase post cache size 7 years ago
Barış Soner Uşaklı 4109f2c142 add filter:email.params 7 years ago
Barış Soner Uşaklı 501d02220c closes #6456 7 years ago
Julian Lam 551daa141b basic methods for #6455 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
Barış Soner Uşaklı 3fb28e9246 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Barış Soner Uşaklı 4cd0020584 closes #6449 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 8fcf57dfad stripped double relative path from og urls, #6442 7 years ago
Barış Soner Uşaklı bb13c4948d closes #6448 7 years ago
Julian Lam 2b35ba8376 save package_manager into config.json if set in setup.json 7 years ago
Julian Lam 9d8dc6f589 encode user agent in request sent to github to retrieve tags 7 years ago
Peter Jaszkowiak ce09813bf0 Show failed minify file and fix username editing privilege (#6445)
* Fix global mods and admins being unable to change usernames

* Message file which failed to minify
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
Barış Soner Uşaklı b35bfb81ce ability to delete uploads from account page #6431 7 years ago
Julian Lam 8e822c7772 Added user consent pages (#6430)
- "Your Rights & Consent" user settings page
7 years ago
Andrew Rodrigues 67c8d4b560 maximize graph w/ fullscreen API 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
Barış Soner Uşaklı ddd3dfc7f0 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Barış Soner Uşaklı 0d64ca1f97 closes #6436 7 years ago
Julian Lam e9ed7f0bb3 closes #6435 7 years ago
Barış Soner Uşaklı aef788f3ee remove unused var 7 years ago
Julian Lam 13a3f44ed3 closes #6432 7 years ago
Barış Soner Uşaklı 47606c8df5 merge 7 years ago
Julian Lam 3b57d3eadb closes #6434 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ı 50f4fd5345 remove dupe code in minify_js 7 years ago
Julian Lam f769e734ed removed error output from user reset for rate limiting or incorrect email, so users cannot validate emails via this endpoint 7 years ago
Barış Soner Uşaklı 76eccaa602 closes #6424 7 years ago
Barış Soner Uşaklı caf43e3025 closes #6358 7 years ago
Barış Soner Uşaklı df770aed8e closes #6416 7 years ago
Julian Lam 113fed05d8 closes #6412 7 years ago
Julian Lam 9641ada53c fixes #6415 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ı 60f8870b72 pass template to widget container parse 7 years ago
Barış Soner Uşaklı 2faaf5b35f closes https://github.com/julianlam/nodebb-plugin-mentions/issues/99 7 years ago
Peter Jaszkowiak c93651b2d1 Fix alternate config file support (#6405) 7 years ago
Baris Usakli 46576189be closes #6392 7 years ago
Peter Jaszkowiak a00f1f9a81 Use uglify-es for ES6 support (#6402) 7 years ago
Timothy Fike 585d613d4b fix reload actions (#6394)
* fix reload actions

* wait until restart action is complete instead of using timeouts.

* Change Reload nominclature to Rebuild and Restart.
7 years ago
Julian Lam 0158b1aa91 Various password logic fixes on client and server-side
Fixes #6399
Fixes #6400
7 years ago
Baris Usakli 5c8bf3ce95 add missing radix 7 years ago
Julian Lam 9aa9183cc3 implementing zxcvbn in reset-code tpl, re: #6400 7 years ago
Baris Usakli 59dc4024b9 guests should be offline 7 years ago
Peter Jaszkowiak dcf1865b54 Fix ACP alerts to use same system as client (#6396)
* Fix PostCSS warning message

* Fix disconnect indicator styling

Would increase size of quick actions when active

* Use same alert system in ACP and client

- Remove snackbar
- Add styling and fix template for ACP (based on Persona)
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
Barış Soner Uşaklı e1df8bd0f0 closes #6390 7 years ago
Barış Soner Uşaklı 925d858fe6 dont json.parse if already array 7 years ago
Barış Soner Uşaklı 40d5b4f8ba change to eachSeries 7 years ago
Barış Soner Uşaklı 77d47b31fb cleanly shutdown
wait for webserver to stop accepting connections
destroy current connections
wait for db connection to close
7 years ago
Julian Lam e8d4fe3209 Revert "closes #6380"
Turns out the issue was a malformed flag object, and not anything
code-wise

This reverts commit 956c5a2a32.
7 years ago
Julian Lam 956c5a2a32 closes #6380 7 years ago
Baris Usakli 3c4b4f5263 don't call calback twice #6375 7 years ago
Baris Usakli bf770636c5 closes #6377 7 years ago
Barış Soner Uşaklı 75e2ab8957 remove unnecessary code 7 years ago
Barış Soner Uşaklı ae0f1847ae allow multiple origins for access-control-allow-origin header
add access-control-allow-credentials header to acp
7 years ago
Julian Lam ae46ec0cae fix tests, #6368 7 years ago
Julian Lam ebc67185c3 closes #6368 7 years ago
Julian Lam 9e44fc6ae2 fixes #6371 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
Barış Soner Uşaklı fde44cb9b9 pass array to groups.destroy
pass array to db.sortedSetRemove
7 years ago
Barış Soner Uşaklı 55b872fe3e add check 7 years ago
Barış Soner Uşaklı be5c237388 fix decr/incrObjectField if key in array doesn't exist create it 7 years ago
Barış Soner Uşaklı 6a9a73c86c changes to leaveAllGroups
Groups.destroy can take an array of groupnames
Groups.leave can take an array of groupnames
db.incrObjectField/decrObjectField can take an array of keys
db.sortedSetRemove can take an array of keys and values
db.setRemove can take an array of keys
7 years ago
Barış Soner Uşaklı cfedcf7e0b check username 7 years ago
Barış Soner Uşaklı fe18a12ee0 if object doesn't exist user doesn't exist 7 years ago
Barış Soner Uşaklı 2d7d4a3fb4 use setsRemove 7 years ago
Barış Soner Uşaklı 8b615c64fa move emailsPath to function 7 years ago
Julian Lam a1338221bf codeclimate made me make my code ugly 😢 7 years ago
Julian Lam 5d2e6f0e8e Squashed commit of the following:
commit 7bd46afad7033a466626826d3e29610f41328510
Author: Julian Lam <julian@nodebb.org>
Date:   Thu Mar 15 15:41:36 2018 -0400

    fixes #6363

commit 4b755d5801b2f6d70cea10516f88392708c72f61
Author: Julian Lam <julian@nodebb.org>
Date:   Thu Mar 15 15:24:12 2018 -0400

    fixes #6362

commit 6035e75453a08aee0fef7ff59d57dd5c1e8f4ac9
Author: Julian Lam <julian@nodebb.org>
Date:   Thu Mar 15 15:07:23 2018 -0400

    Fixes #6361
7 years ago
Baris Usakli 8492a1586f closes #6360 7 years ago
Baris Usakli 29b7c67946 use utils.toISOString 7 years ago
Baris Usakli a48144e632 dont crash if description is numeric 7 years ago
Baris Usakli 38acedf5bb lint 7 years ago
Baris Usakli 959a742c63 add llen to dbal 7 years ago
Baris Usakli 52ab0a00d9 use the acp config for homePageTitle 7 years ago
Julian Lam a126f07471 closes #6043 7 years ago
Barış Soner Uşaklı 96f55c528e don't crash if config is undefined 7 years ago
Julian Lam 84b7892085 require meta in the method that actually needs it 7 years ago
Andrew Rodrigues 3292542faa Merge branch 'master' of https://github.com/NodeBB/NodeBB 7 years ago
Andrew Rodrigues 5602092de9 closes #6347 7 years ago
Baris Usakli a5cceabc89 dont go below 0 7 years ago
Barış Soner Uşaklı 917cbc9273 closes https://github.com/NodeBB/nodebb-widget-essentials/issues/38 7 years ago
Barış Soner Uşaklı bce640e514 closes #6340 7 years ago
Julian Lam c93f943bef Merge branch 'develop' 7 years ago
Barış Soner Uşaklı b86c4b3073 closes #6303 7 years ago
Barış Soner Uşaklı ec1add91e9 fix userTitleEnabled 7 years ago
Barış Soner Uşaklı e1c6761087 closes #6258 7 years ago
Barış Soner Uşaklı 245e1a9159 closes #6334 7 years ago
Barış Soner Uşaklı 7b45a6ea8b Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Julian Lam c938711f9c not using Posts.parsePost for diffs parsing 7 years ago
Barış Soner Uşaklı b79cd93a49 add some ids to acp elements 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
Barış Soner Uşaklı 5069892b97 pass correct uid to client side
-1 spider,0 guest, >0 regular user
7 years ago
Julian Lam c25d752573 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Julian Lam 98b0bdc7e1 added helmet for better standard of protection across the board 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 7edc58b727 stricter Referrer-Policy to reduce unintended information leakage 7 years ago