Julian Lam
394440e597
Fix upgrade crash if groups have 0 users
...
@barisusakli
10 years ago
barisusakli
5b87af4389
closes #3447
...
recursively get all children
calculate topic/post count from children
new sorted set `cid:<id>:children`
fix search query params
10 years ago
barisusakli
8ec08337aa
closes #3383
10 years ago
Julian Lam
1069f9c936
some prep work to allow for checking of dependency versions. Also updated upgrade.check behaviour to send back error if schema is out of date, instead of no error and "false".
10 years ago
Julian Lam
48af82659e
removing the composer from core, out to its own plugin: nodebb-plugin-composer-default, closes #3288
10 years ago
Barış Soner Uşaklı
4420e7a9fc
closes #3188 , closes #3170
10 years ago
barisusakli
4b4be3d4cc
fix minSchemaDate
10 years ago
Julian Lam
58b0b6011f
removed console.log from upgrade script (@barisusakli :rage2:)
10 years ago
barisusakli
55e20b28ec
upgrade script
10 years ago
Julian Lam
972ae42d91
pruned upgrade scripts in preparation for 0.7.0, ping @barisusakli
10 years ago
barisusakli
5c4e988232
fix user.csv data
10 years ago
psychobunny
e070a9777e
#3125
10 years ago
barisusakli
74d6104072
correct upgrade date
10 years ago
barisusakli
c6a05930aa
fix \uff0e in emails
10 years ago
barisusakli
27bf1c1b2e
fix privilege upgrade script
10 years ago
barisusakli
9d273d3a32
fixed date log
10 years ago
Barış Soner Uşaklı
eaa89a4da7
added checks to skip empty/non-existing hashes
10 years ago
Barış Soner Uşaklı
c56b30ff60
convert uid mappings to sorted sets
...
email:uid, username:uid, userslug:uid, fullname:uid all converted to
sorted sets
prevents hitting mongodb document size limit
10 years ago
barisusakli
d946a2fcbd
closes #3098
...
wait for templates to compile even if using clustering
fix emitter.all
upgrade.check error first
removed plugins.ready, using callback on plugins.init
removed webserver.init, using webserver.listen
10 years ago
Julian Lam
b604c9d5e1
updated install script to accept environment variables
...
updated upgrade script to execute callback when present
updated install script to not fire upgrades unless necessary
updated install script to write directly to console, and not through winston
if a password is not provided, one is auto-generated
10 years ago
psychobunny
1774cf0b15
allow language strings in menu items
10 years ago
psychobunny
d806cd134f
sortable menus, done
10 years ago
psychobunny
afc690d67b
upon saving, copy over route properties from defaults
10 years ago
psychobunny
307204fc38
nav - added enabled/disabled
10 years ago
psychobunny
3be5242aa1
navigation - upgrade script
10 years ago
Julian Lam
8262c38ac8
upgrading privilege sets to be system groups, so they're not in the way
10 years ago
Barış Soner Uşaklı
14888a96cb
Merge remote-tracking branch 'origin/master'
...
Conflicts:
src/upgrade.js
10 years ago
Barış Soner Uşaklı
55884220b4
#2749 upgrade plugins:active to zset
10 years ago
psychobunny
44c6375d91
it's on line 24 now
10 years ago
psychobunny
f63ecac8ee
upgrade script for nodebb-rewards-essentials
10 years ago
Julian Lam
88aa427669
updated upgrade script so that it does not rely on Groups.list, as the method has changed between v0.5.0 and v0.6.0.
...
Also added setImmediate call so eachLimit doesn't explode
10 years ago
barisusakli
150d33eb92
upgrade script to rename widgets:home.tpl to widgets:categories.tpl
10 years ago
Julian Lam
1843d0364e
closed #2708
10 years ago
Julian Lam
c652d1b80e
removed console log from upgrade script
10 years ago
barisusakli
dc2a2aa98e
store group member count in group hash
...
yet another upgrade script
10 years ago
Julian Lam
06238f6894
partial fix to #2655
10 years ago
barisusakli
c379753341
upgrade scripts
...
upgrade groups to sorted set(groups:createtime) upgrade
upgrade groups:<name>:members to sorted set
new database methods
tests
10 years ago
Julian Lam
fa27461abc
upgrading administrator groups as well
10 years ago
Julian Lam
d2938ea509
closed #2626
10 years ago
barisusakli
8f5bf1a7ed
closes #2587
10 years ago
barisusakli
fd2edcaf6f
closes #2594
10 years ago
barisusakli
6ccdf187ea
closes #2595
10 years ago
barisusakli
db1cc6b8d2
search by fullname
10 years ago
barisusakli
a77a761433
closes #1917
10 years ago
psychobunny
a5f63a5ac7
upgrade script was refusing to complete until I added this
...
@barisusakli fyi
10 years ago
barisusakli
984b17349a
closes #2476
10 years ago
barisusakli
2c7d9e1a7c
store teaserPid in topic
...
-update teaser pid as necessary in addPostToTopic, removePostFromTopic,
post purge
-removed 20x db calls from getTeasers
-fixed scroll to post in sub folder install
-upgrade script to update topics with teaserPid
10 years ago
barisusakli
5576ef0d1e
upgrade script to remove fields
10 years ago
Julian Lam
f00a3dbf49
minor fix to upgrade script
10 years ago
Julian Lam
03b106b03a
final pass, #1984
10 years ago
Julian Lam
d430ef3983
second pass, #1984
10 years ago
Julian Lam
259f0f96f1
Merge pull request #2433 from bendem/patch-1
...
Fix nodeBB address in a few places
10 years ago
barisusakli
fdf06c0500
fix upgrade script #2435
10 years ago
bendem
0f4fcd8e0b
fix nodeBB adresses
10 years ago
Julian Lam
2e2995d3bd
updating dailyDigestFreq to 'day' instead of 'daily'
10 years ago
barisusakli
604dac88e3
closes #2382 , closes #2130
10 years ago
barisusakli
1ae39d638a
closes #2356
10 years ago
Julian Lam
0f66077bf5
fixed issue where purged posts would cause the upgrader to fail, closed #2359
10 years ago
Julian Lam
11c9b74faf
upgrade script for #2355 , closes #2355
10 years ago
Julian Lam
ec309333be
closed #2335
10 years ago
barisusakli
802c8b15e2
fix upgrade script to include main post, and fix post indices
10 years ago
barisusakli
4b1adba9ec
removed || 1
10 years ago
barisusakli
ffbefda5f7
#2265 upgrade script
10 years ago
Spiritlebon
35fc175ff6
Lint fix
10 years ago
psychobunny
f4b5090738
more linting
10 years ago
barisusakli
26cfe4a3c3
fix ban upgrade closes #2239
10 years ago
barisusakli
33780e6fdb
closes #2133
10 years ago
barisusakli
6535a730fd
upgrade script to delete tid:<tid>:read_by_uid
11 years ago
Julian Lam
05e147b440
Merge branch 'master' of github.com:chronize/NodeBB into chronize-master
11 years ago
barisusakli
493d0dea1e
part 1 of notif refactor
11 years ago
chronize
efe938b392
fix upgrade.js according to CodeClimate recommendation, remove BOM
11 years ago
barisusakli
c7de38f28e
closes #1902
...
messages:<uid>:<uid> list changed to messages:uid:<uid>:to:<uid>
sortedset
11 years ago
psychobunny
b209af1e32
info instead of error
11 years ago
barisusakli
5c57ed5ea0
install db dependencies in upgrade script
11 years ago
barisusakli
b41b311d94
another eachLimit
11 years ago
barisusakli
efcc42f170
added eachLimit to upgrade script
11 years ago
barisusakli
15c16c2502
closes #1311 , set category post counts to 0 before starting upgrade
11 years ago
barisusakli
7c84680b06
closes #1709
11 years ago
psychobunny
2688ea9733
upgrading topics take a while, so let the user know
11 years ago
barisusakli
7610c11cd1
closes #450
...
backup database before upgrade!
upgrade script will take the first post of each topic and set the
`mainPid` property on the topic. then it will remove that pid from the
sorted sets for that topic, this was done to make alternative sorting
work.
added a new sorted set called `tid:<id>:posts:votes` that is used to
sort topic posts by vote count, the original sorted set `tid:<id>:posts`
is used to sort by oldest first or newest first.
the main post is added to the returned posts array on topic load and is
always at the top.
theme changes are minimal just a few new data properties on the posts
and the sorting dropdown.
hopefully didn't miss anything too critical.
11 years ago
psychobunny
4cd86affae
update all files with new url
11 years ago
barisusakli
746df87d89
upgrade tags to sorted set
11 years ago
Julian Lam
5f89293301
upgrade script for #1282
11 years ago
Julian Lam
6604a29f74
upgrade script for new privilege system
11 years ago
Micheil Smith
3e82cab398
Add missing new lines at end of files.
11 years ago
psychobunny
e383524334
fixed a problem with cerulean which duped motd and forced you to toggle themes to deactivate
11 years ago
psychobunny
3aa4ae4b99
move deprecated vanilla footer widgets into draft zone
11 years ago
psychobunny
375c2c2ce1
upgrade.js for re-adding copyright footer
11 years ago
Julian Lam
6f78d29498
upgrade script should not delete non-hidden groups
11 years ago
Julian Lam
1e3b9b7cf6
removing console logs
11 years ago
Julian Lam
96d58288c9
tweaking upgrade script so it works with a real db
11 years ago
Julian Lam
4701eb1cee
updating groups so that members leave a group when it is deleted
11 years ago
Julian Lam
ce867aec53
updated upgrade script date
11 years ago
Julian Lam
0e44eb8629
final refactoring pass for groups -- #1252
11 years ago
Julian Lam
7b4f596aba
updating all group lib methods, and their callers -- #1252
11 years ago
Julian Lam
c893effcb9
WIP commit -- groups refactoring + upgrade scripts
11 years ago
Julian Lam
3c5fc72e20
adding "system" flag to system groups
11 years ago
Julian Lam
cc0fabc619
removing console logs from upgrade script
11 years ago
Julian Lam
61afee98c3
updates to new settings mechanism, updating markdown minver, minor linting for upgrades.js, and upgrade stmt for markdown migration
11 years ago
Julian Lam
552a63367d
workaround for problem arising from switch to Date.UTC()
11 years ago
Julian Lam
e0dcf95138
fixed missing err in upgrade script
11 years ago
Julian Lam
b404b0197f
final pass, resolved #1155
11 years ago
Julian Lam
5f52ef5f01
removed all 0.3.x related upgrade scripts, and updated minSchemaDate
11 years ago
Julian Lam
64aa89f5ee
updating upgrade script to use UTC timestamps *facepalm*. God, I hope I didn't break anything...
...
(first pass #1155 )
11 years ago
Julian Lam
30e83fdabe
fixing upgrade script if order is not set
11 years ago
Julian Lam
2088903358
added check to upgrade.upgrade
11 years ago
Baris Soner Usakli
c1e3d95a84
upgrade fix for new installs
11 years ago
Baris Soner Usakli
6e5a6b8784
upgraded categories to sorted set, score is the order set from acp, check if category topic exists before posting
11 years ago
psychobunny
251fef9c27
run plugins.reload after activating widget-essentials
11 years ago
psychobunny
8059a83870
activate widget-essentials
11 years ago
psychobunny
fc866e4746
added notice to admins to check out the widgets panel IF motd is not set. upgraded motd to widget for lavender
11 years ago
psychobunny
ccf529ccca
updated upgrade script to add titles and container to category sidebar widgets
11 years ago
psychobunny
1b557d4141
upgrade.js - add forum stats widget to homepage footer
11 years ago
psychobunny
068402c8ac
wrong upgrade message
11 years ago
psychobunny
0b3fa0c838
upgrade.js - add recentreplies, activeusers, and moderator widgets to the sidebar as default
11 years ago
psychobunny
ba657aec4e
110% -> upgrade.js converts existing motd's to html widgets for extra bonus points.
11 years ago
Baris Soner Usakli
93257a8597
check if tids and uids array array before calling async
11 years ago
Baris Soner Usakli
0c093c2aaa
fixes upgrade on a empty database
11 years ago
Baris Soner Usakli
8c14a59f93
added new sorted set posts:pid
11 years ago
Baris Soner Usakli
4663e0b8be
paranoid
11 years ago
Baris Soner Usakli
1e44ca3a0f
upgrade topics:tid to sorted set, topics:recent doesnt have deleted topics
11 years ago
Baris Soner Usakli
654f53f142
removed unused uids
11 years ago
Baris Soner Usakli
d063d4eac1
updated upgrade date
11 years ago
Micheil Smith
cfaa0b3754
Added schema upgrade to delete the tid:lastFeedUpdate key
11 years ago
Baris Soner Usakli
d6780652ad
closes #960
11 years ago
psychobunny
a9fbd5be8a
derp, upgrade was upvoting your own favourited posts as well
11 years ago
psychobunny
1b1bdd7912
upgrade script upvotes all previously favourited posts
11 years ago
Baris Soner Usakli
a86ddc9934
closes #726
11 years ago
Julian Lam
0376e3d574
renamed language directories to ICU standard, upgrade script, no longer promoting english at top of list in languages tab, en now en_GB, encompasses Canadian and English English
11 years ago
Julian Lam
db62e10673
upgrade scripts for sso plugins
11 years ago
Baris Soner Usakli
393bb7245c
closes #866
11 years ago
Julian Lam
d5534cf545
fixing upgrade script on edge builds
11 years ago
Julian Lam
d380f69310
support for "registered users" and "administrators" in access control (categories). Renamed "Administrators" group to "administrators", and made hidden
11 years ago
Julian Lam
ee6ac77f8b
new upgrade directive
11 years ago
Julian Lam
0c0ae6560a
re: #808 -- removed upgrade directives for v0.2.x branch, and added minSchemaDate check so that if you try to upgrade without doing all upgrades in a previous branch, it will abort.
11 years ago
Julian Lam
32470efb22
fixing upgrade script console.log and missing sessionData for topic moving
11 years ago
Julian Lam
97cc6cde67
closed #733 - after upgrade script, all users will be in a system "registered users" group
11 years ago
Baris Soner Usakli
a4ae9c70df
closes #742 , closes #741
11 years ago
Julian Lam
4923c79496
tweaking upgrade script
11 years ago
Julian Lam
3f0f5a09a0
new upgrade directive to re-slugify usernames again
11 years ago
Baris Soner Usakli
ecb64a0aa2
removed extra ,
11 years ago
Baris Soner Usakli
8626122679
category active users are stored in a sorted set now
11 years ago
Baris Soner Usakli
fd20e4a400
5% more
11 years ago
Baris Soner Usakli
1a64e40b21
upgrade check
11 years ago
psychobunny
98a646fa62
changed numRecentTopics to numRecentReplies, that makes more sense now
11 years ago
psychobunny
fb53e89023
upgrade.js - categories.numRecentTopics
11 years ago
psychobunny
9ef8bb4cdc
woops, fail at iteration
11 years ago
psychobunny
bc8a53aadd
upgrade.js - adding categories.class and categories.link
11 years ago
Baris Soner Usakli
d43f3cebc6
closes #707 , closes #686
11 years ago
Baris Soner Usakli
8cfb239aac
closes #705
11 years ago