Commit Graph

308 Commits

Author SHA1 Message Date
Julian Lam
6e7b505ea7 more linting 2017-02-24 12:55:31 -05:00
Julian Lam
ddea9f534e running eslint again 2017-02-24 12:47:46 -05:00
Julian Lam
72e77772db Merge branch 'master' into develop 2017-02-24 12:46:40 -05:00
Julian Lam
6ea0fc4e2f changed file schema to be name only, storing them in object sets referencing their applicable versions 2017-02-22 15:57:31 -05:00
Julian Lam
5b8c9503c3 refactor upgrade scripts to use individual files in src/upgrades/ as source of schema changes 2017-02-22 13:20:47 -05:00
Peter Jaszkowiak
a038c66549 ESlint quotes 2017-02-18 01:56:23 -07:00
Peter Jaszkowiak
604358ecc4 ESlint keyword-spacing, no-multi-spaces 2017-02-18 01:52:56 -07:00
Peter Jaszkowiak
3361a72725 ESlint no-plusplus
and no-empty, space-unary-ops
2017-02-18 01:12:18 -07:00
Peter Jaszkowiak
52f2028206 ESlint no-multiple-empty-lines 2017-02-17 22:08:23 -07:00
Peter Jaszkowiak
b09b3aef7f ESlint no-undef, remove global comments 2017-02-17 22:03:55 -07:00
Peter Jaszkowiak
bc1d70c126 ESlint comma-dangle 2017-02-17 19:31:21 -07:00
Julian Lam
4df8832c8d adding conditional to upgrade script to handle cases where an upgrade is performed on a flag that is already in database 2017-01-25 11:02:46 -05:00
Julian Lam
bbc02dcc5d lol wtf 2017-01-11 09:44:54 -05:00
Julian Lam
a13c6f8c65 adding a safeguard into flags upgrade script @baris 2017-01-11 09:43:34 -05:00
Julian Lam
277f447f3e fix minSchemaDate in upgrade.js 2016-12-27 15:30:10 -05:00
Julian Lam
3ea927fa65 fix minSchemaDate in upgrade.js 2016-12-27 15:29:46 -05:00
Julian Lam
db20df0110 Merge branch 'master' into develop 2016-12-27 15:26:59 -05:00
barisusakli
a112655bd2 fix missing ; 2016-12-23 15:59:15 +03:00
barisusakli
306687ccaa remove old upgrade code 2016-12-23 15:49:28 +03:00
Julian Lam
ad633aad45 additional tests and proper handling for purged flag targets, #5232 2016-12-19 11:16:03 -05:00
Julian Lam
ebc9abd773 upgrade script and graphs for #5232 2016-12-09 14:33:59 -05:00
Julian Lam
1aa70c57eb WIP 2016-11-25 13:28:55 -05:00
barisusakli
c33d3e874a store pinned topics in new zset
keep pinned topics on top on different sort types
2016-11-25 17:46:29 +03:00
Julian Lam
ffbebc646a linting 2016-11-23 12:30:03 -05:00
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
2016-11-23 11:50:49 -05:00
Ben Lubar
a654a2a5fe Work around MongoDB bug (see https://github.com/NodeBB/NodeBB/pull/5050#issuecomment-256766439) 2016-10-27 18:44:45 -05:00
Ben Lubar
69ee813d3e fix typoed variable name 2016-10-27 13:31:43 -05:00
Ben Lubar
123c66e3ec Cache the number of replies in the post object. See #5050.
https://github.com/NodeBB/NodeBB/pull/5050#pullrequestreview-4248269
2016-10-27 12:40:51 -05:00
Ben Lubar
fae28ed3cc Add an index for going from a post to its replies 2016-10-27 12:40:51 -05:00
HeeL
4a3c31b2dc Fix space-before-function-paren linter rule 2016-10-13 11:43:39 +02:00
barisusakli
2eec1afc46 fix upgrade script so it only runs once 2016-10-12 20:16:30 +03:00
barisusakli
6f86621e30 closes #5096 2016-10-08 19:09:55 +03:00
barisusakli
a6c3be0bb1 store category recent tids for faster retrieval 2016-09-22 18:21:54 +03:00
Mathias Schreck
ce9ee62fa0 Handle callback errors 2016-08-17 12:54:59 +02:00
Ben Lubar
f62da5c4e9 see NodeBB/NodeBB#4909 2016-08-09 09:50:49 -05:00
Ben Lubar
26df552d55 Add edit, delete, and topics:delete permissions for users acting on their own posts 2016-08-06 21:23:09 -05:00
barisusakli
84025fa7fc closes #4801 2016-08-05 22:35:26 +03:00
barisusakli
d2cbd7e6dc new priv for uploads 2016-07-12 19:59:04 +03:00
barisusakli
ecf0323dd0 closes #4688 2016-06-13 14:02:54 +03:00
psychobunny
6f0c00bb9f use eachSeries instead 2016-06-01 08:42:37 -04:00
psychobunny
74ff9557d9 makes more sense to give topics:read priv to those who had the category read priv
thanks @barisusakli
2016-05-28 06:37:53 -04:00
psychobunny
8616cc4ea5 upgrade script: give topics:read privs to any group that has topics:create privs 2016-05-28 06:08:28 -04:00
Julian Lam
b12811d21d spring cleaning 2016-05-04 10:09:03 -04:00
Julian Lam
bd8fcb527b closes #4583 2016-04-29 12:54:53 -04:00
barisusakli
a7415a8db0 added missing count increment 2016-04-20 20:50:16 +03:00
barisusakli
ff88186d41 closes #4537 2016-04-19 20:04:39 +03:00
barisusakli
e564260650 moved groupTitle from user settings to user profile/edit 2016-04-14 18:41:52 +03:00
barisusakli
7180174b91 fix global moderators upgrade script 2016-03-05 11:45:26 +02:00
psychobunny
9e832e006a closes #2920 2016-02-25 14:06:03 -05:00
Barış Soner Uşaklı
d3087b4e05 changed userTitle of global mods 2016-02-05 18:35:20 +02:00