95 Commits (a77630c6beeb99427096f5e70b37b5ba89cfaa9a)

Author SHA1 Message Date
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 48197e2d25 this upgrade script was written in 2018, not 2017, heh 7 years ago
Julian Lam 002cde1057 added progress bar to ip hash upgrade script 7 years ago
Julian Lam 6485fc3129 removing extra console logging #6596 7 years ago
Julian Lam 68c9c8c5d9 fixes #6596 7 years ago
Dravere 17e7fe3070 Fixed wrong callback given to groups.join 7 years ago
Julian Lam cb3b2bd27b closes #6562 7 years ago
Julian Lam 99dc3feeb2 Edit history is now a category-level privilege
Closes #6425
7 years ago
Barış Soner Uşaklı 4f4290b15d rename upgrade folder 7 years ago
Barış Soner Uşaklı a7267df404 closes #6464 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ı 14914b7610 handle missing config.json 7 years ago
Julian Lam 360fb69723 upload script for #6455, @psychobunny 7 years ago
Barış Soner Uşaklı 0070f5c1b2 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 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
Barış Soner Uşaklı e1c6761087 closes #6258 7 years ago
Julian Lam c25d752573 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Julian Lam 52678621f9 revising minimum password strength to be 1 instead of 0 7 years ago
Barış Soner Uşaklı 225af93b9e closes #6329 7 years ago
Julian Lam 1ce448f2a1 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı fa0328fe35 fix my copy paste fail 7 years ago
Barış Soner Uşaklı 708fda9372 use old settings if available 7 years ago
Barış Soner Uşaklı 723f31a362 closes #6323 7 years ago
Barış Soner Uşaklı ac1f7eefe5 closes #2304 7 years ago
Julian Lam fad0c5f2d5 moved 1.8.0 upgrade scripts to 1.7.4 where they were actually released 7 years ago
Barış Soner Uşaklı 8ceb102ed3 closes #6274 7 years ago
Julian Lam 947c81adf0 @pitaj wut 8 years ago
Julian Lam f6ad344ac6 Fixes #6259
Fixed issue that would cause the upgrade script to completely
wipe your customJS. This was caused by meta.config not being
populated during upgrade scripts (but only when run with
./nodebb upgrade... odd.)
8 years ago
Barış Soner Uşaklı 4dee5a6101 delete expireAt field 8 years ago
Barış Soner Uşaklı 72140e5338 closes #5991, closes #5884 8 years ago
Baris Usakli ecf6c0f3ec closes #4652 8 years ago
Barış Soner Uşaklı ba56810790 upgrade script fixes 8 years ago
Barış Soner Uşaklı 9d7e0775aa closes #6214 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
Baris Usakli 025709499c more fixes 8 years ago
Baris Usakli 63b9255fa1 Merge remote-tracking branch 'refs/remotes/origin/master' into chat-permission 8 years ago
Barış Soner Uşaklı ea8cf6545c change db.set/get to use data field instead of value 8 years ago
Baris Usakli 4a73621dca chat privilege 8 years ago
Barış Soner Uşaklı 43180d4b83 #6158 8 years ago
Peter Jaszkowiak fc19f3af61 Misc fixes and improvements (#6143)
* `setup` command fixes and improvements

- Enable using the `./nodebb setup` command for auto-setup with a JSON argument
- Change CLI so package-install and dependency install are separate steps
- Fix #6142

* Prevent compiling templates multiple times

- Multiple requests for same template get pooled
- Hopefully fixes the "templateFunction is not a function" error which happens if site is restarted during high-traffic times

* More helpful upgrade template
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 43bec4cb45 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Baris Usakli 6778cce265 add new zset 8 years ago
Julian Lam 9cbf1597cd Merge remote-tracking branch 'origin/master' into develop 8 years ago
Julian Lam cd6dcff38b Split up customJS into customHTML and customJS for better organisation (#5981)
* WIP

* fixed customJS not actually working in footer

* Moving scripts to footer, #5980

* Added upgrade scripts for #5980
8 years ago
Barış Soner Uşaklı 410e825bc0 fix upgrade script changing brand:logo to absolute path 8 years ago
Julian Lam 2086a64a5e fixes #5947 8 years ago
Barış Soner Uşaklı a4532f011a Blacklist fix (#5918)
* closes #5917

* fix callback for upgrade script

* delete key even if falsy, could be empty string

* DRYer ternary
8 years ago
Julian Lam 302f06df95 fixes #5914 8 years ago
psychobunny c3b1f31a5f email logo: prevent crash if source image doesn't exist 8 years ago