Compare commits

..

1753 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
f6890cd971 up themes 2017-07-27 20:00:17 -04:00
Barış Soner Uşaklı
911eb32e70 fix var names 2017-07-27 19:45:54 -04:00
Barış Soner Uşaklı
3bcaedfe9d up markdown 2017-07-27 19:43:40 -04:00
Barış Soner Uşaklı
54f3009b4c up composer default 2017-07-27 19:42:26 -04:00
Barış Soner Uşaklı
f646e08a6e update tags/links for 1.5.4 2017-07-27 19:40:11 -04:00
Misty (Bot)
76d2e43948 Incremented version number - v1.5.3 2017-07-27 15:51:26 -04:00
Misty (Bot)
f2dba40496 Latest translations and fallbacks 2017-07-27 09:23:37 +00:00
Julian Lam
09770c4c39 up composer-default 2017-07-26 14:50:17 -04:00
Baris Usakli
a9dbdc75af closes #5825 2017-07-26 14:32:53 -04:00
Baris Usakli
949595fdf3 fix eslint 2017-07-26 13:40:17 -04:00
Baris Usakli
541b78c26d fix ipMatch data 2017-07-26 13:39:34 -04:00
Misty (Bot)
ae3d5f8aaa Latest translations and fallbacks 2017-07-26 09:23:26 +00:00
Barış Soner Uşaklı
4c126c0870 up markdown 2017-07-25 22:15:52 -04:00
Barış Soner Uşaklı
b3f6c423c6 fix test 2017-07-25 18:23:21 -04:00
Julian Lam
f59f48c6e1 use setImmediate 2017-07-25 14:11:54 -04:00
Julian Lam
c9c27b86c4 added back logic to strip leading slashes, but after the fix to app.all 2017-07-25 13:50:37 -04:00
Baris Usakli
6087f3c8cd test router fix 2017-07-25 12:54:23 -04:00
Baris Usakli
e9639833c5 add router.all 2017-07-25 12:11:11 -04:00
Julian Lam
1247b4b53b linting 2017-07-25 11:07:48 -04:00
Julian Lam
233297367b strip leading slashes from path if double-slash is accidentally used, stripping trailing slash from relative path retrieved from config.json 2017-07-25 10:39:57 -04:00
Misty (Bot)
5835334b1c Latest translations and fallbacks 2017-07-25 09:23:35 +00:00
Misty (Bot)
b2a0ecb3c8 Latest translations and fallbacks 2017-07-24 09:23:35 +00:00
Barış Soner Uşaklı
efe13e4038 closes #5827 2017-07-23 18:10:24 -04:00
Misty (Bot)
9d0e2e90de Latest translations and fallbacks 2017-07-23 09:24:11 +00:00
Barış Soner Uşaklı
292d27716a closes #5842 2017-07-22 19:21:22 -04:00
Barış Soner Uşaklı
9d69224329 up themes fix altenate_logins to be bool 2017-07-22 19:05:22 -04:00
Misty (Bot)
e87f6f900f Latest translations and fallbacks 2017-07-22 09:23:55 +00:00
Misty (Bot)
a1b7666c96 Latest translations and fallbacks 2017-07-21 09:24:00 +00:00
Julian Lam
568b2b9957 fixes #5780 2017-07-20 15:43:11 -04:00
Misty (Bot)
72fb92fa96 Latest translations and fallbacks 2017-07-20 09:23:30 +00:00
Julian Lam
f40928c46c up composer 2017-07-19 17:37:39 -04:00
Julian Lam
6762ecbf21 Merge pull request #5839 from kingjan1999/master
Fix update link in README.md, fixes #5838
2017-07-19 09:29:10 -04:00
Jan
c86cb12d0f Fix update link in README.md, fixes #5838 2017-07-19 15:17:55 +02:00
Misty (Bot)
e02f354ec9 Latest translations and fallbacks 2017-07-19 09:23:24 +00:00
Julian Lam
efea8f8e99 closes #5784 2017-07-18 14:59:06 -04:00
Baris Usakli
18181260e7 closes #5836 2017-07-18 13:36:21 -04:00
Baris Usakli
43a70270ef closes #5835 2017-07-18 11:31:18 -04:00
Misty (Bot)
018d5d7819 Latest translations and fallbacks 2017-07-18 09:24:12 +00:00
Stjepan Osojnički
9b491e4c2e Add post images hook (#5828)
* Add post images hook

This hook would allow plugins to manipulate images inside posts  after images are manipulated by nodebb (for example, delay loading). Without this hook we can manipulate images by searching post data for them and manipulate that data, but any change on that level is either erased by nodebb once image loading starts (if delay is turned on) or it disables native image behaviour by changing image code so native behaviour is not triggered.
Hook at this place works for both delayed loading turned on and off.
Usage for this kind of hook was talked about here: https://community.nodebb.org/topic/10960/opening-uploaded-images-in-modal-windows

* trying to fix Travis error

* Update images.js

Hook moved out of wrapImagesInLinks function to places where images are actually loaded. One of the places is inside unloadImage function but in place where loading is happening because of failed if check (delayImageLoading not se in users configuration).
2017-07-17 18:16:48 -04:00
Barış Soner Uşaklı
eecc680761 style 2017-07-17 18:16:23 -04:00
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.
2017-07-17 18:15:24 -04:00
Barış Soner Uşaklı
b983be2919 fix colspans in category privilege tab 2017-07-17 15:29:36 -04:00
Barış Soner Uşaklı
8e8507c9e6 up widget essentials 2017-07-16 15:35:22 -04:00
Barış Soner Uşaklı
cc4f4e7282 style changes 2017-07-15 16:57:41 -04:00
Barış Soner Uşaklı
67ca1881bd closes #5831 2017-07-15 16:24:46 -04:00
Baris Usakli
0a4b76357a #5830 2017-07-14 17:29:53 -04:00
Baris Usakli
9dee81b37f closes #5830 2017-07-14 17:29:31 -04:00
Baris Usakli
f8bfe79cf4 remove tid from recent_tids 2017-07-14 16:23:20 -04:00
Misty (Bot)
3a0bc15a7a Incremented version number - v1.5.2 2017-07-14 12:56:02 -04:00
Baris Usakli
5a9ae8f4c7 rearrange menu items 2017-07-13 17:18:01 -04:00
Baris Usakli
6ba913d6e6 up themes 2017-07-13 14:02:42 -04:00
Misty (Bot)
0e4fba7c6c Latest translations and fallbacks 2017-07-13 09:23:25 +00:00
Barış Soner Uşaklı
5888a5ffc4 closes #5010
init plugin hooks before resetting widgets, the areas are returned by
`filter:widgets.getAreas`
2017-07-12 20:10:19 -04:00
Barış Soner Uşaklı
4056283fd5 always return array 2017-07-12 19:47:08 -04:00
Barış Soner Uşaklı
0f5be5ae25 remove plugin.hook check 2017-07-12 19:44:35 -04:00
Barış Soner Uşaklı
e6d0dde7b4 up dbsearch 2017-07-12 19:35:20 -04:00
Barış Soner Uşaklı
bca79da8c6 closes #4197
add in-topic search support to dbsearch
prevent multiple click handlers on in-topic search widget(each click was
causing multiple scrolls)
fix index
2017-07-12 19:29:41 -04:00
Barış Soner Uşaklı
e613064b06 closes #5819 2017-07-12 17:21:21 -04:00
Misty (Bot)
d478deb4fe Latest translations and fallbacks 2017-07-12 09:23:22 +00:00
Barış Soner Uşaklı
71e3fea55b closes #5802 2017-07-11 19:18:47 -04:00
Baris Usakli
0e0d961f7c dont change templateData 2017-07-11 16:40:04 -04:00
Baris Usakli
0b101fa3eb composer-default 2017-07-11 16:18:20 -04:00
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 2017-07-11 15:40:47 -04:00
Baris Usakli
593ea572c9 up markdown 2017-07-11 14:32:57 -04:00
Baris Usakli
12d53c95ca up composer 2017-07-11 14:14:55 -04:00
Baris Usakli
2d875a99cb fix data 2017-07-11 13:59:29 -04:00
Baris Usakli
dc110e2e3f closes #5818 2017-07-11 13:44:51 -04:00
Julian Lam
45d940ad2b added one more client-side hook for search @barisusakli 2017-07-10 16:34:18 -04:00
Baris Usakli
59aeee6516 remove addExpiresHeaders 2017-07-10 15:26:58 -04:00
Baris Usakli
e036e26238 closes #5813 2017-07-10 14:55:57 -04:00
Baris Usakli
4e7447c9d6 remove ajaxify.widgets.reposition 2017-07-10 14:05:48 -04:00
Baris Usakli
bece6808a2 up themes for widgets refactor 2017-07-10 13:04:01 -04:00
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
2017-07-10 12:54:45 -04:00
Julian Lam
65329b9bd7 closes nodebb-plugin-markdown#85 2017-07-10 12:21:23 -04:00
Barış Soner Uşaklı
80ea9e9797 fix lint 2017-07-10 00:37:48 -04:00
Barış Soner Uşaklı
6485108dfd faster getReplies 2017-07-10 00:28:15 -04:00
Barış Soner Uşaklı
feecf0b61c dont make db call if guest 2017-07-09 21:08:03 -04:00
Barış Soner Uşaklı
e9360347ea less padding, closes #5811 2017-07-09 16:08:06 -04:00
Misty (Bot)
2b3a88365c Latest translations and fallbacks 2017-07-09 09:23:16 +00:00
Misty (Bot)
b117f1169e Latest translations and fallbacks 2017-07-08 09:23:18 +00:00
Barış Soner Uşaklı
34d9b57b26 fix wrong function name, change dom to data @julianlam 2017-07-07 18:12:42 -04:00
Julian Lam
3ddf332e0c added two new client-side hooks for search to allow plugins to add fields 2017-07-07 15:48:35 -04:00
Baris Usakli
e0de922ede Revert "widgets refactor"
This reverts commit 9e94edb5aa.
2017-07-07 15:35:06 -04:00
Baris Usakli
9e94edb5aa widgets refactor
render widgets server side
widgets can use all the data the template can use
2017-07-07 15:33:16 -04:00
Julian Lam
121a629de6 linting 2017-07-07 12:10:42 -04:00
Julian Lam
09621a3a3d fixes #5776 2017-07-07 11:56:28 -04:00
Misty (Bot)
3e453fd1a6 Latest translations and fallbacks 2017-07-07 09:23:23 +00:00
Baris Usakli
fbddb665b0 make tests pass 2017-07-06 16:07:58 -04:00
Baris Usakli
5f6b964097 up lavender 2017-07-06 16:02:31 -04:00
Baris Usakli
67c007cf6b up lavender 2017-07-06 15:50:32 -04:00
Julian Lam
e309ac5040 fixes #5790 2017-07-06 15:42:40 -04:00
Julian Lam
77d6181bd1 missing translations for ja and pt-BR 2017-07-06 14:15:57 -04:00
Baris Usakli
7538210b07 #5772
load correct timeago settings on cold load instead of after page load
2017-07-06 14:09:59 -04:00
Baris Usakli
1837ac2015 closes #5788 2017-07-06 13:07:16 -04:00
Baris Usakli
d469f53eba using async in batch
removed unused code in debug
2017-07-06 12:08:01 -04:00
Julian Lam
922790cc40 up mentions for japanese localization 2017-07-06 11:32:01 -04:00
Julian Lam
368059713b up mentions 2017-07-06 11:11:41 -04:00
Julian Lam
b7e8ecc6d3 updated mentions version and changed topics filter to take its translation from global hash instead 2017-07-05 16:43:46 -04:00
psychobunny
14bda343b3 use direct db call to get rss_token instead 2017-07-05 11:46:37 -04:00
psychobunny
0d60b17be1 use direct db call to get rss_token instead 2017-07-05 11:41:23 -04:00
psychobunny
6cb0d6f8c1 wipe existing rss tokens 2017-07-05 11:41:22 -04:00
Barış Soner Uşaklı
b807d3750c encodeURI redirect url 2017-07-05 11:36:35 -04:00
Misty (Bot)
1a814f6f94 Latest translations and fallbacks 2017-07-05 09:22:47 +00:00
psychobunny
d44090ba18 Merge remote-tracking branch 'refs/remotes/origin/private-feeds' 2017-07-04 23:54:08 -04:00
psychobunny
dd1cfd62d4 don't show rss_token in /api/user/name 2017-07-04 23:46:49 -04:00
psychobunny
b744f8ce5a Merge remote-tracking branch 'refs/remotes/origin/master' into private-feeds 2017-07-04 23:46:08 -04:00
Barış Soner Uşaklı
091fec8d6f removed unnecessary code 2017-07-04 17:54:51 -04:00
Baris Usakli
3d4b358470 up vanilla 2017-07-04 12:41:20 -04:00
Julian Lam
932b3f06a5 closes #5797 2017-07-04 10:09:41 -04:00
Misty (Bot)
8e25471685 Latest translations and fallbacks 2017-07-04 09:22:47 +00:00
Barış Soner Uşaklı
c91632e041 Merge pull request #5794 from NodeBB/fix-5793
Fix #5793
2017-07-02 19:52:52 -04:00
Peter Jaszkowiak
1471fbdc14 Fix tests 2017-07-02 16:26:31 -06:00
Peter Jaszkowiak
f1c955e6fc Fix scrollStop not working sometimes 2017-06-30 23:38:52 -06:00
Peter Jaszkowiak
6cb8440715 Fix #5793
Use a custom header instead
2017-06-30 23:38:31 -06:00
Barış Soner Uşaklı
02c679d5c9 up composer 2017-06-30 16:05:01 -04:00
Misty (Bot)
fbdc2d7b3f Latest translations and fallbacks 2017-06-30 19:28:28 +00:00
Julian Lam
4271ce1e14 up composer 2017-06-28 14:47:38 -04:00
Baris Usakli
9979987342 perserve hash when switching categories 2017-06-28 13:52:46 -04:00
Baris Usakli
2f8f69d6af test monthly digest 2017-06-28 13:27:47 -04:00
Baris Usakli
74ed033e4a fix digest test 2017-06-28 13:18:37 -04:00
Baris Usakli
77103fb3d1 closes #5785 2017-06-28 12:35:57 -04:00
Julian Lam
3bd02d58e3 fixes logic that allowed posts beyond maximum post length if min is set to 0, @barisusakli 2017-06-28 12:25:51 -04:00
Barış Soner Uşaklı
fd55e4ccdf Merge pull request #5783 from madarche/fix-route-touchicon
Fix /apple-touch-icon not sending uploaded file
2017-06-28 12:03:38 -04:00
Julian Lam
28d8be8b9d fixed #5782 2017-06-28 11:20:57 -04:00
Baris Usakli
7350e54b62 change to verbose 2017-06-28 10:57:00 -04:00
Marc-Aurèle DARCHE
6248e5562f Fix /apple-touch-icon not sending uploaded file
This fixes the following error:

$ wget https://nodebb.yourdomain/apple-touch-icon

28/6 09:57:06 [28332] - error: /apple-touch-icon
 Error: ENOENT: no such file or directory, stat '/home/sweet/nodebb/public/assets/uploads/system/touchicon-orig.png'
    at Error (native)
2017-06-28 15:02:17 +02:00
Misty (Bot)
382240f25c Latest translations and fallbacks 2017-06-28 09:22:46 +00:00
Julian Lam
a58fa35c01 up mentions to include @barisusakli's fix for groups mentioning 2017-06-27 17:36:02 -04:00
Baris Usakli
e8bff210c9 clear selectedCategory on init 2017-06-27 11:38:09 -04:00
Misty (Bot)
6f14d00026 Latest translations and fallbacks 2017-06-27 09:25:00 +00:00
Barış Soner Uşaklı
b64ba40c67 closes #5772 2017-06-26 17:27:48 -04:00
Barış Soner Uşaklı
3ec2cf65d7 up persona 2017-06-26 17:07:30 -04:00
Misty (Bot)
6b66cc8f64 Latest translations and fallbacks 2017-06-26 09:25:10 +00:00
Barış Soner Uşaklı
38af651072 use _.uniq 2017-06-25 20:00:05 -04:00
Barış Soner Uşaklı
c36f25f761 switch .filter to uniq 2017-06-25 19:05:13 -04:00
Barış Soner Uşaklı
fd43f38e42 closes #5773 2017-06-25 14:39:42 -04:00
Misty (Bot)
631e9aea14 Latest translations and fallbacks 2017-06-24 09:25:01 +00:00
Barış Soner Uşaklı
3d85992757 modify db.processSortedSet so it works with intervals 2017-06-23 18:18:34 -04:00
Barış Soner Uşaklı
b4b68498cd added interval option to processSortedSet 2017-06-23 17:17:27 -04:00
Baris Usakli
1f5b3ba636 closes #5771 2017-06-23 15:57:23 -04:00
Baris Usakli
a8e4981d30 up persona 2017-06-23 13:57:43 -04:00
Julian Lam
3cc528dc02 linting 2017-06-23 13:08:19 -04:00
Baris Usakli
9b5cdae856 up composer 2017-06-23 12:52:08 -04:00
Julian Lam
2e1528942c fixed #5770 2017-06-23 12:41:40 -04:00
Julian Lam
eb9f6145d9 fixes #5770 2017-06-23 11:03:54 -04:00
Julian Lam
d117c65893 oops :shipit: 2017-06-23 10:27:00 -04:00
Misty (Bot)
b0ea511b27 Latest translations and fallbacks 2017-06-23 09:24:49 +00:00
Barış Soner Uşaklı
0f234601f1 style changes 2017-06-22 19:03:49 -04:00
Barış Soner Uşaklı
78005d6124 show old groups first 2017-06-22 18:12:35 -04:00
Barış Soner Uşaklı
8d8f0a391f Merge pull request #5769 from NodeBB/private-feeds
Private feeds, closes #5740
2017-06-22 13:20:41 -04:00
Baris Usakli
77994dcf69 fix link tag url 2017-06-22 13:04:24 -04:00
Baris Usakli
ef9e656f34 closes #5740
added token to topic page as well
check privilege even if token is provided
tests
2017-06-22 12:44:37 -04:00
Julian Lam
05434afed1 fixes #5738 2017-06-22 11:17:32 -04:00
Julian Lam
d98b3e8056 automatically lowercasing env vars in nconf, fixes #2544 2017-06-22 11:10:23 -04:00
Julian Lam
9a06604968 changing local getUserName to getUserSlug, closes julianlam/nodebb-plugin-mentions#89 2017-06-21 12:57:38 -04:00
Barış Soner Uşaklı
9c6b0013e8 Merge pull request #5767 from Faianca/fix-ping-relative-path
Add relativePath to /ping and /sping
2017-06-21 12:23:53 -04:00
Julian Lam
e604d6e23e closes #5768 2017-06-21 09:51:59 -04:00
Jorge Meireles
a0e501676c Add relativePath to /ping and /sping 2017-06-21 11:21:19 +02:00
Barış Soner Uşaklı
53a2a7244d closes #5765 2017-06-20 23:08:12 -04:00
Baris Usakli
7fe239229d show 3 digits 2017-06-20 16:34:34 -04:00
psychobunny
228e9ab8e3 proof of concept for #5740 2017-06-20 16:12:55 -04:00
Baris Usakli
cf444755df closes #5729 2017-06-20 14:23:21 -04:00
Baris Usakli
a509ccab84 up composer 2017-06-20 13:20:38 -04:00
Barış Soner Uşaklı
af4c0de476 closes #5763 2017-06-20 10:17:58 -04:00
Misty (Bot)
3682cd9654 Latest translations and fallbacks 2017-06-19 09:25:22 +00:00
Misty (Bot)
d8fc65808c Latest translations and fallbacks 2017-06-18 09:24:58 +00:00
Misty (Bot)
a94e3f78a7 Latest translations and fallbacks 2017-06-17 09:25:01 +00:00
Barış Soner Uşaklı
50f2a4ed19 remove dupe hook 2017-06-16 17:51:31 -04:00
Barış Soner Uşaklı
be79b85526 fix test 2017-06-16 15:02:06 -04:00
Barış Soner Uşaklı
d65f494c6d closes #5127 2017-06-16 14:25:40 -04:00
Barış Soner Uşaklı
8f5f5eb56a closes #5761 2017-06-16 12:55:29 -04:00
Barış Soner Uşaklı
43aab9b5f1 Merge pull request #5760 from BenLubar/upload-with-no-extension
Fix uploading a file with no extension resulting in invalid-extension even if the file extension list is blank (allow all)
2017-06-16 12:30:39 -04:00
Barış Soner Uşaklı
2ed4837545 up composer-default 2017-06-16 12:26:29 -04:00
Ben Lubar
07982a3fa2 Fix uploading a file with no extension resulting in invalid-extension even if the file extension list is blank (allow all) 2017-06-16 10:37:23 -05:00
Julian Lam
f4fb9ee04b adding filter hooks for flag list and retrieval 2017-06-16 10:58:21 -04:00
Misty (Bot)
2d04bb9d33 Latest translations and fallbacks 2017-06-16 09:25:06 +00:00
Baris Usakli
4903585d88 refactor userPrivileges and groupPrivileges 2017-06-15 14:02:51 -04:00
Misty (Bot)
02ba714fe8 Latest translations and fallbacks 2017-06-15 09:24:53 +00:00
Julian Lam
dbcc1517eb fix chat links not working in flag details page 2017-06-14 15:24:43 -04:00
Misty (Bot)
5f09a8b41d Latest translations and fallbacks 2017-06-14 09:28:35 +00:00
Barış Soner Uşaklı
b13ed26587 closes #5755 2017-06-13 20:15:48 -04:00
Baris Usakli
8ea5c060f5 closes #5754 2017-06-13 15:20:31 -04:00
Julian Lam
d1805300f7 fix nl language.json 2017-06-13 12:55:06 -04:00
Misty (Bot)
52e795ce78 Latest translations and fallbacks 2017-06-13 09:25:08 +00:00
Barış Soner Uşaklı
1628c352fd closes #5750 2017-06-12 13:33:30 -04:00
Barış Soner Uşaklı
f1cbf563fc closes #5751 2017-06-12 12:56:03 -04:00
Barış Soner Uşaklı
38806fe07f closes #5752 2017-06-12 12:53:16 -04:00
Misty (Bot)
1451b91fe0 Latest translations and fallbacks 2017-06-09 09:22:48 +00:00
Barış Soner Uşaklı
22131640fd closes #5749 2017-06-08 17:17:46 -04:00
psychobunny
50367a971e req should be req. 👍 2017-06-07 20:18:04 -04:00
Misty (Bot)
89895099ce Latest translations and fallbacks 2017-06-07 09:22:54 +00:00
Misty (Bot)
b6feb0aa57 Latest translations and fallbacks 2017-06-05 09:22:47 +00:00
Misty (Bot)
90a15a633a Latest translations and fallbacks 2017-06-04 09:24:31 +00:00
Barış Soner Uşaklı
52eb063015 up composer 2017-06-03 20:08:05 -04:00
Barış Soner Uşaklı
a49a9a07b3 refactor groups.delete 2017-06-02 18:19:06 -04:00
Barış Soner Uşaklı
e56178f72e remove init socket.io 2017-06-02 17:18:58 -04:00
Barış Soner Uşaklı
4f31dec82c reduce usage of io.emit in tests 2017-06-02 16:51:36 -04:00
Barış Soner Uşaklı
2ae855678a closes #5735 2017-06-02 15:30:59 -04:00
Julian Lam
3e6a779dbc Merge remote-tracking branch 'origin/master' 2017-06-02 15:06:44 -04:00
Julian Lam
6728e9a5cc #5729 2017-06-02 15:01:24 -04:00
Barış Soner Uşaklı
14ea9a0dd6 Merge pull request #5716 from NodeBB/import-export-ref
Import export cleanup
2017-06-02 13:37:16 -04:00
Julian Lam
b3c9992ba3 made upgrade script log verbose 2017-06-02 11:16:28 -04:00
Julian Lam
88a763e08b changes to upgrade script progress bars to work better on narrow terminals, fixes #5732 2017-06-02 10:58:39 -04:00
Julian Lam
b4870654fc Merge pull request #5728 from NodeBB/patch-pitaj
Assorted Fixes
2017-06-02 10:14:50 -04:00
Misty (Bot)
54e40e815f Latest translations and fallbacks 2017-06-02 09:23:00 +00:00
Barış Soner Uşaklı
ddb83b3eab closes #5731 2017-06-01 20:57:56 -04:00
Julian Lam
29e868b002 closes #5585 2017-06-01 16:24:45 -04:00
Barış Soner Uşaklı
5a55c882ab convert NaN uids to 0 2017-06-01 16:17:08 -04:00
Peter Jaszkowiak
34af855848 Fix npm@5 saving by default 2017-06-01 14:16:13 -06:00
Peter Jaszkowiak
8e5bcf6105 Fix #5727 2017-06-01 14:16:07 -06:00
Peter Jaszkowiak
e71fb9ab24 Fix node --inspect 2017-06-01 14:15:40 -06:00
Peter Jaszkowiak
9a3b684228 Remove dependency, ignore package-lock.json 2017-06-01 14:15:30 -06:00
Peter Jaszkowiak
44e55d2a98 Less synchronous stuffs 2017-06-01 14:14:43 -06:00
Julian Lam
0ea89c2799 fixes #5608 2017-06-01 15:46:35 -04:00
Julian Lam
3467071a7d fixed extra line break in upgrade scripts introduced in 5516352758 2017-06-01 15:02:55 -04:00
Misty (Bot)
382a0aa42e Latest translations and fallbacks 2017-06-01 09:25:16 +00:00
Barış Soner Uşaklı
b62c905588 up dbsearch 2017-05-31 20:45:44 -04:00
Peter Jaszkowiak
b60dbe7d1e Unwrap meta modules 2017-05-31 16:24:23 -06:00
Peter Jaszkowiak
aefdc4b24b Refactor helpers import/export 2017-05-31 16:23:28 -06:00
psychobunny
c94365aefd closes #5721 2017-05-31 16:35:18 -04:00
psychobunny
006584e405 fixes [build] Unknown target: error message 2017-05-31 15:06:10 -04:00
Barış Soner Uşaklı
92376a1589 fix calls 2017-05-31 13:13:16 -04:00
Barış Soner Uşaklı
eb0faf1e4a change test to use new signature 2017-05-31 13:08:45 -04:00
Barış Soner Uşaklı
f17fcbbe5e add slick to core 🌟 2017-05-31 12:44:50 -04:00
Misty (Bot)
2d73e7fec2 Latest translations and fallbacks 2017-05-31 09:22:56 +00:00
Barış Soner Uşaklı
d20b599b20 closes #5723 2017-05-30 20:01:59 -04:00
Baris Usakli
da8b1b605c #5723 2017-05-30 17:21:34 -04:00
psychobunny
d8dfda4a54 Merge pull request #5720 from darktrge/small-changes
(minor) add .svn line to .gitignore
2017-05-30 17:01:57 -04:00
Baris Usakli
ba9397987a if no email dont send 2017-05-30 14:27:03 -04:00
Baris Usakli
d13eb52f39 closes #5722 2017-05-30 14:10:16 -04:00
Julian Lam
12524b5ce4 fix lint 2017-05-30 13:17:26 -04:00
Julian Lam
d2b5b53cb4 refactor for sendValidationEmail, and sending better dummy data for welcome email template 2017-05-30 13:09:30 -04:00
Julian Lam
7ce208ca13 Better dummy data for testing banned email template 2017-05-30 12:11:44 -04:00
Julian Lam
313d48b47d updated emailer code so digest emails when tested in ACP are sent with real data instead of incomplete fake data 2017-05-30 12:11:44 -04:00
Danijel Marjanovic
362bccbed8 add .svn line to .gitignore 2017-05-30 16:52:14 +02:00
psychobunny
fa25dcd6a5 move ACP category selector in line with pills 2017-05-29 18:26:20 -04:00
psychobunny
9cb5f71e08 #5717 also don't show category section in subcategory listing 2017-05-29 18:04:35 -04:00
psychobunny
65a015a1ad up lav 2017-05-29 17:12:08 -04:00
psychobunny
88d5f97280 closes #5717 2017-05-29 17:12:02 -04:00
psychobunny
22891215cd Merge branch 'master' of https://github.com/NodeBB/NodeBB 2017-05-29 16:19:46 -04:00
Misty (Bot)
9031c5a2a6 Incremented version number - v1.5.1 2017-05-29 16:01:09 -04:00
psychobunny
179b11b7d2 ACP allow ctrl-click to open new in new tab when settings are unsaved 2017-05-29 15:34:09 -04:00
Baris Usakli
883b35243f fix lint 2017-05-29 15:12:22 -04:00
Baris Usakli
d7684b042f fix tab 2017-05-29 14:52:10 -04:00
Baris Usakli
1fa52267d4 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	public/src/admin/manage/category.js
2017-05-29 14:48:25 -04:00
Baris Usakli
de5fe25e57 closes #5715 2017-05-29 14:47:01 -04:00
Barış Soner Uşaklı
59b1d8fbae Merge pull request #5710 from NodeBB/_lodash
Switch from underscore to lodash
2017-05-29 13:38:21 -04:00
psychobunny
292c04a613 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2017-05-29 13:26:36 -04:00
psychobunny
dcbe4864a9 fix bad merge / dupe code 2017-05-29 13:26:17 -04:00
Peter Jaszkowiak
d4e7db45b7 Use zipObject, more test-related ignores 2017-05-29 11:23:25 -06:00
Baris Usakli
dc0971c122 up composer 2017-05-29 13:13:16 -04:00
Peter Jaszkowiak
3da2e1f07f Merge branch '_lodash' of github.com:nodebb/nodebb into _lodash 2017-05-29 11:08:42 -06:00
psychobunny
dd90b14d64 up tjs 2017-05-29 12:31:56 -04:00
Misty (Bot)
25a84d7314 Latest translations and fallbacks 2017-05-29 09:23:17 +00:00
Peter Jaszkowiak
dfbb96d47b Remove require.main.require 2017-05-28 23:02:01 -06:00
Peter Jaszkowiak
7127f34818 Fix indent 2017-05-28 16:52:36 -06:00
Barış Soner Uşaklı
9664033b73 add memory usage to info page 2017-05-28 18:40:32 -04:00
Barış Soner Uşaklı
932247f440 up deps 2017-05-28 17:21:49 -04:00
Barış Soner Uşaklı
8eb5564977 fix popular sort 2017-05-28 17:21:49 -04:00
Misty (Bot)
57c0861310 Latest translations and fallbacks 2017-05-28 09:23:18 +00:00
Barış Soner Uşaklı
850b33d630 up composer 2017-05-28 01:36:08 -04:00
Barış Soner Uşaklı
3049f5cf1f #5522 test 2017-05-28 01:26:56 -04:00
Barış Soner Uşaklı
6635b50c35 closes #5522 2017-05-28 01:10:19 -04:00
Barış Soner Uşaklı
937d6dd4df fix acp privilege page not loading 2017-05-28 01:10:19 -04:00
Barış Soner Uşaklı
eed784f1e6 Merge pull request #5713 from NodeBB/issues-bugs
Bugs and features only, comment out examples
2017-05-28 00:12:35 -04:00
Barış Soner Uşaklı
5e90e4db02 closes #5618 2017-05-27 23:58:12 -04:00
Barış Soner Uşaklı
08aaabd33c closes #5642 2017-05-27 23:32:55 -04:00
Peter Jaszkowiak
38d27e9347 Wrong URL 2017-05-27 15:18:54 -06:00
Peter Jaszkowiak
afb79e97eb Ignore normalised image 2017-05-27 14:52:37 -06:00
Peter Jaszkowiak
3c2d4fe649 Switch from underscore to lodash 2017-05-27 14:51:45 -06:00
Peter Jaszkowiak
283951e810 Bugs and features only, comment out examples 2017-05-27 14:31:05 -06:00
Misty (Bot)
033c31719a Latest translations and fallbacks 2017-05-27 09:23:11 +00:00
Barış Soner Uşaklı
890c2eff70 style changes 2017-05-27 01:44:26 -04:00
Barış Soner Uşaklı
bcc566fb68 remove unnecessary checks 2017-05-27 00:47:04 -04:00
Barış Soner Uşaklı
f1b8492164 remove unnecessary checks 2017-05-27 00:30:07 -04:00
Barış Soner Uşaklı
6a742ead38 style 2017-05-26 23:55:20 -04:00
Barış Soner Uşaklı
8e31ec7199 closes #5705 2017-05-26 23:30:23 -04:00
Barış Soner Uşaklı
3d1b1a9423 closes #5706 2017-05-26 23:21:46 -04:00
Barış Soner Uşaklı
dcf3db104b search style 2017-05-26 22:28:12 -04:00
Barış Soner Uşaklı
9ec65db539 closes #5711 2017-05-26 21:52:08 -04:00
Barış Soner Uşaklı
271c10c9d7 dont create indices after every test 2017-05-26 21:14:52 -04:00
Barış Soner Uşaklı
21d2e6df12 Merge pull request #5709 from NodeBB/tests-after-each
Fix many "duplicate key" errors
2017-05-26 21:06:00 -04:00
Peter Jaszkowiak
b171f3072b Fix many "duplicate key" errors
- Reset defaults after every test
- Remove individual `after(db.emptydb)` calls
- Fix async.every in groups test
- Update plugin list in socket tests
2017-05-26 17:16:59 -06:00
Barış Soner Uşaklı
5c51a91e85 fix reward claimable check 2017-05-26 18:34:45 -04:00
Barış Soner Uşaklı
fb45b498a2 fix lint 2017-05-26 18:11:42 -04:00
psychobunny
c133efa258 Fix tests 2017-05-26 18:08:03 -04:00
psychobunny
d70ccb1868 closes #5708 2017-05-26 17:20:30 -04:00
Baris Usakli
61eb7aa68b more tests 2017-05-26 16:56:26 -04:00
Baris Usakli
11d9410229 fix test and image normalize test 2017-05-26 16:37:31 -04:00
Baris Usakli
081ac6535c style change 2017-05-26 16:14:25 -04:00
Baris Usakli
9efa46c65a more account tests 2017-05-26 16:11:47 -04:00
Barış Soner Uşaklı
c7fc8857cb Merge pull request #5707 from NodeBB/minifier-CRLF
Fix tests on Windows with CRLF
2017-05-26 14:52:32 -04:00
Peter Jaszkowiak
5f36156e0d Fix tests on Windows with CRLF 2017-05-26 12:51:05 -06:00
Peter Jaszkowiak
8901dad6f2 Revert "fix concat test on windows"
This reverts commit d1dd0cd6df.
2017-05-26 12:49:38 -06:00
Baris Usakli
69b5bb39ec unread tests 2017-05-26 14:25:19 -04:00
Baris Usakli
d1dd0cd6df fix concat test on windows 2017-05-26 13:12:17 -04:00
Misty (Bot)
e1a42a49b6 Latest translations and fallbacks 2017-05-26 09:23:02 +00:00
Barış Soner Uşaklı
466e6d7c53 make renameGroup public for #5706 2017-05-26 00:26:25 -04:00
Barış Soner Uşaklı
f6ac92111b style changes 2017-05-26 00:02:20 -04:00
Barış Soner Uşaklı
8db193ff55 privileges style changes 2017-05-25 21:17:20 -04:00
Barış Soner Uşaklı
02dee48329 use backgroundImage if its passed in 2017-05-25 20:24:37 -04:00
Barış Soner Uşaklı
79a48cec5f controllers/category tests 2017-05-25 20:01:07 -04:00
Baris Usakli
5af1161e09 fix eslint 2017-05-25 16:41:32 -04:00
Baris Usakli
062bced3dd cleanup and tests 2017-05-25 16:40:07 -04:00
psychobunny
82cab53508 fix digest scheduling information on cold load 2017-05-25 16:14:25 -04:00
Julian Lam
a2bb58ff64 Merge pull request #5703 from NodeBB/uglify3
uglify-js@3, JS source maps finally supported
2017-05-25 16:04:33 -04:00
psychobunny
1b98449686 closes #5704 2017-05-25 15:17:24 -04:00
Baris Usakli
b9b02a1fab math.ceil pageCount 2017-05-25 14:40:18 -04:00
Peter Jaszkowiak
9ef2b5a003 Don't use uglify compress 2017-05-25 12:18:35 -06:00
Misty (Bot)
d018fe4854 Latest translations and fallbacks 2017-05-25 09:22:48 +00:00
Peter Jaszkowiak
53eced6be0 uglify-js@3, JS source maps 🍰 2017-05-25 01:33:04 -06:00
psychobunny
ce794509b2 up persona 2017-05-25 03:07:24 -04:00
Julian Lam
fc4f016932 Merge pull request #5689 from NodeBB/plugin-load-ref
Plugin load refactor
2017-05-24 22:18:28 -04:00
Julian Lam
3e6d51fc5a fixes #5606 :rage2: 2017-05-24 21:18:28 -04:00
Peter Jaszkowiak
c85bf9202d Fix tests sometimes failing 2017-05-24 18:55:18 -06:00
Peter Jaszkowiak
8ce35c3cc2 async.apply -_- 2017-05-24 16:55:23 -06:00
Barış Soner Uşaklı
d301139644 logger test 2017-05-24 16:38:16 -04:00
Barış Soner Uşaklı
fcaa10554e logger init test 2017-05-24 16:36:19 -04:00
Barış Soner Uşaklı
2faf175739 refactor 2017-05-24 16:13:23 -04:00
Barış Soner Uşaklı
f57b5f4e4c refactor 2017-05-24 15:07:13 -04:00
Julian Lam
74965654de adjusted cropbox max-height calculation to be dynamic 2017-05-24 14:50:22 -04:00
Julian Lam
3e218a75b8 allowed zooming again @pichalite 2017-05-24 14:15:19 -04:00
Barış Soner Uşaklı
b0dd1ad4d7 admin navigation test 2017-05-24 13:25:56 -04:00
Julian Lam
30bec51a21 removed cropper zoom and using image scaling to show entire image. Click on modal backdrop during crop will no longer close modal 2017-05-24 12:36:58 -04:00
Barış Soner Uşaklı
5cb53406fe more picture tests 2017-05-24 12:03:30 -04:00
Barış Soner Uşaklı
a513d98e1d prevent timeago in future for new posts 2017-05-24 10:56:09 -04:00
Misty (Bot)
dd3bf8d1ca Latest translations and fallbacks 2017-05-24 09:23:19 +00:00
Barış Soner Uşaklı
c9d502320f file.delete method 2017-05-24 00:02:30 -04:00
Peter Jaszkowiak
3dd282b7b9 Load languages with other plugin data
- Added more tests
- Should speed up builds
- Allows for incremental builds in the future
2017-05-23 21:55:23 -06:00
Barış Soner Uşaklı
29135dfed3 timeago locale test 2017-05-23 23:32:38 -04:00
Barış Soner Uşaklı
8205d6c897 test login after lock 2017-05-23 23:03:40 -04:00
Barış Soner Uşaklı
2bddd57a2e test account lock 2017-05-23 22:47:40 -04:00
Barış Soner Uşaklı
b29745aa44 more auth tests 2017-05-23 22:09:25 -04:00
Barış Soner Uşaklı
b8cc67dfff social tests 2017-05-23 20:43:09 -04:00
Peter Jaszkowiak
b8baac1aad async.apply 2017-05-23 18:07:13 -06:00
Peter Jaszkowiak
cd1f0ddc79 Resolve merge conflicts 2017-05-23 18:00:52 -06:00
Barış Soner Uşaklı
b2cef4846c Merge pull request #5698 from NodeBB/build-tests
Tests for `./nodebb build`
2017-05-23 19:16:50 -04:00
psychobunny
ad4985e5ca Merge pull request #5699 from pichalite/jquery
Delete unused file
2017-05-23 17:55:29 -04:00
Peter Jaszkowiak
2a9cdb7be2 Add --threads=# option for setting max threads
Make grunt NODE_ENV development by default
2017-05-23 15:49:14 -06:00
Barış Soner Uşaklı
a8c649cca6 check data.uid 2017-05-23 17:41:40 -04:00
Barış Soner Uşaklı
e4714a0c58 more auth tests 2017-05-23 17:37:16 -04:00
Barış Soner Uşaklı
9625f89665 remove for loop 2017-05-23 15:53:38 -04:00
Julian Lam
14da37f3b1 Merge pull request #5687 from NodeBB/translate-in-place
Extract in-place translation from Bootbox wrapper for use anywhere
2017-05-23 15:42:16 -04:00
Julian Lam
5297c31b1c adding yarn.lock to ignore file 2017-05-23 15:41:27 -04:00
Peter Jaszkowiak
542ae5e71f Extract in-place translation from bootbox wrapper for use anywhere 2017-05-23 15:41:27 -04:00
Barış Soner Uşaklı
1e83d33283 tests for login 2017-05-23 15:37:32 -04:00
pichalite
a12e159f18 Delete unused file 2017-05-23 19:11:16 +00:00
Barış Soner Uşaklı
fa5026c92e clear settings cache on all nodes on save 2017-05-23 13:05:43 -04:00
Barış Soner Uşaklı
9a9d1cf3f4 Merge pull request #5690 from NodeBB/build-refactor
Restrict total threads, minify modules in a batch, link instead of copying pre-minified files
2017-05-23 12:37:43 -04:00
Julian Lam
12e3369522 Tweaked upgrade script instructions 2017-05-23 11:35:40 -04:00
Peter Jaszkowiak
62546bc4fd Build tests 2017-05-21 19:01:41 -06:00
Peter Jaszkowiak
d988e8a50f Test minifier 2017-05-21 18:20:01 -06:00
Barış Soner Uşaklı
64c7907e6c added recent.rss 2017-05-21 20:14:00 -04:00
Barış Soner Uşaklı
a4ba88dc60 more feed tests 2017-05-21 19:45:29 -04:00
Misty (Bot)
57c5e0b554 Latest translations and fallbacks 2017-05-21 09:23:08 +00:00
Barış Soner Uşaklı
c5c755fbb0 more notification tests 2017-05-20 22:30:12 -04:00
Barış Soner Uşaklı
9af252b899 notifications tests 2017-05-20 21:01:55 -04:00
Barış Soner Uşaklı
59387540c7 style 2017-05-20 20:26:54 -04:00
Barış Soner Uşaklı
c364cebbe4 more tests 2017-05-20 20:20:53 -04:00
Barış Soner Uşaklı
7fb45cc148 more tests 2017-05-20 20:03:46 -04:00
Barış Soner Uşaklı
edeb22fcdf change style of meta.js 2017-05-20 20:03:46 -04:00
Barış Soner Uşaklı
769d2b00b1 change test method call 2017-05-20 17:08:20 -04:00
Barış Soner Uşaklı
9fdd313e30 tweak test 2017-05-20 16:46:07 -04:00
Barış Soner Uşaklı
4b94446cd9 more user search tests 2017-05-20 16:26:56 -04:00
Barış Soner Uşaklı
fe0a5aaf28 fix redis tests 2017-05-19 20:32:31 -04:00
Barış Soner Uşaklı
fd0043f36a more tests 2017-05-19 20:24:54 -04:00
Barış Soner Uşaklı
77894915eb closes #5684 2017-05-19 19:35:10 -04:00
Barış Soner Uşaklı
b3a265f981 closes #5694 2017-05-19 18:50:19 -04:00
Barış Soner Uşaklı
b1fe0c8f5f up persona 2017-05-19 18:49:34 -04:00
Barış Soner Uşaklı
29ca1dbf08 replies/reply fix 2017-05-19 17:14:46 -04:00
Barış Soner Uşaklı
8f8e7202e5 fix lint 2017-05-19 16:33:40 -04:00
Peter Jaszkowiak
4c1e25c8ce Link instead of copying files
Only mkdirp the necessary directories
2017-05-19 14:27:52 -06:00
Barış Soner Uşaklı
fd47e23057 test login for non-existant user 2017-05-19 16:18:18 -04:00
Barış Soner Uşaklı
95196ceedc closes #5692 2017-05-19 14:52:36 -04:00
Julian Lam
0bb52c5fc5 Merge pull request #5688 from frissdiegurke/patch-1
Update dependency nodebb-plugin-emoji-one@1.2.1
2017-05-19 07:08:54 -04:00
Misty (Bot)
4fadbcbbc8 Latest translations and fallbacks 2017-05-19 09:23:36 +00:00
Ole R
618386e4e3 Merge branch 'master' into patch-1 2017-05-19 11:09:12 +02:00
Ole R
b888ed8e1a Update package.json 2017-05-19 11:07:37 +02:00
Peter Jaszkowiak
9f5ce24993 Minify modules in a batch 2017-05-18 21:20:04 -06:00
Peter Jaszkowiak
e8caee3c4c Restrict total threads
So machines with a small amount of cores build faster
2017-05-18 19:12:30 -06:00
Barış Soner Uşaklı
4ab514a422 test for .delete with zset 2017-05-18 16:59:37 -04:00
Julian Lam
48d1d247aa Merge branch 'build-refactor' 2017-05-18 15:53:27 -04:00
Barış Soner Uşaklı
91e5266776 up emoji one 2017-05-18 13:33:04 -04:00
Ole R
2afce9f7c3 Update dependency nodebb-plugin-emoji-one@1.2.0 2017-05-18 11:27:41 +02:00
Peter Jaszkowiak
90da6d889d Only load necessary plugin data
Fix tests to work in this case
Add more verbose messages to plugins/data
2017-05-18 01:32:20 -06:00
Peter Jaszkowiak
b0645cc67d Plugin load refactor 2017-05-18 00:49:42 -06:00
Peter Jaszkowiak
7ccfb5cdc0 Build refactor
- Target aliases and bundles
- More concurrency
- Use `--series` to force series processing
- Minifier self-hosted threading
- meta/css delegates to minifier
2017-05-17 16:37:10 -06:00
Peter Jaszkowiak
1f8ef629e6 Extract in-place translation from bootbox wrapper for use anywhere 2017-05-17 16:03:48 -06:00
Misty (Bot)
11fc79051a Latest translations and fallbacks 2017-05-17 09:23:36 +00:00
Barış Soner Uşaklı
12f73b7d6f closes #5682 2017-05-16 19:24:46 -04:00
Barış Soner Uşaklı
e49f33317d digest cleanup and tests 2017-05-16 17:14:50 -04:00
Julian Lam
5f1eb70d01 fixes #5680 2017-05-15 12:19:47 -04:00
Julian Lam
d3d58b77d9 added test for custom date range ACP, #5541 2017-05-15 11:43:23 -04:00
Barış Soner Uşaklı
f7c31a6fa1 up vanilla 2017-05-15 09:24:51 -04:00
Misty (Bot)
f3008391d6 Latest translations and fallbacks 2017-05-14 09:22:50 +00:00
Barış Soner Uşaklı
ed9a429ca9 test invalid expiry 2017-05-13 22:45:13 -04:00
Barış Soner Uşaklı
a28b76861d perma and temp ban test 2017-05-13 22:29:22 -04:00
Barış Soner Uşaklı
33023ea419 create a notif before pruning 2017-05-13 22:15:31 -04:00
Barış Soner Uşaklı
6fdad4b002 fix test on redis 2017-05-13 22:12:52 -04:00
Barış Soner Uşaklı
8920523e06 more tests 2017-05-13 21:45:54 -04:00
Barış Soner Uşaklı
f1ef5e5582 Merge pull request #5679 from NodeBB/filter-unread-hook
Add hook `filter:topics.getUnreadTids`
2017-05-13 21:42:29 -04:00
Peter Jaszkowiak
6b05f6c5e9 Add hook filter:topics.getUnreadTids
Allows for filtering topics from unread count and unread page
2017-05-13 18:46:11 -06:00
Barış Soner Uşaklı
22db07938c up composer 2017-05-13 13:45:52 -04:00
Misty (Bot)
64732af130 Latest translations and fallbacks 2017-05-13 09:23:06 +00:00
Barış Soner Uşaklı
5e3946a6be teaser tests 2017-05-12 20:50:01 -04:00
Barış Soner Uşaklı
376c71adda group search tests 2017-05-12 19:51:33 -04:00
Barış Soner Uşaklı
6049c46f15 meta dependecy tests 2017-05-12 19:18:11 -04:00
Barış Soner Uşaklı
01e2263c01 more tests 2017-05-12 17:53:23 -04:00
Barış Soner Uşaklı
6daeadb7e9 remove async.parallel 2017-05-12 16:32:00 -04:00
Barış Soner Uşaklı
5e4b9479d4 closes #5677 2017-05-12 16:11:46 -04:00
Barış Soner Uşaklı
54a9e7eab9 #5674 2017-05-12 15:53:07 -04:00
Barış Soner Uşaklı
33f135c091 closes #5675 2017-05-12 15:40:09 -04:00
Barış Soner Uşaklı
70adcd64bc #5667 2017-05-12 14:58:40 -04:00
Julian Lam
4c00a5ece6 fixing tests 2017-05-12 12:14:19 -04:00
Julian Lam
3fcc21852c bump spam-be-gone 2017-05-12 11:53:41 -04:00
Julian Lam
e938d75efc closes #5676 2017-05-12 09:56:24 -04:00
Misty (Bot)
45949be029 Latest translations and fallbacks 2017-05-12 09:24:49 +00:00
Julian Lam
e4adaa8959 linting 2017-05-11 17:22:47 -04:00
Baris Usakli
0f05ae4ac1 filterpidsbycid tests 2017-05-11 17:16:26 -04:00
Julian Lam
816809ce3c fixes #5606 2017-05-11 16:53:35 -04:00
Baris Usakli
51a85031f7 utils tests 2017-05-11 16:31:16 -04:00
psychobunny
d06b19a69a up vanilla 2017-05-11 16:06:59 -04:00
Julian Lam
c64f0065bc Merge pull request #5653 from banyudu/patch-1
fix indent
2017-05-11 15:25:12 -04:00
Julian Lam
5ea8145cff Merge pull request #5663 from NodeBB/sounds-fix
Fix soundpacks not working, auto install dependencies, defer logging in tests
2017-05-11 15:22:38 -04:00
Barış Soner Uşaklı
073460ecf3 Merge pull request #5669 from BenLubar/no-extension-upload
Fix uploads of files with no extension failing when there is no restriction on file extensions.
2017-05-11 12:48:00 -04:00
Ben Lubar
572d7a1e8c Fix uploads of files with no extension failing when there is no restriction on file extensions. 2017-05-11 11:25:13 -05:00
Julian Lam
064a8aa6d7 Allowing custom date range to be supplied in pageviews graph, closes #5541 2017-05-11 11:41:36 -04:00
Julian Lam
544faa7861 Adding Croatian to languages, closes #5668. Hvala ti! 2017-05-11 09:34:20 -04:00
Barış Soner Uşaklı
052afb10f7 show output if upload fails 2017-05-10 22:05:23 -04:00
Barış Soner Uşaklı
e252c5195d coverPhoto tests 2017-05-10 21:46:11 -04:00
Barış Soner Uşaklı
608a7d120c error handler tests 2017-05-10 21:02:36 -04:00
Peter Jaszkowiak
bd6aca7d94 More friendly error message if module loading fails 2017-05-10 15:05:54 -06:00
Barış Soner Uşaklı
73f31640d7 more tests 2017-05-10 16:27:44 -04:00
Barış Soner Uşaklı
873801e9f3 fix test on nodev4 remove console.logs 2017-05-10 15:51:19 -04:00
Barış Soner Uşaklı
90018a7aab fix lint 2017-05-10 15:35:14 -04:00
Barış Soner Uşaklı
66dee3452f more tests for admin uploads 2017-05-10 15:34:36 -04:00
Barış Soner Uşaklı
29c0b8337e closes #5645 2017-05-10 14:43:52 -04:00
Peter Jaszkowiak
759c3f5584 Fix soundpacks not working 2017-05-10 12:23:28 -06:00
Peter Jaszkowiak
970c7a8caa Defer winston logging until after tests 2017-05-10 12:23:28 -06:00
Peter Jaszkowiak
eedc0889fc Fix failed lint 2017-05-10 12:23:28 -06:00
Peter Jaszkowiak
73f375252f Automatically install dependencies 2017-05-10 12:23:12 -06:00
Barış Soner Uşaklı
aabfe8f41f fix lint 2017-05-10 14:02:58 -04:00
Julian Lam
71137dbf43 pass reputation to flag reporter payload as well 2017-05-10 11:21:30 -04:00
Misty (Bot)
1d672d9024 Latest translations and fallbacks 2017-05-10 09:23:07 +00:00
Barış Soner Uşaklı
3c8460fee0 disable timeout 2017-05-09 18:19:22 -04:00
Barış Soner Uşaklı
17b57be835 Merge pull request #5661 from NodeBB/utils-rtrim
Deprecate non-standard `String.prototype.rtrim`
2017-05-09 16:44:43 -04:00
Peter Jaszkowiak
2b2544a4b1 Deprecate non-standard String.prototype.rtrim 2017-05-09 14:37:35 -06:00
Julian Lam
ad14b0d60b more fixes for #5660 2017-05-09 15:07:59 -04:00
Julian Lam
87fbb44ca8 fixes #5660 properly 2017-05-09 15:01:02 -04:00
Julian Lam
6d392089e4 fixes #5660 - https://ecma-international.org/ecma-262/5.1/#sec-15.9.1.1 2017-05-09 14:52:11 -04:00
Barış Soner Uşaklı
ca17975422 osd route test 2017-05-09 14:48:31 -04:00
Julian Lam
031171caed Merge pull request #5630 from NodeBB/notif-abort
Add more hooks for messaging, allow notification hook to abort the push
2017-05-09 14:42:58 -04:00
Barış Soner Uşaklı
bf78786a68 flag controller tests 2017-05-09 14:31:32 -04:00
Barış Soner Uşaklı
5a9b7b673a closes #5659 2017-05-09 14:16:21 -04:00
Peter Jaszkowiak
5ccb488b02 Fix indents 2017-05-09 11:45:09 -06:00
Peter Jaszkowiak
932ae4e86d Merge branch 'master' into notif-abort 2017-05-09 11:31:58 -06:00
Barış Soner Uşaklı
3ae3d788be up composer 2017-05-09 13:25:01 -04:00
Misty (Bot)
cb339838c0 Latest translations and fallbacks 2017-05-09 09:23:07 +00:00
Barış Soner Uşaklı
36a2ac0ebd add test for user settings cache issue 2017-05-08 21:28:06 -04:00
Barış Soner Uşaklı
db532fbb0d fix user settings cache 2017-05-08 21:23:30 -04:00
Barış Soner Uşaklı
6fcd12eafe fix tests 2017-05-08 20:55:47 -04:00
Barış Soner Uşaklı
b18b0db5be notifications.js style 2017-05-08 20:36:43 -04:00
Barış Soner Uşaklı
f3deef4931 closes #5656 2017-05-08 19:54:53 -04:00
Barış Soner Uşaklı
d49da8c85d up xregexp 2017-05-08 17:46:26 -04:00
Barış Soner Uşaklı
df7f357e53 up validator 2017-05-08 17:36:59 -04:00
Barış Soner Uşaklı
5822aaa433 up rimraf 2017-05-08 16:57:36 -04:00
Barış Soner Uşaklı
a43d6e6966 up redis 2017-05-08 16:50:40 -04:00
Barış Soner Uşaklı
dfbb488a0f up postcss 2017-05-08 16:30:12 -04:00
Barış Soner Uşaklı
ea5927047f up connect-redis 2017-05-08 16:18:36 -04:00
Barış Soner Uşaklı
1f3840414c up bcryptjs 2017-05-08 16:12:21 -04:00
Barış Soner Uşaklı
84ff8bb24a up autoprefixer 2017-05-08 16:03:32 -04:00
Barış Soner Uşaklı
d333e87b51 update some deps 2017-05-08 15:37:36 -04:00
Barış Soner Uşaklı
7ac031775a locale test change 2017-05-08 14:55:29 -04:00
Barış Soner Uşaklı
aca07a0f20 fix typo 2017-05-08 14:41:57 -04:00
Julian Lam
b58eb99571 re-adding public/uploads to gitignore 2017-05-08 14:26:48 -04:00
Julian Lam
aa9b795b3b update theme versions for v1.5.0 release 2017-05-08 14:08:17 -04:00
Julian Lam
972e9a0303 bump version for manual minor release 2017-05-08 13:56:54 -04:00
Barış Soner Uşaklı
3a1eba2537 merge 2017-05-08 13:49:35 -04:00
Barış Soner Uşaklı
7135d25a4a closes #5654 2017-05-08 12:19:22 -04:00
Barış Soner Uşaklı
6c224c3800 fix cover:url logic 2017-05-08 12:09:25 -04:00
Barış Soner Uşaklı
5b69598f15 Merge pull request #5632 from NodeBB/fix-5631
Fix #5631
2017-05-08 12:07:25 -04:00
Misty (Bot)
27b362fab2 Latest translations and fallbacks 2017-05-08 09:22:52 +00:00
Yudu Ban
a76a8b57cd fix indent
Use space instead of Tab
2017-05-08 09:30:16 +08:00
Misty (Bot)
5e464f1466 Latest translations and fallbacks 2017-05-06 20:41:49 +00:00
psychobunny
da5a0d8881 Merge pull request #5651 from NodeBB/ban-improvements
Ban improvements
2017-05-06 15:32:30 -04:00
Misty (Bot)
4511814c18 Latest translations and fallbacks 2017-05-06 09:22:16 +00:00
psychobunny
480352c650 send the banned user an email with reason + time limit if applies 2017-05-06 02:37:00 -04:00
psychobunny
2a405ad439 fixed permaban on redis 2017-05-05 20:11:18 -04:00
psychobunny
41b4ef859f add ban messaging when logged in 2017-05-05 19:50:50 -04:00
psychobunny
b3bd70235a refactor ban messaging; add ban duration to message; use bootbox instead of alert 2017-05-05 19:31:49 -04:00
psychobunny
76a2b4800b add back timeago.allowFuture so we can notify when a ban will expire 2017-05-05 19:20:37 -04:00
psychobunny
c330218920 revoke sessions as soon as user is banned 2017-05-05 19:15:37 -04:00
Barış Soner Uşaklı
17ca1d33fb faster sitemap 2017-05-05 15:33:00 -04:00
Barış Soner Uşaklı
5673769c8c add back removed rtrim method 2017-05-05 12:28:41 -04:00
Misty (Bot)
94735f4945 Latest translations and fallbacks 2017-05-05 09:23:04 +00:00
Barış Soner Uşaklı
17d0759672 fix lint 2017-05-04 16:39:47 -04:00
Barış Soner Uşaklı
14f3907aa4 change the way group member posts are stored 2017-05-04 16:32:51 -04:00
Barış Soner Uşaklı
670a5d9ca0 fix timestamp not showing for replies, remove allowFuture @julianlam 2017-05-04 14:37:03 -04:00
Barış Soner Uşaklı
986e52897d fix crash if locale is undefined 2017-05-04 14:09:44 -04:00
psychobunny
6f8e7343e6 fix for "invalid date" re:threading when replying to yourself 2017-05-04 14:08:18 -04:00
Barış Soner Uşaklı
6a822f729d add timestamp to topic edit hook 2017-05-04 13:19:28 -04:00
Barış Soner Uşaklı
f6d22b7ea5 up widget essentials 2017-05-03 17:49:01 -04:00
Barış Soner Uşaklı
9ebbd65544 up user settings cache size 2017-05-03 17:24:31 -04:00
Barış Soner Uşaklı
ea6f981686 closes #5638 2017-05-03 17:13:15 -04:00
Barış Soner Uşaklı
e7d076a084 closes #5634 2017-05-03 16:36:34 -04:00
Barış Soner Uşaklı
114f416ec0 remove dupe code 2017-05-03 15:30:46 -04:00
Misty (Bot)
d7cbf93982 Latest translations and fallbacks 2017-05-03 09:22:13 +00:00
psychobunny
2fc53a1e30 closes #5625
note: `.avatar-lg` wasn't updated to match the `develop` branch (where `avatar-xl` was added) intentionally
2017-05-02 16:47:16 -04:00
Barış Soner Uşaklı
6fb90a17e0 closes #5613 2017-05-01 21:38:03 -04:00
Barış Soner Uşaklı
13a04123e0 closes #5641 2017-05-01 20:58:34 -04:00
Barış Soner Uşaklı
7a1a030865 closes #5640 2017-05-01 20:40:04 -04:00
Barış Soner Uşaklı
c0807ab327 closes #5639 2017-05-01 15:37:58 -04:00
Barış Soner Uşaklı
029e2ea8da 404 logging change
dont write to db on every 404
dont log 404 if route is empty
2017-04-30 16:32:14 -04:00
Barış Soner Uşaklı
1d4923a606 limit # of results returned 2017-04-30 15:52:19 -04:00
Barış Soner Uşaklı
da24e342f2 limit sessions displayed to 20 2017-04-30 15:11:51 -04:00
psychobunny
5b4dcfafe2 Limiting group members here
Refactor incoming. @barisusakli
2017-04-29 03:44:55 -04:00
psychobunny
cd2aac9d28 limiting amount of tid's being loaded via sitemap
temporary stopgap for load issues, fixing this properly next
@barisusakli
2017-04-29 03:19:31 -04:00
Barış Soner Uşaklı
2f3aceb7d3 dont do anything if config is off 2017-04-28 23:09:36 -04:00
Barış Soner Uşaklı
f3c4d2ebe3 closes #5636 2017-04-28 19:35:48 -04:00
Barış Soner Uşaklı
59d0815073 closes #5637 2017-04-28 18:48:32 -04:00
Barış Soner Uşaklı
82863a28f0 add the loaded topics after the last topic on the list 2017-04-28 02:08:14 -04:00
Barış Soner Uşaklı
13f5d29cb9 eslint 2017-04-27 19:16:32 -04:00
Barış Soner Uşaklı
af6cde5534 show how many nodes responded 2017-04-27 18:58:21 -04:00
Barış Soner Uşaklı
0b3656f34c fix timeouts on category.purge when there are 20k groups 2017-04-27 16:40:01 -04:00
Julian Lam
db4fdbaebe removing jslint directive at top of upgrade scripts @pitaj 2017-04-27 02:47:38 -04:00
Julian Lam
6095b7e6db change where progress.incr is called for flags_refactor upgrade script 2017-04-27 02:47:37 -04:00
Peter Jaszkowiak
4b87324234 Quick fix 2017-04-26 16:02:15 -06:00
Peter Jaszkowiak
033ce02e7b Rename hooks
Add `static:messaging.canMessageRoom` as well
2017-04-26 15:22:17 -06:00
Peter Jaszkowiak
8a87311d5c Remove annoying jslint comment
Use an rc file instead
2017-04-26 15:08:12 -06:00
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
2017-04-26 14:57:49 -06:00
Barış Soner Uşaklı
7a6b685aa0 if the main and last post is purged, purge the topic as well 2017-04-26 14:19:48 -04:00
Barış Soner Uşaklı
870bb87b08 always pass strings to bcrypt compare 2017-04-26 13:17:21 -04:00
Peter Jaszkowiak
19d6386237 Also abort if no uids to push to 2017-04-26 10:48:08 -06:00
Peter Jaszkowiak
42e21d5aa9 Add more messaging hooks 2017-04-26 10:45:40 -06:00
Peter Jaszkowiak
3350a89791 Allow aborting notification push 2017-04-25 15:27:12 -06:00
barisusakli
085d8c2f92 fix lint 2017-04-25 16:48:54 -04:00
Barış Soner Uşaklı
9d229ae960 fix path to log file if base_dir is undefined 2017-04-24 18:52:59 -04:00
Julian Lam
9f09140668 Merge pull request #5627 from NodeBB/acp-search-escape
Escape ACP search values
2017-04-24 15:54:59 -04:00
Julian Lam
7abd80490b Merge pull request #5626 from NodeBB/reject-nonaudio-uploads
Reject non-audio upload requests to the sounds route
2017-04-24 15:54:42 -04:00
Peter Jaszkowiak
65e31493a9 Escape ACP search values 2017-04-24 11:40:39 -06:00
Barış Soner Uşaklı
c45c4a5fdb on login display invalid-login-credentials 2017-04-24 13:31:38 -04:00
Barış Soner Uşaklı
4900f21dd5 fix crash in header 2017-04-24 13:30:01 -04:00
Peter Jaszkowiak
1ac14a466e Reject non-audio upload requests to the sounds route 2017-04-24 11:22:38 -06:00
Misty (Bot)
066e54474e Latest translations and fallbacks 2017-04-24 09:22:48 +00:00
Barış Soner Uşaklı
5f634518c9 Merge pull request #5624 from NodeBB/fix-5622
Fix #5622
2017-04-23 15:48:45 -04:00
Peter Jaszkowiak
81e23a8a9a Fix #5622 2017-04-23 12:48:35 -06:00
barisusakli
04f884db65 fix crash in languages if lang doesn't exist @pitaj 2017-04-23 12:47:52 -04:00
Misty (Bot)
4cf87264cf Latest translations and fallbacks 2017-04-23 09:22:16 +00:00
barisusakli
33e8ecc1f4 closes #5404 2017-04-22 19:07:57 -04:00
barisusakli
b91b41dfa3 show database values in gbs 2017-04-22 17:08:54 -04:00
barisusakli
fa13e9acc0 closes #5621 2017-04-22 14:38:43 -04:00
barisusakli
08049c0712 remove empty block 2017-04-22 13:49:10 -04:00
barisusakli
5516352758 closes #5612 2017-04-22 13:43:58 -04:00
Barış Soner Uşaklı
081578c7f4 Merge pull request #5616 from NodeBB/auto-lang
Automatically detect user language based on browser accepts header
2017-04-22 12:58:54 -04:00
Misty (Bot)
94a9a6ad39 Latest translations and fallbacks 2017-04-22 09:22:41 +00:00
Peter Jaszkowiak
64bf542d17 Fix HTML lang attribute using the defaultLang
Themes need `lang="{function.localeToHTML, userLang, defaultLang}"` in
their header.tpl file
2017-04-21 23:56:19 -06:00
Peter Jaszkowiak
6432c02ab8 Add tests 2017-04-21 23:54:59 -06:00
barisusakli
ba51a6c746 fix underscore 2017-04-22 00:33:49 -04:00
barisusakli
b7b65c7d63 change style 2017-04-22 00:19:23 -04:00
barisusakli
a2784738a4 fix lint 2017-04-22 00:15:12 -04:00
Peter Jaszkowiak
c7929ec7d8 Add option for disabling language autodetection 2017-04-21 22:10:25 -06:00
barisusakli
2029de4cc5 closes #5449 2017-04-21 23:56:24 -04:00
barisusakli
3d39a577f4 style change 2017-04-21 23:55:57 -04:00
Barış Soner Uşaklı
c43a4e4b82 Merge pull request #5615 from NodeBB/fix-5536
Fix #5536
2017-04-21 23:33:15 -04:00
barisusakli
08dd412896 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
# Conflicts:
#	src/upgrade.js
2017-04-21 21:43:39 -04:00
Barış Soner Uşaklı
d6703753da up request dep 2017-04-21 21:41:37 -04:00
barisusakli
75e5f2da74 closes #5485 2017-04-21 21:36:42 -04:00
barisusakli
73700ed747 closes #5617 2017-04-21 13:48:43 -04:00
Julian Lam
22b4091bdf Merge pull request #5614 from NodeBB/fix-signatures
Fix images not displaying in signatures
2017-04-21 09:00:43 -04:00
Misty (Bot)
30619a23c1 Latest translations and fallbacks 2017-04-21 09:22:17 +00:00
barisusakli
2ab028a4bc update upgrade script to use batch 2017-04-20 18:15:06 -04:00
barisusakli
3d93667e2b update update script to batch 2017-04-20 18:10:31 -04:00
Misty (Bot)
de6ca3710d Latest translations and fallbacks 2017-04-20 09:22:10 +00:00
Peter Jaszkowiak
2476221b79 Close #3462, automatically detect user language based on browser accepts header 2017-04-20 00:16:10 -06:00
Peter Jaszkowiak
413bb4736c Save language metadata on build to avoid readdirs later 2017-04-20 00:16:06 -06:00
Peter Jaszkowiak
cc76a8663d Add flag for detecting if the mock is being used 2017-04-19 20:44:11 -06:00
Peter Jaszkowiak
30b47d39f3 Fix #5536 2017-04-19 20:33:03 -06:00
barisusakli
b45111d44b show max message length in error message 2017-04-19 20:56:12 -04:00
Peter Jaszkowiak
9d8ff4ea3e Fix images not displaying in signatures 2017-04-19 17:19:38 -06:00
NodeBB Misty
1028327f0a Incremented version number - v1.4.6 2017-04-19 15:07:25 -04:00
Julian Lam
de81a340ec Revert "Incremented version number - v1.4.6"
This reverts commit 73d934f5ae.
2017-04-19 13:32:37 -04:00
barisusakli
d500e7f2aa add back action:plugin.install and action:plugin activate #5407 2017-04-19 13:23:53 -04:00
barisusakli
d8170d5d1c fix tests 2017-04-19 13:09:16 -04:00
barisusakli
0d1d8f3874 style changes 2017-04-19 12:33:56 -04:00
Julian Lam
e5f7eed8ec adding progress bar to session deletion upgrade script 2017-04-19 12:18:00 -04:00
barisusakli
974106b7e2 closes #5610 2017-04-19 12:07:42 -04:00
NodeBB Misty
73d934f5ae Incremented version number - v1.4.6 2017-04-18 17:46:39 -04:00
Julian Lam
7a0db03d99 Merge branch 'upgrade-progress-bar' into develop 2017-04-18 16:46:19 -04:00
barisusakli
7b91da067b closes #5602 2017-04-18 14:21:28 -04:00
barisusakli
236758b712 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2017-04-18 14:00:14 -04:00
barisusakli
9e3d8a8090 one more fix #5607 2017-04-18 13:55:18 -04:00
barisusakli
27a76fcfc9 closes #5607 2017-04-18 13:53:43 -04:00
barisusakli
b33d25b0b8 use name 2017-04-18 13:33:32 -04:00
barisusakli
bda3c2863b closes #5605 2017-04-18 13:32:47 -04:00
barisusakli
97f6c0008f add radix 2017-04-17 19:15:37 -04:00
barisusakli
fb3020f892 closes #5604 2017-04-17 18:59:46 -04:00
Julian Lam
c14160a85b Merge pull request #5603 from NodeBB/sounds-fix
Fix sounds playing through multiple tabs
2017-04-17 18:02:22 -04:00
Peter Jaszkowiak
2827db3309 Fix sounds playing through multiple tabs 2017-04-17 15:56:24 -06:00
barisusakli
56ba08f17e fix require path 2017-04-17 14:31:24 -04:00
barisusakli
20eac0de94 closes #5518 2017-04-17 12:23:05 -04:00
Misty (Bot)
6d7c70c911 Latest translations and fallbacks 2017-04-17 09:22:05 +00:00
Julian Lam
82bfa752b9 Removed outdated list of available upgrade scripts 2017-04-16 15:47:32 -04:00
Julian Lam
856cb8fc2a Merge remote-tracking branch 'origin/master' into develop 2017-04-16 15:46:27 -04:00
Julian Lam
542cf1a982 Merge remote-tracking branch 'origin/master' into develop 2017-04-16 15:45:16 -04:00
barisusakli
fdee61b4f4 use deleteMany instead 2017-04-16 15:42:28 -04:00
barisusakli
cf6c4667c8 upgrade script to clear sessions 2017-04-16 15:31:50 -04:00
barisusakli
38e16ca8f6 Merge branch 'master' into develop 2017-04-16 14:48:00 -04:00
barisusakli
65a65b19c0 tests for #5600 2017-04-16 14:46:02 -04:00
barisusakli
c3ac7c31b1 Merge branch 'master' into develop 2017-04-16 14:32:50 -04:00
barisusakli
185b6e5c8e #5600 2017-04-16 14:31:49 -04:00
barisusakli
e3205bcfad merge 2017-04-16 14:26:12 -04:00
barisusakli
9f8d80e3a4 closes #5600 2017-04-16 14:22:40 -04:00
Julian Lam
b25fbd1e2e fix broken upgrade script 2017-04-16 13:39:09 -04:00
Julian Lam
3022a1920b added progress bars to all upgrade scripts processing posts:pid sorted set 2017-04-16 13:37:17 -04:00
Julian Lam
8fc6123230 fixing accidental eachSeries 2017-04-16 13:29:36 -04:00
Julian Lam
33082d90cc updated logic to make it a bit simpler to implement per upgrade script 2017-04-16 13:25:01 -04:00
Julian Lam
1cd50a8c30 Merge branch 'develop' into upgrade-progress-bar 2017-04-16 11:27:29 -04:00
Julian Lam
678db343b4 Merge pull request #5597 from NodeBB/chherypick-fixes
Cherrypick fixes from #5591
2017-04-15 18:27:12 -04:00
Peter Jaszkowiak
37c4218184 Fix error if ./nodebb build isn't called before tests 2017-04-15 16:10:43 -06:00
Peter Jaszkowiak
6e5a79842f Fix #5595 2017-04-15 16:10:42 -06:00
Peter Jaszkowiak
baa2a59f4c Fix ace editor not working 2017-04-15 16:10:28 -06:00
Julian Lam
98047be9ce Merge pull request #5596 from NodeBB/translator-fix
Centrally escape translator tokens in every topic title
2017-04-15 17:18:27 -04:00
Peter Jaszkowiak
e382bca610 Fix tests 2017-04-15 04:22:28 -06:00
Misty (Bot)
0e615e7b09 Latest translations and fallbacks 2017-04-15 09:22:15 +00:00
Peter Jaszkowiak
0fe10f5e86 Escape topic titles at the source, deduplicate 2017-04-15 01:38:42 -06:00
Peter Jaszkowiak
ecfca21abe Up composer 2017-04-15 00:50:12 -06:00
psychobunny
9670d7d762 up persona 2017-04-14 20:03:39 -04:00
psychobunny
c3423b2456 up persona 2017-04-14 20:03:10 -04:00
psychobunny
3598af784d up persona 2017-04-14 20:00:45 -04:00
psychobunny
2319af2904 up persona 2017-04-14 19:58:24 -04:00
barisusakli
4d1b8d7460 fix lint 2017-04-14 15:15:25 -04:00
barisusakli
552f850207 closes #2702 2017-04-14 14:56:39 -04:00
barisusakli
92343eb2e1 fix mongo setObject if key/value is empty string 2017-04-14 13:58:32 -04:00
barisusakli
da7bc5bb7a test fix 2017-04-14 13:38:58 -04:00
barisusakli
36df4cdf97 fix cyclic dependency issue 2017-04-14 13:37:15 -04:00
barisusakli
e63559b6fd closes #5484 2017-04-14 12:59:36 -04:00
barisusakli
b8c606cbbd closes #5519 2017-04-14 10:08:50 -04:00
Misty (Bot)
c2ba1c270f Latest translations and fallbacks 2017-04-14 09:22:18 +00:00
barisusakli
886768ba84 check both date and upgrade count 2017-04-13 19:04:22 -04:00
barisusakli
05e9e88a15 fix lint 2017-04-13 18:53:46 -04:00
barisusakli
1cf775a4b8 upgrade script fixes 2017-04-13 18:43:39 -04:00
barisusakli
520d6954c1 test node 7 2017-04-13 17:58:44 -04:00
barisusakli
f4b8cb7217 added missing return 2017-04-13 17:02:13 -04:00
barisusakli
6d1702c600 wait for calls to finish 2017-04-13 16:58:41 -04:00
Julian Lam
a141835cf8 Merge branch 'master' into develop 2017-04-13 16:45:46 -04:00
barisusakli
7ce6c1d0ad closes #5571 2017-04-13 16:36:02 -04:00
psychobunny
1179dd9503 up composer, closes #5586 2017-04-13 15:32:38 -04:00
psychobunny
1e3acc0caf up persona 2017-04-13 15:18:27 -04:00
psychobunny
b1ee7cc5b4 up persona 2017-04-13 15:18:11 -04:00
Peter Jaszkowiak
1fb48ef7a7 Fix #5592 (#5593)
* Fix #5592
Escape translation tokens in topic titles, descriptions, profile about, and post contents

* Fix tests
2017-04-13 21:37:54 +03:00
Julian Lam
d18cfced96 Merge remote-tracking branch 'origin/master' into develop 2017-04-12 23:57:14 -04:00
Julian Lam
c3febca9c8 Merge pull request #5577 from NodeBB/patch-pitaj
Use npm instead of vendor files
2017-04-12 23:43:50 -04:00
Peter Jaszkowiak
a8add6477c Fix merge conflicts 2017-04-12 21:29:54 -06:00
Julian Lam
a62a4e698f Merge pull request #5578 from NodeBB/utils-translator-require
Make utils and translator easier to require
2017-04-12 23:16:59 -04:00
Peter Jaszkowiak
484a800327 Merge branch master into develop 2017-04-12 21:11:39 -06:00
Julian Lam
a117b559b8 Merge pull request #5590 from NodeBB/translator-fix
Fix #5588, translator ignores unclosed tokens
2017-04-12 22:48:36 -04:00
Peter Jaszkowiak
980e9026f3 Fix #5588, translator ignores unclosed tokens 2017-04-12 20:34:31 -06:00
Julian Lam
e9fb42eb03 Merge pull request #5589 from NodeBB/fix-require.main.require
Fix using `./nodebb` in other CWDs
2017-04-12 17:32:43 -04:00
Julian Lam
42b5cdaae3 progress bars! omg 2017-04-12 17:30:20 -04:00
Peter Jaszkowiak
f16a40d29e Add nodebb file to linter 2017-04-12 15:29:01 -06:00
Peter Jaszkowiak
75d291183d Fix using nodebb in other CWDs 2017-04-12 15:22:58 -06:00
Peter Jaszkowiak
9368e666d8 Fix failing test 2017-04-11 21:53:17 -06:00
Misty (Bot)
73b6b06294 Latest translations and fallbacks 2017-04-11 09:22:21 +00:00
Misty (Bot)
08f001063c Latest translations and fallbacks 2017-04-10 09:22:23 +00:00
Peter Jaszkowiak
010473e5cc Merge branch 'master' into patch-pitaj 2017-04-09 23:09:52 -06:00
Peter Jaszkowiak
dc4f2be156 Remove ace global for eslint 2017-04-09 21:47:05 -06:00
Julian Lam
126237e2c9 Merge pull request #5576 from pichalite/zxcvbn
Closes #5521
2017-04-09 16:52:52 -04:00
Peter Jaszkowiak
1892492505 Deprecate utils.walk, remove prototype modification 2017-04-08 21:02:06 -06:00
Peter Jaszkowiak
1ed571189c Make utils and translator easier to require
Move utils.walk to file.walk, backwards compatible
2017-04-08 20:27:52 -06:00
Peter Jaszkowiak
b53d3254dd buzz is no longer used 2017-04-08 19:05:10 -06:00
Peter Jaszkowiak
2c418fd2af Use npm bootstrap 2017-04-08 19:05:10 -06:00
Peter Jaszkowiak
0ef30e91ba Use ace-builds npm package instead of vendor
ace can be referenced as an r.js module, reduces acp bundle size
2017-04-08 19:05:10 -06:00
Peter Jaszkowiak
17ff8a4151 Enable passing paths as module sources 2017-04-08 19:05:10 -06:00
Misty (Bot)
12a426b7b9 Latest translations and fallbacks 2017-04-08 09:22:22 +00:00
pichalite
d4de345e87 syntax 2017-04-07 21:39:22 +00:00
pichalite
4c89497cc4 Closes #5521 2017-04-07 20:57:00 +00:00
Anil Mandepudi
da183e196a Fixes #5572 (#5575)
* Fixes #5572

* Adding trailing commas but in protest
2017-04-07 14:35:24 -04:00
Julian Lam
0fac75c055 Merge pull request #5573 from NodeBB/patch-pitaj
Fix #5563
2017-04-07 14:15:22 -04:00
Misty (Bot)
07b9bb6fb8 Latest translations and fallbacks 2017-04-07 09:22:36 +00:00
psychobunny
5985a8a7a3 closes #5574 2017-04-06 18:06:10 -04:00
Barış Soner Uşaklı
43f8678c7a update local config immediately 2017-04-06 17:59:46 -04:00
psychobunny
e121a5a798 closes #5574 2017-04-06 17:57:01 -04:00
Barış Soner Uşaklı
8afdd71ef1 closes #5559 2017-04-06 17:44:25 -04:00
Peter Jaszkowiak
1deeaaeb39 Fix #5563 2017-04-06 15:20:07 -06:00
Barış Soner Uşaklı
5c005bbbdf use bind 2017-04-05 15:18:27 -04:00
Barış Soner Uşaklı
1b6d96dde7 on post flag increment zset 2017-04-05 14:59:50 -04:00
Misty (Bot)
bb0ec540bd Latest translations and fallbacks 2017-04-04 09:22:34 +00:00
Julian Lam
60990f28ad Merge pull request #5568 from NodeBB/patch-pitaj
`filter:teasers.get` provided with `uid`
2017-04-03 16:59:18 -04:00
Peter Jaszkowiak
8119b8c4ae filter:teasers.get provided with uid 2017-04-03 14:40:03 -07:00
André Zanghelini
03d432182b Fix postcount is expected to be Number (#5567) 2017-04-03 12:45:43 -04:00
psychobunny
53dac97800 closes #5560 2017-04-03 12:42:36 -04:00
Barış Soner Uşaklı
d88219b4d1 closes #5566 2017-04-03 06:35:20 -04:00
Misty (Bot)
0bea922a12 Latest translations and fallbacks 2017-04-03 09:22:20 +00:00
Misty (Bot)
60d35fdf05 Latest translations and fallbacks 2017-04-02 09:22:17 +00:00
Misty (Bot)
2feb19aa2d Latest translations and fallbacks 2017-04-01 09:22:12 +00:00
Julian Lam
b287c75e3c Merge pull request #5562 from NodeBB/patch-pitaj
Fix #5561
2017-03-31 16:47:06 -04:00
Peter Jaszkowiak
81696dd24a Fxi #5561 2017-03-31 14:45:03 -06:00
Julian Lam
ef2b245a82 bump mentions 2017-03-30 11:00:11 -04:00
Julian Lam
8a8bd23de9 Merge pull request #5558 from NodeBB/patch-5538
Partial fix #5538
2017-03-30 08:56:14 -04:00
Peter Jaszkowiak
57696b22f4 Partial fix #5538 2017-03-30 03:17:45 -06:00
Julian Lam
7afe8a32f6 Merge branch 'master' into develop 2017-03-29 15:26:49 -04:00
Julian Lam
a450cb869d up themes 2017-03-29 15:26:18 -04:00
Julian Lam
55f07d3301 fixed flags list in account info page 2017-03-29 12:44:40 -04:00
Misty (Bot)
e9794224a8 Latest translations and fallbacks 2017-03-29 09:24:44 +00:00
Julian Lam
5fbbe898d0 fixes #5538 2017-03-28 12:17:20 -04:00
Julian Lam
1594a84e1c fixes #5536 2017-03-28 12:13:44 -04:00
Julian Lam
a63459dc98 Merge branch 'master' of github.com:NodeBB/NodeBB 2017-03-28 12:13:30 -04:00
Misty (Bot)
8d4a32dc27 Latest translations and fallbacks 2017-03-28 09:24:51 +00:00
Julian Lam
c34b10dd50 Merge branch 'master' into develop 2017-03-27 14:38:27 -04:00
Julian Lam
15506c30a4 updates es search translation 2017-03-27 14:38:13 -04:00
husseinwalli
3876a88252 Added additional parameters to user creation method (#5496)
Treating picture, location and birthday similar to data.email as optional parameters to be passed to the create a user
2017-03-27 14:05:06 -04:00
Peter Jaszkowiak
ff09d6e0dd Fix #5549, improve tpl compilation (#5551) 2017-03-27 13:53:26 -04:00
Misty (Bot)
c1c96668af Latest translations and fallbacks 2017-03-27 09:24:50 +00:00
Barış Soner Uşaklı
6b0a907ede closes #5552 2017-03-26 15:12:28 +03:00
Misty (Bot)
2a2ed96a07 Latest translations and fallbacks 2017-03-26 09:24:22 +00:00
Julian Lam
42dc496572 Merge pull request #5550 from NodeBB/patch_5543
Remove duplicate slugify
2017-03-25 16:29:14 -04:00
Misty (Bot)
114f87e78c Latest translations and fallbacks 2017-03-25 09:22:16 +00:00
Peter Jaszkowiak
14ed0be4f7 Remove duplicate slugify 2017-03-24 14:43:58 -06:00
Julian Lam
0e157d93ea Merge remote-tracking branch 'origin/master' into develop 2017-03-24 15:52:58 -04:00
Julian Lam
a1f87a5d7f added tests for #5545 2017-03-24 15:52:33 -04:00
Julian Lam
a49e647de3 fixes #5545 again 2017-03-24 14:46:51 -04:00
Julian Lam
b649eb95f8 Merge remote-tracking branch 'origin/master' into develop 2017-03-24 14:37:39 -04:00
Julian Lam
31b6d47f88 fixes #5545 2017-03-24 14:36:54 -04:00
Julian Lam
c84e54c6c6 Merge pull request #5544 from NodeBB/patch_5543
Fix #5543
2017-03-24 13:32:32 -04:00
Peter Jaszkowiak
a7677063de Rename to uniqueUsername 2017-03-24 10:33:38 -06:00
Peter Jaszkowiak
642306e69c Fix #5543 2017-03-24 10:28:18 -06:00
Misty (Bot)
3319a72679 Latest translations and fallbacks 2017-03-24 09:22:18 +00:00
Julian Lam
6060b8e13b fix tests 2017-03-23 14:39:46 -04:00
Julian Lam
f2653cd380 broader error handling for empty notif creation return 2017-03-23 14:35:29 -04:00
Barış Soner Uşaklı
a3d65d10f6 fix test again 2017-03-23 16:45:24 +03:00
Barış Soner Uşaklı
46da2daab9 fix test 2017-03-23 16:31:14 +03:00
Barış Soner Uşaklı
61eafb32f3 fix moderation note test 2017-03-23 16:31:06 +03:00
Barış Soner Uşaklı
fe27d40ff6 closes #5542 2017-03-23 10:58:28 +03:00
Julian Lam
4b3dcd1a02 Merge remote-tracking branch 'origin/master' into develop 2017-03-22 09:18:20 -04:00
Aziz Khoury
6682e048ea wrapImagesInLinks with <a download> attribute
if the `src` of the `img` does not have an extension, most browsers will trigger a download with whatever filename is set, also without an extension, so when it's opened in any OS, it wont have a default application to open it with.

So, In this case, if the `alt` attribute has an extension (meaning if it looks like filename) - we use that with the html5 [`download` attr](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-download)

The PR does not affect any src if they have an extension.
2017-03-22 12:19:31 +02:00
Julian Lam
ce64db8d71 fix logic error that caused upgrade scripts to always be skipped 2017-03-21 21:10:46 -04:00
Julian Lam
a82a50baa6 fix date and name in config urls upgrade script 2017-03-21 21:10:20 -04:00
Julian Lam
b6134b160e moved auto_reconnect out of socketOptions object for Mongo 2017-03-21 15:55:24 -04:00
Julian Lam
db84296373 Merge pull request #5539 from NodeBB/julianlam-patch-1
Up MongoDB dependency to v2.2.25
2017-03-21 14:22:17 -04:00
Julian Lam
9714e3c26b Up MongoDB dependency to v2.2.25
This is a PR to see if tests go 💥
2017-03-21 14:01:41 -04:00
Ben Lubar
7f713ee822 Admin option to allow all users to view votes (#5534)
* Admin option to allow all users to view votes

* Fix </strong></strong>
2017-03-17 14:08:47 -04:00
Julian Lam
e4168f4a87 linting 2017-03-17 13:35:24 -04:00
Julian Lam
c805d55b85 creating notification for flag assignment 2017-03-17 13:16:16 -04:00
Julian Lam
7f8f197e60 Merge branch 'master' into develop 2017-03-16 14:58:39 -04:00
Misty (Bot)
da1858f674 Incremented version number 2017-03-16 14:58:24 -04:00
barisusakli
449352d899 wait for all routes to load before listening 2017-03-16 11:24:36 +03:00
Julian Lam
2ef71e22aa Merge pull request #5532 from NodeBB/patch_5491
Fix tests for #5491 fix
2017-03-15 23:11:09 -04:00
Peter Jaszkowiak
8f8babf90b Fix tests 2017-03-15 20:09:07 -07:00
Julian Lam
23d4497c73 Merge pull request #5531 from NodeBB/patch_5491
Fix #5491
2017-03-15 23:01:42 -04:00
Peter Jaszkowiak
8c45411ccc Fix #5491 2017-03-15 20:00:05 -07:00
psychobunny
f7d1e58d65 improved threaded view design... again 2017-03-15 18:56:12 -04:00
Julian Lam
69dd1e3aca Merge branch 'master' into develop 2017-03-15 14:39:18 -04:00
Julian Lam
33bf930bb9 fixes #5528 2017-03-15 13:49:35 -04:00
barisusakli
8d7283e6c7 dont minify if file ends with .min.js #5529 2017-03-15 20:33:33 +03:00
Julian Lam
250bb4b011 fixed leftover merge conflict artifact 2017-03-15 10:23:25 -04:00
Julian Lam
1ebbbdd3f9 Merge remote-tracking branch 'origin/master' into develop 2017-03-15 10:01:00 -04:00
barisusakli
ff4c7ab3bb fix tests 2017-03-15 12:49:08 +03:00
barisusakli
6a4b082080 closes #5524 2017-03-15 12:19:09 +03:00
barisusakli
cb92ebb3be fix call 2017-03-14 23:29:26 +03:00
barisusakli
5a2ff8ed0a closes #5527 2017-03-14 23:03:09 +03:00
Julian Lam
6d444ccacf Merge pull request #5526 from NodeBB/patch_5346
Fix #5346
2017-03-14 09:52:42 -04:00
Misty (Bot)
2106050bdc Latest translations and fallbacks 2017-03-14 09:22:41 +00:00
Peter Jaszkowiak
c199075d98 Fix #5346 2017-03-13 20:20:41 -07:00
Julian Lam
25518bdd18 removed unused vars 2017-03-13 16:54:29 -04:00
psychobunny
8a6665a26c up lav, closes #5525 2017-03-13 16:54:28 -04:00
Julian Lam
c323a813c0 added logic to handle backwards compatibility with old schemaDate method of tracking upgrade scripts 2017-03-13 16:45:05 -04:00
psychobunny
767705085b test against nodejs 7 as well 2017-03-13 14:00:48 -04:00
psychobunny
4a33f45b1e use writeFileSync for synchronous fs write operations - nodejs 7.x 2017-03-13 13:57:35 -04:00
Barış Soner Uşaklı
0396e9300b Merge pull request #5500 from RoiEXLab/fix-admin-search
Fix admin Search
2017-03-13 09:58:30 +02:00
barisusakli
90b8a3afd0 refactor topics/delete.js 2017-03-12 21:38:53 +03:00
Misty (Bot)
9f1a2b0cc9 Latest translations and fallbacks 2017-03-12 09:22:16 +00:00
barisusakli
0478e9c98c lint 2017-03-11 19:37:34 +03:00
barisusakli
37be43a3c5 async 2017-03-11 18:32:00 +03:00
barisusakli
27b030a71c test for #5523 2017-03-11 16:43:31 +03:00
Misty (Bot)
3e93975595 Latest translations and fallbacks 2017-03-11 09:22:17 +00:00
Julian Lam
b0fa9f85e4 Merge pull request #5467 from NodeBB/upgrades-refactor
Refactor upgrade scripts to use individual files in src/upgrades/ as source of schema changes
2017-03-10 21:57:05 -05:00
Julian Lam
cf0532168e Merge remote-tracking branch 'origin/develop' into upgrades-refactor 2017-03-10 19:08:33 -05:00
Julian Lam
34d24c4fd4 Refactored upgrade scripts once more (for great justice!) #5467 2017-03-10 19:07:42 -05:00
Julian Lam
f0059ec723 fixed paths in upgrade scripts 2017-03-10 19:07:05 -05:00
Julian Lam
e309175989 eslinted template 2017-03-10 16:37:16 -05:00
Julian Lam
fc13776f26 moving files from src/upgrades to individual folders by version 2017-03-10 16:36:22 -05:00
Julian Lam
4ba795b5f2 adding fallbacks for meta/config.topicsPerPage 2017-03-10 16:29:40 -05:00
Julian Lam
33d1cc6d0f replace erroring line with operator-assignment 2017-03-10 15:56:45 -05:00
Julian Lam
2fd4edc0e2 Merge branch 'develop' into upgrades-refactor 2017-03-10 15:44:40 -05:00
Julian Lam
860999fa6c Merge remote-tracking branch 'origin/master' into develop 2017-03-10 15:44:29 -05:00
psychobunny
9dc54f801e up persona 2017-03-10 14:55:52 -05:00
psychobunny
286d0ab203 prevent tagsinput initialization from flagging as unsaved 2017-03-10 14:40:10 -05:00
psychobunny
5ca9e5e14c ACP: distinguish <small> from regular text 2017-03-10 14:36:35 -05:00
psychobunny
62f445ad7f ACP: added tagsinput to other fields that are "comma separated" 2017-03-10 14:36:35 -05:00
barisusakli
bb146e049c fix lint 2017-03-10 22:36:09 +03:00
psychobunny
debe34b96c better styling for tagsinput in ACP and added it to general -> keywords 2017-03-10 14:25:37 -05:00
barisusakli
3b41c40b93 refactor deleter code to use unixtimestamp 2017-03-10 22:22:08 +03:00
psychobunny
447b7b02ca use tagsinput for #5439 instead 2017-03-10 14:12:17 -05:00
psychobunny
f2eb4b8083 closes #5439 2017-03-10 14:03:07 -05:00
psychobunny
5aa45e9181 up persona 2017-03-10 13:37:02 -05:00
psychobunny
b3f8428691 closes #5510 2017-03-10 13:36:24 -05:00
psychobunny
a67d48e719 #5513 (#5520)
closes #5513
2017-03-10 12:50:19 -05:00
Misty (Bot)
dc4d394cd5 Latest translations and fallbacks 2017-03-10 09:22:19 +00:00
barisusakli
5e0de4b8fb closes #5517 2017-03-10 12:22:10 +03:00
psychobunny
8da8e4d8c3 closes #5469 2017-03-09 16:50:26 -05:00
psychobunny
fd8e647ef5 closes #5506 2017-03-09 16:47:07 -05:00
barisusakli
0c7dee05ef fix lint 2017-03-10 00:38:34 +03:00
barisusakli
92fa9fecb6 add mongodb connection options #3670
increase reconnect tries
add keepAlive setting
set autoReconnect to true, should be on by default
2017-03-10 00:31:50 +03:00
barisusakli
0c8058ba9d closes #5516 2017-03-09 22:36:28 +03:00
barisusakli
1c1d97dd54 up spam be gone 2017-03-09 21:32:43 +03:00
barisusakli
74d2835a1f escape body class parts 2017-03-09 20:18:42 +03:00
barisusakli
3d719eec99 enable sigs after test 2017-03-09 20:18:30 +03:00
barisusakli
8d493bf3b0 post parse test 2017-03-09 19:52:48 +03:00
barisusakli
c619b850ce fix tests 2017-03-09 17:28:19 +03:00
barisusakli
57691d9ad8 test for system group rename 2017-03-09 17:18:30 +03:00
barisusakli
f092b7754e only create 1 alert for chat spam error 2017-03-08 22:43:02 +03:00
barisusakli
32d37465fb limit size of select 2017-03-08 20:09:35 +03:00
barisusakli
47af3eb7e5 use the real count 2017-03-08 19:49:32 +03:00
psychobunny
9f2e5e9c4b closes #4685 2017-03-08 11:31:58 -05:00
Julian Lam
db0a42d808 Merge branch 'master' into develop 2017-03-08 09:41:40 -05:00
Julian Lam
364b819a42 moving sanity checks above contentLen calculation 2017-03-08 09:41:32 -05:00
Julian Lam
dede304ee2 Merge branch 'master' into develop 2017-03-08 09:33:02 -05:00
Julian Lam
fdb4766728 wow. 2017-03-08 09:32:55 -05:00
Julian Lam
f35bf91e3b Merge branch 'master' into develop 2017-03-08 09:20:00 -05:00
Julian Lam
5359a14bac better handling of redactor post length calculation on post edit 2017-03-08 09:19:45 -05:00
barisusakli
6f49509645 fix newSet on redis 2017-03-08 15:09:58 +03:00
Misty (Bot)
92ad6bb4e8 Latest translations and fallbacks 2017-03-08 09:22:29 +00:00
Julian Lam
04b66787ea removed hardcoded stepsize of 1 for chart, so it can space the ticks out properly 2017-03-07 20:53:54 -05:00
Julian Lam
bacbb6c75f holy moly it took me an hour to find this missing method that got removed in a bad merge conflict resolution... 2017-03-07 20:16:59 -05:00
Julian Lam
793555a344 Merge branch 'master' into develop 2017-03-07 14:35:49 -05:00
Julian Lam
1102ca8ebb fix issue where an auto-redirect to SSO on login route was failing if invoked via API call (ajaxify) 2017-03-07 14:35:38 -05:00
barisusakli
743a3fb442 fix test 2017-03-07 20:58:43 +03:00
barisusakli
e7ced2457e clone query object 2017-03-07 20:26:49 +03:00
barisusakli
1301fb1f34 on chat leave close the modal 2017-03-07 19:51:52 +03:00
barisusakli
8a123f7c1c closes #5509 2017-03-07 16:13:09 +03:00
barisusakli
b7e6104bbc closes #5511 2017-03-07 15:59:50 +03:00
barisusakli
69c6ee5834 closes #5483 2017-03-07 13:38:31 +03:00
barisusakli
992e3128bd closes #5499 2017-03-07 13:09:19 +03:00
Julian Lam
f732d6c1b9 Merge pull request #5501 from RoiEXLab/add-osd-functionality
Add OpenSearchDocument XML (#5399)
2017-03-06 15:10:10 -05:00
RoiEX
33e474759b Change var names 2017-03-06 21:00:20 +01:00
RoiEX
6420e22453 Remove uneccessary curly brackets 2017-03-06 20:43:06 +01:00
RoiEX
fcda832052 Add spaces 2017-03-06 20:39:26 +01:00
RoiEX
0f9530bbc0 Shrink JSON fix 2017-03-06 20:24:00 +01:00
RoiEX
f1b4a9b786 Shrink JSON 2017-03-06 20:23:34 +01:00
RoiEX
186c1f40e9 Refactor Code 2017-03-06 20:07:06 +01:00
RoiEX
710377ceea Remove space 2017-03-06 19:51:53 +01:00
RoiEX
603d45fbfa Changed Serving Method 2017-03-06 19:47:03 +01:00
Julian Lam
13edde2b30 Merge pull request #5505 from AccaliaDeElementia/fix-avatar-cropper
fix: auto cropper on image upload selects maximum image area by default
2017-03-06 12:19:54 -05:00
Julian Lam
f0d9bddd56 fix merge conflict artifact that was left in 2017-03-06 09:58:02 -05:00
Julian Lam
af2d9fb85b Merge branch 'master' into develop 2017-03-06 09:51:11 -05:00
Julian Lam
8226fd6566 enhancing™️ post reply length checker to account for line breaks in redactor 2017-03-06 09:40:19 -05:00
Accalia de Elementia
743a7e00b4 fix: auto cropper on image upload selects maximum image area by default 2017-03-06 13:14:15 +00:00
barisusakli
f6721c249f up composer 2017-03-06 14:37:46 +03:00
barisusakli
531df7bd09 closes #5504 2017-03-06 13:54:43 +03:00
RoiEX
4082ca40c1 Add last comma 2017-03-05 15:20:35 +01:00
RoiEX
0710c6488d Fix trailing commas 2017-03-05 15:15:41 +01:00
RoiEX
eca150f392 Fix Tests 2017-03-05 15:10:35 +01:00
RoiEX
431f5e1f0f Add missing dependency
This deoendency is required by rss, but travis doesn't seem to notice that
2017-03-05 14:56:50 +01:00
RoiEX
f761191fca Add OSD 2017-03-05 14:45:30 +01:00
RoiEX
c517733e34 Fix admin Search 2017-03-05 11:38:40 +01:00
barisusakli
e85e35cf0c closes #5497 2017-03-05 00:46:18 +03:00
Misty (Bot)
99dff11462 Latest translations and fallbacks 2017-03-04 09:22:16 +00:00
barisusakli
ab9f4ad636 test bookmark tru socket.io 2017-03-03 21:49:14 +03:00
barisusakli
324e5be7bd privileges tests 2017-03-03 21:04:01 +03:00
barisusakli
a3b4c83e8b remove description from categories
it gets added in src/meta/tags
2017-03-03 19:59:37 +03:00
barisusakli
ea871384d8 remove fallbacks 2017-03-03 16:45:18 +03:00
barisusakli
3b8d14bf12 closes #5493 2017-03-03 16:15:01 +03:00
barisusakli
54c951cc81 fix tests 2017-03-02 22:12:56 +03:00
barisusakli
4369a6d290 more user tests 2017-03-02 21:58:33 +03:00
barisusakli
bce1208e2f make uploadFile public 2017-03-02 20:51:03 +03:00
barisusakli
63b3c29a1a test invalid data 2017-03-02 19:21:56 +03:00
barisusakli
cd448f90cd more topic tests 2017-03-02 19:03:49 +03:00
barisusakli
202bafa3e3 add images to bundle 2017-03-02 18:21:01 +03:00
barisusakli
5ca8456340 move image code to client/topic/images 2017-03-02 18:11:31 +03:00
barisusakli
d60930a51d test latest member posts 2017-03-02 17:59:45 +03:00
barisusakli
b060bda8a0 some more refactors 2017-03-02 17:25:32 +03:00
barisusakli
65cf7a01ec test for recent posts, fix redirect test 2017-03-02 16:29:17 +03:00
barisusakli
b1b87d339f more refactors 2017-03-02 16:11:11 +03:00
barisusakli
bc8d297377 move out error and 404 controllers 2017-03-02 14:57:33 +03:00
barisusakli
284485c885 check data.config 2017-03-02 10:51:05 +03:00
barisusakli
2188036148 controllers/users refactor 2017-03-02 00:14:30 +03:00
barisusakli
566ff95d3c call methods directly 2017-03-01 23:22:17 +03:00
barisusakli
3e396a8553 sitemap refactor 2017-03-01 23:19:34 +03:00
barisusakli
1bee91fa22 groups refactor 2017-03-01 22:42:16 +03:00
psychobunny
2ccf60a6ec fixed duplicate uninstall button 2017-03-01 13:49:55 -05:00
Julian Lam
67e8bab783 Merge branch 'develop' into upgrades-refactor 2017-03-01 12:12:04 -05:00
Julian Lam
15665d0872 re-ordered upgrade scripts so schemaDate is saved properly 2017-03-01 12:11:05 -05:00
Julian Lam
827980e129 Merge branch 'master' into develop 2017-03-01 11:28:48 -05:00
Julian Lam
b85dcb2570 lint 2017-03-01 11:28:07 -05:00
Julian Lam
48fc74f1fa Merge branch 'develop' into upgrades-refactor
re-added upgrade scripts from #5464
2017-03-01 11:11:40 -05:00
Julian Lam
7c21152f2e Merge remote-tracking branch 'origin/master' into develop 2017-03-01 10:55:15 -05:00
Julian Lam
5411b4c234 Merge pull request #5464 from NodeBB/assets-images-upgrade
Upgrade script for prepending `/assets` in config URLs
2017-03-01 10:54:33 -05:00
Barış Soner Uşaklı
fecdbc969f fix set call 2017-03-01 17:47:59 +02:00
Barış Soner Uşaklı
c5f40e3cf5 fix indents 2017-03-01 17:42:50 +02:00
Barış Soner Uşaklı
6222b55dd8 Merge branch 'master' into assets-images-upgrade 2017-03-01 17:40:44 +02:00
barisusakli
ac84e447dc closes #5492 2017-03-01 17:37:17 +03:00
Peter Jaszkowiak
b96b983552 Upgrade script for prepending /assets in config
Fix for sound settings upgrade script to upgrade user sound settings even if admin settings weren't set
2017-02-28 13:57:24 -07:00
Julian Lam
a8dd794697 reapply ef93ef3dd4 2017-02-28 14:04:44 -05:00
Julian Lam
513f72c0e9 Merge branch 'develop' into upgrades-refactor 2017-02-28 12:35:48 -05:00
Julian Lam
45c479a101 Merge branch 'master' into develop 2017-02-28 12:07:56 -05:00
barisusakli
2e47cf4db3 intersititial test 2017-02-28 16:42:10 +03:00
barisusakli
8a0cf6c0ac more admin socket tests 2017-02-28 15:16:49 +03:00
barisusakli
bb1045c5a0 remove unused require 2017-02-28 12:29:49 +03:00
barisusakli
ef93ef3dd4 if user does not have settings object skip 2017-02-28 12:23:42 +03:00
psychobunny
43bf422cba Merge pull request #5487 from NodeBB/posts-votes-sorted-set
posts:votes sorted set
2017-02-27 17:07:46 -05:00
psychobunny
06eabbc507 typo 2017-02-27 17:07:17 -05:00
psychobunny
7bdbe7d9db wrong date 2017-02-27 17:04:36 -05:00
psychobunny
5d9b6062d6 simpler method for getting pids 2017-02-27 17:03:40 -05:00
psychobunny
86a8b8ab93 posts:votes sorted set 2017-02-27 15:27:07 -05:00
Julian Lam
1c9cbc3365 Merge branch 'develop' into upgrades-refactor 2017-02-27 12:19:58 -05:00
barisusakli
feb359f7d4 closes #5479 2017-02-27 20:16:44 +03:00
Julian Lam
4a851e0a85 Merge branch 'master' into develop 2017-02-27 12:15:48 -05:00
Julian Lam
8166f30b90 abort sound upgrade if no sounds set in config 2017-02-27 12:15:38 -05:00
Julian Lam
022823f57c Merge branch 'master' into develop 2017-02-27 10:16:27 -05:00
Julian Lam
039f80c5aa added null check for #5482 2017-02-27 10:16:16 -05:00
Julian Lam
8f5d1ca4da added null check for #5482 2017-02-27 10:15:44 -05:00
Julian Lam
23a0881311 Merge branch 'develop' into upgrades-refactor
Also handled upgrade script introduced in #5482
2017-02-27 10:10:15 -05:00
Julian Lam
58cbf44143 Merge branch 'master' into develop 2017-02-27 10:05:20 -05:00
Julian Lam
4d8bebcd81 Merge pull request #5482 from NodeBB/sounds-fix-5476
Upgrade script for new sounds system
2017-02-27 10:02:23 -05:00
Julian Lam
93c96da0b9 adjusted upgrade check logic for instances with no schemaLog 2017-02-26 16:26:53 -05:00
Peter Jaszkowiak
da3cb0492c Verbose instead 2017-02-26 14:08:27 -07:00
Julian Lam
a2662f8b69 linting for tests to pass 2017-02-26 16:03:26 -05:00
Julian Lam
d75cc60e76 added upgrade.check back into upgrade.js 2017-02-26 15:53:25 -05:00
Misty (Bot)
2bbf3c4f66 Latest translations and fallbacks 2017-02-26 09:22:49 +00:00
Peter Jaszkowiak
20d250bceb Upgrade script for new sounds system 2017-02-25 23:07:43 -07:00
Julian Lam
0213ca4bb1 Merge pull request #5477 from NodeBB/sounds-fix-5476
Fix sounds issue
2017-02-25 22:08:31 -05:00
Peter Jaszkowiak
007051c14c Fix #5476 2017-02-25 19:51:49 -07:00
Julian Lam
b1ceec7571 Merge remote-tracking branch 'origin/master' into develop 2017-02-25 21:43:50 -05:00
Julian Lam
3b1b2d39c6 added some instructions to upgrade script file 2017-02-25 21:43:29 -05:00
Julian Lam
b8ee09aacb re: #5467 -- requiring exact filename match sans extension, for a single upgrade to work 2017-02-25 15:45:45 -05:00
Julian Lam
b385655dba adding upgrade scripts from all of v1.x.x, #5467 2017-02-25 15:40:29 -05:00
Julian Lam
35248c543b linting nodebb executable 2017-02-25 15:40:05 -05:00
barisusakli
0e7740af32 fix tests for subfolder installs 2017-02-25 16:04:04 +03:00
barisusakli
347761173a helpers tests 2017-02-25 15:10:23 +03:00
Misty (Bot)
a22909dbe8 Latest translations and fallbacks 2017-02-25 09:22:36 +00:00
barisusakli
6aa8c8aa94 merge 2017-02-25 11:17:56 +03:00
barisusakli
fa08498a9e closes #5480 2017-02-25 11:01:35 +03:00
psychobunny
2a311d2ff6 printing initialization message twice for some reason 2017-02-24 16:37:30 -05:00
psychobunny
09a1ed0869 Merge pull request #5371 from kingjan1999/master
Update FontAwesome to 4.7.0
2017-02-24 16:33:38 -05:00
Julian Lam
74728a1328 Merge branch 'develop' into upgrades-refactor 2017-02-24 15:23:02 -05:00
Misty (Bot)
00a67b97ce Incremented version number 2017-02-24 13:47:46 -05:00
Julian Lam
15542f1382 removing old tests that got added back in due to git being silly 2017-02-24 13:30:07 -05:00
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
995f8296a4 linting 2017-02-24 12:03:47 -05:00
Julian Lam
b5f8fc815e re-allowing pluplus in for loops 2017-02-24 11:53:00 -05:00
Julian Lam
e71bd7a27f Merge branch 'master' into styleguide 2017-02-24 11:45:04 -05:00
barisusakli
048eb8a320 some helper tests 2017-02-24 18:06:23 +03:00
barisusakli
04b07e292c thumb tests 2017-02-24 17:34:34 +03:00
barisusakli
ca1fe557c7 topic controller tests 2017-02-24 16:26:19 +03:00
barisusakli
3a87f2566a more group tests 2017-02-24 15:05:00 +03:00
barisusakli
b7d5bc7dc8 more group tests 2017-02-24 12:54:16 +03:00
Misty (Bot)
3509e12748 Latest translations and fallbacks 2017-02-24 09:22:21 +00:00
Peter Jaszkowiak
f7a964474d Ignore log files 2017-02-23 20:00:30 -07:00
Peter Jaszkowiak
dd2b930824 Resolve merge conflicts, minify only .js files 2017-02-23 18:31:49 -07:00
Peter Jaszkowiak
ee9d7584e4 Fix test, misc 2017-02-23 17:29:08 -07:00
Julian Lam
cfc8884c9c Merge pull request #5475 from NodeBB/favicon-fix
Fixes #5474
2017-02-23 17:11:11 -05:00
Peter Jaszkowiak
8b533bb431 Fixes #5474 2017-02-23 14:19:11 -07:00
Julian Lam
4163ce0218 Merge pull request #5473 from pichalite/acp-tags
ACP manage tags page UI changes
2017-02-23 15:49:32 -05:00
pichalite
1d5b3cc73f ACP manage tags page UI changes 2017-02-23 20:45:05 +00:00
Barış Soner Uşaklı
35ff71c37d more tests 2017-02-23 23:06:00 +03:00
Julian Lam
14398a2d90 up markdown 2017-02-23 14:55:14 -05:00
Barış Soner Uşaklı
b4a32ee96f style changes 2017-02-23 22:42:45 +03:00
Julian Lam
c09f994b0a Merge remote-tracking branch 'origin/master' into develop 2017-02-23 14:24:15 -05:00
Julian Lam
a9f144230e Merge branch 'master' into develop 2017-02-23 13:57:46 -05:00
Barış Soner Uşaklı
743f758f75 set origin header to url 2017-02-23 21:29:28 +03:00
Julian Lam
25f6293821 using io.origins instead 2017-02-23 13:26:52 -05:00
Julian Lam
91d3ce1abc Revert "adding origin to new local ioConfig var, as per @barisusakli, re: #5472"
This reverts commit c1b1ff5c6e.
2017-02-23 13:26:52 -05:00
Barış Soner Uşaklı
c168ed43d4 up build timeout 2017-02-23 21:25:50 +03:00
psychobunny
7b7565ee8e Merge pull request #5468 from pichalite/acp-groups
ACP manage groups UI updates
2017-02-23 13:22:57 -05:00
Julian Lam
a4c00663ff Revert "adding origin to new local ioConfig var, as per @barisusakli, re: #5472"
This reverts commit c1b1ff5c6e.
2017-02-23 13:13:59 -05:00
Julian Lam
8154e29ad5 Merge branch 'master' into develop 2017-02-23 13:08:20 -05:00
Julian Lam
c1b1ff5c6e adding origin to new local ioConfig var, as per @barisusakli, re: #5472 2017-02-23 12:47:06 -05:00
Barış Soner Uşaklı
9079ee5b14 style 2017-02-23 20:44:23 +03:00
Julian Lam
672d7352bb Merge branch 'master' into develop 2017-02-23 12:32:03 -05:00
psychobunny
458cbfd603 show dashboard notice if forum is running in dev mode 2017-02-23 12:14:20 -05:00
psychobunny
a2847dc851 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2017-02-23 12:01:25 -05:00
Julian Lam
d4c2fc3bc8 closes #5472 2017-02-23 11:54:51 -05:00
psychobunny
ebe5ed7560 Merge pull request #5470 from pichalite/acp-templates
Fix ACP templates markup
2017-02-23 11:46:02 -05:00
barisusakli
0de21cb3ff fix tab 2017-02-23 17:12:46 +03:00
barisusakli
09d0ce4778 post tests 2017-02-23 17:02:54 +03:00
barisusakli
4cd4414d19 small change 2017-02-23 15:29:35 +03:00
Barış Soner Uşaklı
026c32f32b Merge pull request #5462 from NodeBB/minify-modules
Minify all module scripts in production
2017-02-23 13:15:05 +02:00
Misty (Bot)
02cc988ae7 Latest translations and fallbacks 2017-02-23 09:22:14 +00:00
pichalite
aea40902b0 Fix markup in category privileges template 2017-02-23 00:28:54 +00:00
pichalite
f09f1f6ed8 Fix ACP templates markup 2017-02-23 00:20:42 +00: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
pichalite
dcb0f18422 ACP manage groups UI updates 2017-02-22 20:28:56 +00:00
Julian Lam
e887dda37a Merge pull request #5461 from pichalite/image-dimension
Use ACP profile image dimension setting in cropper
2017-02-22 14:53:40 -05:00
Julian Lam
9eed3abb1d added template to upgrades folder 2017-02-22 13:28:22 -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
barisusakli
2dac3d2292 closes #5465, blacklist tests 2017-02-22 14:53:44 +03:00
barisusakli
5c01c7b1c7 delayed notification test 2017-02-22 13:35:05 +03:00
Julian Lam
e427f1663e Merge pull request #5456 from NodeBB/sounds-refactor
Sound system improvements
2017-02-21 16:14:58 -05:00
Julian Lam
62e0f5f883 Merge remote-tracking branch 'origin/master' into develop 2017-02-21 11:21:51 -05:00
Barış Soner Uşaklı
89380824f8 navigation test 2017-02-21 17:00:54 +03:00
barisusakli
f2a795a9b7 fix tests 2017-02-21 15:18:01 +03:00
barisusakli
799f688503 closes #5463 , invitation tests 2017-02-21 15:08:17 +03:00
Misty (Bot)
4b21679d6f Latest translations and fallbacks 2017-02-21 09:24:38 +00:00
barisusakli
4ee7edad64 test uploadProfileImageFromUrl 2017-02-20 21:58:35 +03:00
barisusakli
ef90702049 closes #5459 2017-02-20 21:28:02 +03:00
Misty (Bot)
7d8477289d Latest translations and fallbacks 2017-02-20 09:22:34 +00:00
Peter Jaszkowiak
beb652ee43 Move minifier.js to src/meta 2017-02-20 00:44:04 -07:00
Peter Jaszkowiak
3e562ceb83 Update CONTRIBUTING.md 2017-02-19 16:37:00 -07:00
psychobunny
aaec279d75 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2017-02-19 11:07:39 -05:00
Anil Mandepudi
f302c0d739 Update gruntfile to build on initialization (#5458)
* Update gruntfile to build on initialization

* Skip option skips build
2017-02-19 11:01:38 -05:00
psychobunny
631592b818 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2017-02-19 11:00:14 -05:00
Misty (Bot)
2e27ce640c Latest translations and fallbacks 2017-02-19 09:25:24 +00:00
Peter Jaszkowiak
9b1068e868 Minify all module scripts in production 2017-02-19 02:07:19 -07:00
pichalite
fd0f0beaf2 lint 2017-02-19 08:54:46 +00:00
pichalite
a99572fc48 Use ACP profile image dimension setting in cropper 2017-02-19 08:30:30 +00:00
Peter Jaszkowiak
23540afaeb Resolve merge conflicts 2017-02-18 19:14:39 -07:00
Peter Jaszkowiak
b227297ef3 ESlint no-use-before-define 2017-02-18 18:55:33 -07:00
Peter Jaszkowiak
93f38d4f30 ESlint no-multi-assign
and max-nested-callbacks, no-mixed-requires, max-statements-per-line
2017-02-18 18:06:28 -07:00
Barış Soner Uşaklı
1b43faba1a closes #5441 2017-02-19 02:44:38 +03:00
Peter Jaszkowiak
4bb49a7171 ESlint no-unused-vars 2017-02-18 15:05:36 -07:00
Peter Jaszkowiak
c18808fdeb ESlint no-useless-concat, no-mixed-spaces-and-tabs 2017-02-18 14:42:15 -07:00
Peter Jaszkowiak
fdf4f873bf ESlint eqeqeq
and require-jsdoc, no-negated-condition
2017-02-18 14:36:16 -07:00
Peter Jaszkowiak
144fa8698c Eslint no-lonely-if 2017-02-18 14:32:35 -07:00
Peter Jaszkowiak
57f89663aa ESlint radix 2017-02-18 14:29:52 -07:00
Peter Jaszkowiak
09e868ce5f ESlint no-useless-escape, no-else-return 2017-02-18 14:27:26 -07:00
Peter Jaszkowiak
11cb3a9554 ESlint operator-assignment, block-scoped-var 2017-02-18 14:20:58 -07:00
Peter Jaszkowiak
a0a50677da ESlint n-loop-func, yoda 2017-02-18 14:00:29 -07:00
Peter Jaszkowiak
04bb6513b0 ESlint no-cond-assign, no-void, valid-jsdoc 2017-02-18 13:51:26 -07:00
Peter Jaszkowiak
5a45087fc8 ESlint no-unreachable, no-redeclare 2017-02-18 13:31:19 -07:00
Peter Jaszkowiak
32dc7c23ea ESlint guard-for-in, no-nested-ternary
and operator-linebreak
2017-02-18 13:28:03 -07:00
Peter Jaszkowiak
c4bdb72941 ESlint no-unneeded-ternary
and no-extend-native, no-sequences
2017-02-18 12:59:46 -07:00
Peter Jaszkowiak
64a6322002 ESlint no-extra-boolean-cast
and no-shadow-restricted-names
2017-02-18 12:51:13 -07:00
Peter Jaszkowiak
239d7f84dd ESlint no-path-concat 2017-02-18 12:47:58 -07:00
Peter Jaszkowiak
daa169c094 ESlint no-unused-expressions 2017-02-18 12:40:57 -07:00
Peter Jaszkowiak
ac2f69f7af ESlint no-return-assign
and no-restricted-modules
2017-02-18 12:35:49 -07:00
Peter Jaszkowiak
896c8c7343 ESlint object-curly-spacing 2017-02-18 12:30:49 -07:00
barisusakli
7842c3411c remove logs 2017-02-18 20:52:45 +03:00
barisusakli
b33d34f7cf refactor user/picture.js 2017-02-18 20:27:58 +03:00
Barış Soner Uşaklı
23ed1af282 Merge pull request #5457 from pichalite/image-extension
Add extensions for cropped images
2017-02-18 15:06:45 +02:00
Peter Jaszkowiak
1493afee2a ESlint indent 2017-02-18 02:38:03 -07:00
Peter Jaszkowiak
3b0dd2d1ef ESlint padded-blocks 2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
feb8405f95 ESlint eol-last 2017-02-18 02:30:48 -07:00
Peter Jaszkowiak
41896e1fc7 ESlint lines-around-directive 2017-02-18 02:28:54 -07:00
Peter Jaszkowiak
f3a8256f35 ESlint strict 2017-02-18 02:23:47 -07: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
a5a3f3089a ESlint no-mixed-operators 2017-02-18 01:51:11 -07:00
Peter Jaszkowiak
2e031f3759 ESlint comma-spacing 2017-02-18 01:31:47 -07:00
Peter Jaszkowiak
277a7fb8b4 ESlint key-spacing, no-trailing-spaces 2017-02-18 01:27:46 -07:00
Peter Jaszkowiak
34e233fe1d ESlint spaced-comment 2017-02-18 01:25:46 -07:00
Peter Jaszkowiak
532951c24f ESlint space-in-parens, block-spacing 2017-02-18 01:21:34 -07:00
Peter Jaszkowiak
b1b486f729 ESlint quote-props 2017-02-18 01:19:20 -07:00
Peter Jaszkowiak
3361a72725 ESlint no-plusplus
and no-empty, space-unary-ops
2017-02-18 01:12:18 -07:00
Peter Jaszkowiak
d1101a7fb4 ESlint dot-notation
and func-call-spacing
2017-02-18 00:21:44 -07:00
Peter Jaszkowiak
d7526b5e44 ESlint array-bracket-spacing
and object-property-newline
2017-02-18 00:04:34 -07:00
Peter Jaszkowiak
554075b312 ESlint no-continue 2017-02-17 22:31:05 -07:00
Peter Jaszkowiak
d9c1f6f088 ESlint no-extra-semi 2017-02-17 22:20:45 -07:00
Peter Jaszkowiak
1cf25f57fc ESlint no-space-func 2017-02-17 22:17:10 -07:00
Peter Jaszkowiak
3d6bfa47c5 ESlint no-useless-return 2017-02-17 22:13:41 -07:00
Peter Jaszkowiak
879470f417 ESlint brace-style 2017-02-17 22:11:35 -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
2ba46808a1 ESlint one-var, fix comma-dangle 2017-02-17 20:20:42 -07:00
Peter Jaszkowiak
bc1d70c126 ESlint comma-dangle 2017-02-17 19:31:21 -07:00
pichalite
bb3c8b910a Skip option skips build 2017-02-17 23:33:37 +00:00
pichalite
5ca931a52c Update gruntfile to build on initialization 2017-02-17 22:07:50 +00:00
pichalite
aacd8a2422 Fix return and tests 2017-02-17 20:36:13 +00:00
pichalite
7f4e4c8e2e Fix styling 2017-02-17 20:02:26 +00:00
pichalite
4d755bad0c Use typeToExtension from file.js 2017-02-17 19:57:18 +00:00
pichalite
8dab8864f6 Add extensions for cropped images 2017-02-17 19:42:02 +00:00
barisusakli
aa64ec7db1 remove unnecessary code 2017-02-17 22:33:41 +03:00
barisusakli
d6cdc6d34d Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2017-02-17 21:44:21 +03:00
Peter Jaszkowiak
9f15008247 Address review issues 2017-02-17 11:19:30 -07:00
Julian Lam
a379b03e71 lint 2017-02-17 09:10:53 -05:00
Julian Lam
f7f5b2c8d9 Merge remote-tracking branch 'origin/master' into develop 2017-02-17 09:10:25 -05:00
Julian Lam
5ee2aa8adb Merge pull request #5453 from NodeBB/patch_5369
Fix #5368
2017-02-17 08:48:57 -05:00
Julian Lam
802878c371 Merge pull request #5455 from pichalite/cropper
Make cropper in to a module
2017-02-17 08:48:21 -05:00
barisusakli
e009ce5609 closes #5443 2017-02-17 16:46:30 +03:00
barisusakli
a427bba9cb up persona 2017-02-17 14:48:09 +03:00
barisusakli
4d05e492cc closes #5312 2017-02-17 14:45:45 +03:00
Misty (Bot)
461ad301a1 Latest translations and fallbacks 2017-02-17 09:22:25 +00:00
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
2017-02-16 22:58:15 -07:00
pichalite
2ca8f60e77 Finalize cropper module 2017-02-17 05:32:37 +00:00
pichalite
d784a8dce8 Restore uploader.js 2017-02-17 04:26:34 +00:00
pichalite
43f4d9819e Linting 2017-02-17 00:54:53 +00:00
pichalite
484891472e Make cropper in to a module 2017-02-17 00:48:38 +00:00
psychobunny
45063ed683 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2017-02-16 18:28:42 -05:00
psychobunny
36bf54a4b8 bump tjs 2017-02-16 18:28:37 -05:00
Peter Jaszkowiak
3d56dc4857 Fix #5368 2017-02-16 13:33:28 -07:00
barisusakli
fd88e9fdff up composer 2017-02-16 22:07:20 +03:00
barisusakli
9b3741bc63 up composer 2017-02-16 15:35:19 +03:00
barisusakli
dad5b135c3 lint 2017-02-16 15:11:31 +03:00
barisusakli
c285eb7fcd closes #5450 2017-02-16 15:01:11 +03:00
Misty (Bot)
2c428cdec1 Latest translations and fallbacks 2017-02-16 09:22:12 +00:00
Julian Lam
8bf719b258 Merge pull request #5431 from NodeBB/ajaxify-cache-buster
Ajaxify improvements, `/assets/uploads/` fixes, cache buster improvements
2017-02-15 13:49:47 -05:00
Julian Lam
fcaefbadca Merge remote-tracking branch 'origin/master' into develop 2017-02-15 12:06:52 -05:00
Julian Lam
9e23d09e5e removing outdated logic to call process.exit on reset completion as all invocations use callbacks now. Allowing invocation of reset -p and -t without nodebb-plugin- or nodebb-theme- prefix 2017-02-15 09:47:38 -05:00
Anil Mandepudi
c25836b5fc Option to upload without cropping (#5447)
* Option to upload without cropping

* Fix styling

* Fix styling

* Add missing semi-colon

* I fail at styling :fail:
2017-02-14 16:31:51 -05:00
barisusakli
867fd99fb6 closes #4625 2017-02-14 20:56:24 +03:00
barisusakli
4d8d23830d utils tests 2017-02-14 15:47:36 +03:00
barisusakli
4bbf517af3 rewards test 2017-02-14 15:04:48 +03:00
barisusakli
9f67142786 closes #5440 2017-02-14 14:16:31 +03:00
psychobunny
0667870286 set an active state for pageview options 2017-02-13 15:50:12 -05:00
Julian Lam
1e33a659ef up persona 2017-02-13 15:42:09 -05:00
psychobunny
3d1425605a prettification of pageview stats 2017-02-13 15:40:20 -05:00
psychobunny
62df8edb77 better positioning of dashboard legend 2017-02-13 15:36:20 -05:00
psychobunny
5e35170805 ghfw :rage1: 2017-02-13 15:28:56 -05:00
psychobunny
ccfec622d4 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2017-02-13 15:28:30 -05:00
psychobunny
9e354a09d1 prettier stats on dashboard 2017-02-13 15:28:26 -05:00
barisusakli
30f35c42f6 fix eslint 2017-02-13 22:42:47 +03:00
barisusakli
a3cbe5e090 #5436 2017-02-13 22:24:26 +03:00
Misty (Bot)
31ac72375f Latest translations and fallbacks 2017-02-13 09:22:08 +00:00
barisusakli
21eefb9760 closes #5436 2017-02-12 20:36:12 +03:00
barisusakli
8b006fb1ab closes #5434 2017-02-12 20:11:49 +03:00
Misty (Bot)
3dc2a91990 Latest translations and fallbacks 2017-02-12 09:22:10 +00:00
Julian Lam
5d4a0d7f05 Merge pull request #5426 from mortiy/ukrainian
Added Ukrainian language to Transifex config
2017-02-11 14:41:39 -05:00
Misty (Bot)
c4a2babbf7 Latest translations and fallbacks 2017-02-11 09:21:46 +00:00
Peter Jaszkowiak
b553236620 Better defaults if cache buster read fails 2017-02-10 21:18:09 -07:00
Julian Lam
eae541d040 Merge branch 'master' into develop 2017-02-10 16:22:12 -05:00
Julian Lam
21bc1fba3f Merge pull request #5429 from BenLubar/redis-drops-socket-messages
Fix forum instances using Redis dropping socket.io messages.
2017-02-10 16:21:38 -05:00
Julian Lam
6289f118ae updated cron strings with 5-digit strings instead of 6-digit ones 2017-02-10 15:52:05 -05:00
Ben Lubar
9fb16e3520 Fix forum instances using Redis dropping socket.io messages.
Bug introduced in b08acd197c.

https://github.com/socketio/socket.io-redis/releases/tag/3.0.0
https://github.com/socketio/socket.io-redis/issues/185
2017-02-10 14:28:53 -06:00
Julian Lam
7f124a3ccf Merge branch 'master' into develop 2017-02-10 12:55:11 -05:00
Julian Lam
6b2e40a8ce promoting digest output to info, instead of verbose 2017-02-10 12:54:17 -05:00
Oleksandr Sidko
97c6da7d3f Added Ukrainian language to Transifex config 2017-02-10 16:05:52 +02:00
barisusakli
f4a6527ce6 getRecentPosterUids test 2017-02-10 15:26:24 +03:00
Misty (Bot)
503378e259 Latest translations and fallbacks 2017-02-10 09:21:57 +00:00
Peter Jaszkowiak
8f27d7810b Ajaxify improvement, /assets/uploads 2017-02-09 15:50:05 -07:00
Julian Lam
7ba111acdd Merge pull request #5420 from NodeBB/assets-route
/assets/uploads
2017-02-09 16:08:12 -05:00
Julian Lam
a8fd1440d4 fixed incorrect language key in ip blacklist page 2017-02-09 14:42:21 -05:00
Barış Soner Uşaklı
a3e327301b update regex 2017-02-09 20:21:35 +02:00
barisusakli
b1511a1870 change client route 2017-02-09 21:15:50 +03:00
Julian Lam
a17c26ea45 Merge branch 'master' into develop 2017-02-09 12:53:07 -05:00
Julian Lam
d61665c20a updated copy for no-routes-not-found 2017-02-09 12:52:25 -05:00
Barış Soner Uşaklı
4f5b9f3a42 Merge pull request #5425 from pichalite/issue-5415
Fix scrolling issues on mobile
2017-02-09 19:51:41 +02:00
pichalite
cc160d77e7 Fix scrolling issues on mobile 2017-02-09 17:33:31 +00:00
barisusakli
b9244110d9 up dbsearch 2017-02-09 17:29:28 +03:00
barisusakli
2c527cdfeb more fixes 2017-02-09 14:38:06 +03:00
barisusakli
ae5deff3d5 fix uids 2017-02-09 14:36:00 +03:00
barisusakli
21861fa931 fix next 2017-02-09 14:31:29 +03:00
barisusakli
4f02775bdf replies change 2017-02-09 14:30:02 +03:00
barisusakli
667582744e fix eslint 2017-02-09 13:22:03 +03:00
barisusakli
ab7867d4b5 topic follow tests, fix filterIgnoring 2017-02-09 13:15:43 +03:00
Misty (Bot)
0409109faa Latest translations and fallbacks 2017-02-09 09:21:45 +00:00
psychobunny
570efb9e4b Merge branch 'develop' into threads-enhancement 2017-02-08 16:41:16 -05:00
psychobunny
575a3c7b9d no need for a call to count replies 2017-02-08 16:39:44 -05:00
Peter Jaszkowiak
0fffde67b5 Undeprecate /uploads 2017-02-08 14:24:09 -07:00
psychobunny
83cd960ffa improved threaded view design 2017-02-08 14:46:39 -05:00
Peter Jaszkowiak
aaacdb8413 Fix #5416, uploads path config setting
- Finish moving uploads route to `/assets/uploads`
- Remove `upload_url` config setting, it was broken
2017-02-08 11:41:34 -07:00
Julian Lam
87e02b264c Merge branch 'master' into develop 2017-02-08 11:23:44 -05:00
Julian Lam
a48c914a16 explicitly cast jobsDisabled as Boolean 2017-02-08 11:23:27 -05:00
Julian Lam
ce2bda0648 utilising async series if OS reports that system only contains one CPU processor 2017-02-08 10:42:55 -05:00
Julian Lam
daa63909f3 Merge remote-tracking branch 'origin/master' into develop 2017-02-08 10:29:06 -05:00
Julian Lam
d5a45832c3 up composer 2017-02-08 10:26:05 -05:00
barisusakli
387110fecc closes #5315 2017-02-08 18:23:34 +03:00
Misty (Bot)
d966b52dc7 Latest translations and fallbacks 2017-02-08 09:21:49 +00:00
Julian Lam
23d92c214d up persona, vanilla, and markdown 2017-02-07 16:28:25 -05:00
Julian Lam
8a0a74d95e Merge remote-tracking branch 'origin/master' into develop 2017-02-07 16:03:54 -05:00
Julian Lam
107abe3197 Merge pull request #5382 from pitaj/assets-route
Move client-side assets to the `/assets` route
2017-02-07 16:02:56 -05:00
Julian Lam
a122aad54d updating fallbacks 2017-02-07 20:54:03 +00:00
Julian Lam
b5daedb7a3 Merge remote-tracking branch 'origin/master' into develop 2017-02-07 15:45:21 -05:00
Peter Jaszkowiak
b530701cff Fix tabs 😡 2017-02-06 15:54:21 -07:00
Peter Jaszkowiak
bb1bfb0449 Merge branch 'master' into assets-route 2017-02-06 15:52:54 -07:00
psychobunny
df1a1811f2 add horizontal rule on top of image crop tools 2017-02-06 16:18:36 -05:00
psychobunny
034f3f0268 Merge pull request #5417 from pichalite/cropper-options
Add image options to cropper modal
2017-02-06 16:17:49 -05:00
pichalite
2c5f8ed8e6 Add image options to cropper modal 2017-02-06 21:00:21 +00:00
psychobunny
dbc3113940 Merge pull request #5412 from pichalite/cropperjs
Ability to crop profile images before uploading
2017-02-06 14:33:49 -05:00
pichalite
b757f563df Move tpl and less to core 2017-02-06 19:11:58 +00:00
barisusakli
959315c8f7 test admin/search 2017-02-06 13:43:51 +03:00
Misty (Bot)
f046ea012d Latest translations and fallbacks 2017-02-06 09:21:40 +00:00
Misty (Bot)
b9ae02583e Latest translations and fallbacks 2017-02-05 09:21:54 +00:00
Misty (Bot)
5ea5d11646 Latest translations and fallbacks 2017-02-04 09:21:31 +00:00
Peter Jaszkowiak
d43564dbbd No need to build multiple times 2017-02-03 23:55:33 -07:00
Peter Jaszkowiak
fdad66f58e Revert "Fix tests to use default activated plugin"
This reverts commit 44a59ac435.
2017-02-03 23:48:43 -07:00
Peter Jaszkowiak
d31499a860 Fix tests rewriting logo.png 2017-02-03 18:29:09 -07:00
Peter Jaszkowiak
44a59ac435 Fix tests to use default activated plugin 2017-02-03 16:37:03 -07:00
Julian Lam
9ceeff6f0a Merge pull request #5414 from pichalite/fix-acp
Fix ACP layout on tablets
2017-02-03 17:57:46 -05:00
pichalite
a3df9132f7 Fix styling 2017-02-03 22:19:19 +00:00
pichalite
a41acead44 Fix tabs 2017-02-03 22:16:04 +00:00
pichalite
6a073277ac Fix ACP layout on tablets 2017-02-03 22:12:47 +00:00
pichalite
a808d1b4d9 Set aspect ratio to square and confine crop box to image 2017-02-03 17:43:51 +00:00
barisusakli
a15aaaf389 closes #5394
dont allow socket.emits during maintenance mode
2017-02-03 19:02:43 +03:00
Julian Lam
06bf631445 increased file watch interval to reduce high CPU usage when using grunt 2017-02-03 10:24:55 -05:00
Julian Lam
5bb0c3ae07 increased file watch interval to reduce high CPU usage when using grunt 2017-02-03 10:24:19 -05:00
Julian Lam
bfd16d188e Merge branch 'master' into develop 2017-02-03 10:04:49 -05:00
barisusakli
76254942b2 closes #5190 2017-02-03 16:25:02 +03:00
Misty (Bot)
d4e4b4bfa2 Latest translations and fallbacks 2017-02-03 09:21:41 +00:00
barisusakli
e3a2e13438 build test 2017-02-03 11:39:31 +03:00
Peter Jaszkowiak
360a35d0a6 Resolve merge conflicts 2017-02-02 22:15:26 -07:00
Julian Lam
1012368acd Merge pull request #5413 from NodeBB/nodebb-executable-refactor
Refactor `nodebb`, move `build.js`, add `--dev`
2017-02-02 22:04:19 -05:00
Peter Jaszkowiak
5aa3e6b95b Merge branch 'master' into nodebb-executable-refactor 2017-02-02 19:19:02 -07:00
Peter Jaszkowiak
553567c3b2 Refactor nodebb, move build.js, add --dev 2017-02-02 19:15:01 -07:00
pichalite
700e2cf800 linting 2017-02-03 01:00:09 +00:00
pichalite
702561a6ab Ability to crop profile images before uploading 2017-02-03 00:48:27 +00:00
pichalite
de28ff5d43 Ability to crop profile images before uploading 2017-02-03 00:47:09 +00:00
Julian Lam
70b20e3ff1 Up markdown 2017-02-02 15:19:05 -05:00
Misty (Bot)
a70051b30c Incremented version number 2017-02-02 17:16:01 +00:00
Julian Lam
adb66c71b8 up markdown 2017-02-02 11:58:34 -05:00
Julian Lam
6b9bafc6cd adding missing flag strings 2017-02-02 11:53:37 -05:00
Julian Lam
5de67f9607 excluding tx managed language files from grunt 2017-02-02 10:52:20 -05:00
Barış Soner Uşaklı
b08acd197c up socket.io deps 2017-02-02 17:49:27 +02:00
barisusakli
5c217e873e build all targets before test 2017-02-02 16:08:19 +03:00
barisusakli
ae7f9bac98 prevent crash if uri is malformed 2017-02-02 13:11:33 +03:00
Misty (Bot)
48b8b6cf95 Latest translations and fallbacks 2017-02-02 09:21:39 +00:00
Julian Lam
bc3f28e473 Merge pull request #5411 from NodeBB/language-dep-warn
Better deprecation warning for old language route
2017-02-01 12:53:15 -05:00
Peter Jaszkowiak
bf44ca20f2 Better deprecation warning for old language route 2017-02-01 10:36:15 -07:00
Misty (Bot)
975f2a669d Latest translations and fallbacks 2017-02-01 09:22:09 +00:00
barisusakli
51981ffb99 get extention from content type 2017-01-31 22:18:22 +03:00
Julian Lam
409b8d8ebc Merge pull request #5409 from NodeBB/translator-no-catch
Fix translator catching JS errors in callbacks
2017-01-31 14:10:56 -05:00
Peter Jaszkowiak
bb7a35b85c Fix translator catching JS errors in callbacks 2017-01-31 12:04:31 -07:00
Julian Lam
ff301aeaf7 up vanilla 2017-01-31 12:12:13 -05:00
Julian Lam
9a0bd29d67 up vanilla 2017-01-31 12:12:02 -05:00
Julian Lam
cae2bf346f Merge branch 'master' into develop 2017-01-31 11:48:01 -05:00
Julian Lam
cd652e6730 up mentions 2017-01-31 11:45:25 -05:00
barisusakli
b37d52c089 closes #5407 2017-01-31 18:38:06 +03:00
Misty (Bot)
988c71d9c9 Latest translations and fallbacks 2017-01-31 09:21:38 +00:00
Peter Jaszkowiak
c14a31644b Merge branch 'master' into 'develop' 2017-01-30 15:41:14 -07:00
Peter Jaszkowiak
54ac23cc7a Revert "No 404 responses for missing language files"
This reverts commit f0c941e5ae.
2017-01-30 15:22:20 -07:00
Julian Lam
b230dbaff4 Merge pull request #5408 from NodeBB/language-404s
Remove requests to nonexistent language files
2017-01-30 17:12:11 -05:00
Peter Jaszkowiak
bc9fa0a990 Remove requests to nonexistent language files 2017-01-30 15:08:03 -07:00
Julian Lam
0aaa320913 Merge pull request #5406 from Pappmann/patch-6
Update dashboard.js
2017-01-30 11:54:35 -05:00
Stephan
0c6679ca9c Update dashboard.js 2017-01-30 17:45:48 +01:00
Misty (Bot)
b222dd653f Latest translations and fallbacks 2017-01-30 09:23:52 +00:00
Misty (Bot)
da295bb5e6 Latest translations and fallbacks 2017-01-29 09:21:51 +00:00
Misty (Bot)
3ddfa7715f Latest translations and fallbacks 2017-01-28 09:50:47 +00:00
Julian Lam
debffe385f closes #5316 2017-01-27 16:29:42 -05:00
barisusakli
366ab103a4 closes #5405 2017-01-27 20:38:01 +03:00
barisusakli
f1f00b63fb closes #5400 2017-01-27 20:38:00 +03:00
Julian Lam
3ab631c82e Merge pull request #5391 from Pappmann/patch-4
added missing translation in dashboard
2017-01-27 11:32:02 -05:00
Julian Lam
7c7517d72b Merge pull request #5392 from Pappmann/patch-5
fixed missing translation string
2017-01-27 11:31:46 -05:00
Julian Lam
7414482753 Merge branch 'master' into develop 2017-01-27 11:27:21 -05:00
Julian Lam
05c724de30 added new hook for messaging teaser retrieval, and casting input as String before execuring stripTags templates helper 2017-01-27 11:26:08 -05:00
barisusakli
a89ed01f4f up composer 2017-01-27 13:14:05 +03:00
barisusakli
46cde0444e up dbsearch 2017-01-27 12:40:52 +03:00
Misty (Bot)
c81c756e57 Latest translations and fallbacks 2017-01-27 09:22:33 +00:00
psychobunny
e2b30d6329 improve regex for unwanted whitespace in cover:url 2017-01-26 18:04:51 -05:00
barisusakli
3fb7f9fce5 closes #5398 2017-01-26 22:18:16 +03:00
psychobunny
9d069d76db random \t's in language string 2017-01-26 14:17:04 -05:00
barisusakli
a143a15f5d closes #5397 2017-01-26 20:44:26 +03:00
barisusakli
c3f1129fe9 eslint 2017-01-26 14:22:52 +03:00
barisusakli
29b0552466 update url from config file even if it was passed in env 2017-01-26 14:16:19 +03:00
Misty (Bot)
e3205cf950 Latest translations and fallbacks 2017-01-26 09:22:10 +00: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
Barış Soner Uşaklı
8deeb0e7c0 up composer 2017-01-25 15:06:42 +02:00
Misty (Bot)
49735c67e3 Latest translations and fallbacks 2017-01-25 09:21:56 +00:00
Peter Jaszkowiak
f4147f7922 Generate cache buster on build 2017-01-24 20:24:28 -07:00
barisusakli
2a33991f0d read usercount from global object 2017-01-25 01:32:29 +03:00
Julian Lam
ae279fe57f casting some values as int, in ensureSelfOrPrivileged middleware 2017-01-24 12:33:27 -05:00
barisusakli
aeed8f53f3 closes #5393 2017-01-24 12:45:45 +03:00
Misty (Bot)
44f83825f8 Latest translations and fallbacks 2017-01-24 09:24:12 +00:00
Peter Jaszkowiak
f0c941e5ae No 404 responses for missing language files 2017-01-23 17:09:32 -07:00
Julian Lam
dbb71423a8 executing core middlewares first before secondary or plugin middlewares 2017-01-23 15:17:53 -05:00
Julian Lam
72092f7109 bump mentions again 2017-01-23 14:53:11 -05:00
Julian Lam
300816a6db actually mentions need not be updated... 2017-01-23 14:49:56 -05:00
Julian Lam
2a9d9204c0 Merge branch 'master' into develop 2017-01-23 14:48:54 -05:00
Julian Lam
a41bd73b30 bump mentions 2017-01-23 14:48:46 -05:00
Julian Lam
4e9d5bbd8a Up composer version 2017-01-23 12:38:21 -05:00
Julian Lam
8dc5e20f37 Up composer version 2017-01-23 12:38:05 -05:00
Julian Lam
ea7d61e2e4 handling err in src/meta/languages.js 2017-01-23 11:40:51 -05:00
Julian Lam
445eff9c1a Merge branch 'master' into develop 2017-01-23 11:28:08 -05:00
Julian Lam
372138c789 Revert "fixing bug that caused plugin language files to not be parsed"
This reverts commit b2bb1a7c24.
2017-01-23 11:27:35 -05:00
Julian Lam
b2bb1a7c24 fixing bug that caused plugin language files to not be parsed 2017-01-23 11:25:19 -05:00
Julian Lam
a7aaf8ea96 fixing bug that caused plugin language files to not be parsed 2017-01-23 11:25:05 -05:00
Julian Lam
fcec6fd41d Merge remote-tracking branch 'origin/master' into develop 2017-01-23 11:18:10 -05:00
barisusakli
33e452cc8e fix lint 2017-01-23 13:09:51 +03:00
barisusakli
0b95eab71e use roomName if availabe in taskbar
if room is renamed update title on taskbar
2017-01-23 13:02:40 +03:00
Misty (Bot)
390c0ba788 Latest translations and fallbacks 2017-01-23 09:24:30 +00:00
Stephan
374bc04cdb fixed missing translation string 2017-01-23 04:06:01 +01:00
Stephan
56f045e6b0 Update dashboard.json 2017-01-23 02:41:24 +01:00
Stephan
af4df8e197 added missing translation
added missing language string in dashboard.js
2017-01-23 02:38:33 +01:00
Misty (Bot)
da33f065cf Latest translations and fallbacks 2017-01-22 09:24:29 +00:00
Peter Jaszkowiak
001aa3d1a8 Fix tests, npm Windows fixes 2017-01-21 19:21:02 -07:00
Peter Jaszkowiak
186209a0a3 Build plugin staticDirs
- route `/plugins` -> `build/public/plugins`
- symlink `staticDirs` directories into `build/public/plugins`
- remove custom `/plugins` route handling
2017-01-21 18:57:27 -07:00
Barış Soner Uşaklı
a63ec0a265 up dbsearch 2017-01-21 14:23:36 +02:00
Misty (Bot)
fccd43e532 Latest translations and fallbacks 2017-01-21 09:24:28 +00:00
Misty (Bot)
604206843e Latest translations and fallbacks 2017-01-20 19:29:25 +00:00
Julian Lam
a86eefc5e3 Merge pull request #5383 from pitaj/master
Fix empty lines in language selectors
2017-01-20 13:17:38 -05:00
Peter Jaszkowiak
df77890c2a Plugin defaultLang defaults to en-GB 2017-01-20 11:15:06 -07:00
Julian Lam
73879b824c Merge branch 'master' into develop 2017-01-20 12:33:17 -05:00
Julian Lam
694f2382bf fix issue where navigating back to a topic listing (category.tpl) would not scroll down to the topic you had clicked on, and in some cases would exclude topics that were beyond that particular 'page' 2017-01-20 12:11:12 -05:00
Peter Jaszkowiak
7c88a55153 Fix empty lines in language selectors 2017-01-19 19:07:53 -07:00
Julian Lam
339845ff6b Merge pull request #5366 from pitaj/build-translations
Compile translations in the build step
2017-01-19 15:25:28 -05:00
Julian Lam
76376f52c3 Merge remote-tracking branch 'origin/master' into develop 2017-01-19 14:29:12 -05:00
Julian Lam
3d25c3e1c6 Merge pull request #5380 from pitaj/master
Fix wrapper breaking when no attrs need replaced
2017-01-19 14:17:39 -05:00
Peter Jaszkowiak
97fe86c916 Fix wrapper breaking when no attrs need replaced 2017-01-19 12:13:23 -07:00
Peter Jaszkowiak
80b4c6fa68 Exclude config files 2017-01-19 10:53:25 -07:00
psychobunny
19c3f54a30 Merge pull request #5379 from pichalite/issue-5344
Fixes #5344
2017-01-18 16:38:48 -05:00
pichalite
7b234c666f Fixes #5344 2017-01-18 20:32:19 +00:00
barisusakli
ef72762ba7 use groups.isMemberOfGroups 2017-01-18 20:24:48 +03:00
Peter Jaszkowiak
7f2ded17ab Comments, misc 2017-01-17 20:41:04 -07:00
Peter Jaszkowiak
e94d47976d Build language files on change 2017-01-17 20:22:38 -07:00
Barış Soner Uşaklı
bcd2b5cc50 Merge pull request #5376 from pichalite/post_create
Send isMain to post.save filters
2017-01-17 21:55:29 +02:00
Julian Lam
08af924873 closes #5189 2017-01-17 14:05:33 -05:00
Julian Lam
82e9e1a05d closes #5189 2017-01-17 14:05:19 -05:00
pichalite
9176f7e037 Only send isMain to hook instead of saving to post hash 2017-01-17 18:24:16 +00:00
Julian Lam
48909e753c Merge branch 'master' into develop 2017-01-17 10:46:14 -05:00
Julian Lam
06a77143bd additional logging and removing interstitial session data if plugins don't return interstitials 2017-01-17 10:46:04 -05:00
Peter Jaszkowiak
65b866192e Fix failing tests 2017-01-16 16:48:56 -07:00
pichalite
a3c05b2ea4 Send isMain to post.save filters 2017-01-16 23:40:25 +00:00
Peter Jaszkowiak
aff53cccc5 Plugin language fallback support 2017-01-16 16:31:16 -07:00
Julian Lam
762d660447 Merge pull request #5373 from pitaj/master
Fixes #5369, bootbox wrapper translates attributes
2017-01-16 14:41:07 -05:00
Julian Lam
183fdf06cb Merge pull request #5356 from DomLennonZA/master
Adding more specific timings for session timeout
2017-01-16 14:38:52 -05:00
Jan
7fb7a64c8d Fix fa-font-path 2017-01-16 16:00:54 +01:00
Dominic Lennon
3f116e7636 Fixing null ttl issue for MongoSession 2017-01-16 14:58:27 +00:00
Dominic Lennon
b1f0f8fa8b Adding ttl value to the MongoStore options 2017-01-16 14:52:25 +00:00
Dominic Lennon
691b46d38b Fixing lint issues 2017-01-16 14:43:34 +00:00
Dominic Lennon
f0add97cf9 Fixing tests 2017-01-16 14:37:14 +00:00
Dominic Lennon
3507e4ce0e Adding closing <p> 2017-01-16 09:33:33 +00:00
Dominic Lennon
a06e39528f Code review change 2017-01-16 08:48:53 +00:00
Peter Jaszkowiak
c41a2f4b98 Fixes #5369, bootbox wrapper translates attributes 2017-01-15 13:58:56 -07:00
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
2017-01-15 12:38:16 -07:00
kingjan1999
8ac40eb44c Update FontAwesome to 4.7.0 2017-01-15 17:51:28 +01:00
kingjan1999
cbe8807ebd update fontawesome.tpl 2017-01-15 17:46:21 +01:00
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=`
2017-01-14 22:38:40 -07:00
Peter Jaszkowiak
e1a29f4aa8 Switch to assets route 2017-01-14 17:12:16 -07:00
Peter Jaszkowiak
b4b3be3d97 Cache bust translations, query param name 2017-01-14 14:09:46 -07:00
Peter Jaszkowiak
c97764ee6f Fix incomplete "group" search results 2017-01-14 14:09:46 -07:00
Peter Jaszkowiak
2f07c18c5a All hail the glorious translation prebuilding 2017-01-14 14:08:52 -07:00
Julian Lam
9dcbe875a0 Merge branch 'master' into develop 2017-01-13 15:01:34 -05:00
Julian Lam
c99321a518 always setting app.previousUrl now, and passing cid into filter:category.topics.get hook 2017-01-13 15:01:14 -05:00
barisusakli
8f0f959d53 add filter:categories.copyPrivilegesFrom
https://github.com/Schamper/nodebb-plugin-poll/issues/77
2017-01-13 12:04:20 +03:00
Peter Jaszkowiak
386284beb8 Windows compat 2017-01-12 15:45:44 -07:00
Julian Lam
2a9088d571 updating checkGlobalPrivacySettings middleware to hook into write-api for auth 2017-01-12 15:55:56 -05:00
psychobunny
65cf2dbe55 move updateRoomUsage to after graph setup #5346 2017-01-12 14:26:03 -05:00
psychobunny
7f9381b087 closes #5346 2017-01-12 14:22:30 -05:00
psychobunny
9797f69324 action:chat.sent 2017-01-12 11:48:41 -05:00
Julian Lam
10f270d016 adding byPid zset for flags 2017-01-12 11:31:59 -05:00
Julian Lam
f58107e40a Merge remote-tracking branch 'origin/master' into develop 2017-01-12 11:29:34 -05:00
Julian Lam
bef3da5b48 pass flagId into flag.update hook 2017-01-12 10:09:47 -05:00
Julian Lam
6c04e393b5 fire hooks for flag update 2017-01-12 10:03:50 -05:00
barisusakli
8f916343f0 closes #5361 2017-01-12 14:41:35 +03:00
barisusakli
938022a0f7 add postData to action:post.delete, closes #5360 2017-01-12 14:32:38 +03:00
barisusakli
274448426d helpers.setupAdminPageRoute 2017-01-12 14:32:38 +03:00
barisusakli
1e137636c9 closes #5359 2017-01-12 14:32:38 +03:00
Misty (Bot)
759f1e2085 Latest translations and fallbacks 2017-01-12 09:21:45 +00:00
Julian Lam
d29361f4c9 added additional visibility masks for profile menu hook, also added isPrivileged user method, closes #5306 2017-01-11 15:06:28 -05:00
Julian Lam
8eb47e1987 added back missing next(), @baris 2017-01-11 14:43:56 -05:00
Julian Lam
20d035bdac hotfix to utils.isRelativeUrl to handle null or undefined first argument 2017-01-11 14:33:51 -05:00
Julian Lam
7bbb05637c flag translations and fallbacks 2017-01-11 13:20:26 -05:00
Barış Soner Uşaklı
05053071fe up composer 2017-01-11 20:12:26 +02: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
barisusakli
367078056e add hook 2017-01-11 14:41:31 +03:00
barisusakli
0c8aa599a0 closes #5357 2017-01-11 14:40:52 +03:00
Dominic Lennon
04e5707143 Fixing lint issues 2017-01-11 11:24:27 +00:00
barisusakli
37bb6e9b6d action:user.removeUploadedPicture 2017-01-11 13:59:27 +03:00
Dominic Lennon
ed19454eca Adding more specific timing for session timings 2017-01-11 10:51:41 +00:00
Misty (Bot)
4ec7200260 Latest translations and fallbacks 2017-01-11 09:21:36 +00:00
psychobunny
3b4d7b1d70 up tjs 2017-01-10 13:47:31 -05:00
barisusakli
dd9e286633 closes #5355 2017-01-10 18:31:08 +03:00
barisusakli
1e9fabc5db closes #5354 2017-01-10 15:45:07 +03:00
barisusakli
611be77361 closes #5353 2017-01-10 15:16:49 +03:00
Dominic Lennon
d248ef95cd Fix for issue #5334. SessionStore now uses the correct value 2017-01-10 11:48:27 +00:00
Misty (Bot)
ac03c2b270 Latest translations and fallbacks 2017-01-10 09:21:46 +00:00
Julian Lam
1a0e4db466 removing duplicate strings from flags language file 2017-01-09 16:22:55 -05:00
Julian Lam
ca7f834f53 updating tx assets 2017-01-09 16:20:33 -05:00
Julian Lam
9987d52855 Merge remote-tracking branch 'origin/master' into develop 2017-01-09 16:18:15 -05:00
Julian Lam
2ab2486d3b if require call on page script fails, remove from scripts array 2017-01-09 15:02:32 -05:00
Julian Lam
6a591069c5 fixes issue with ajaxify.end not firing 2017-01-09 14:51:05 -05:00
barisusakli
cc96e32970 closes #5352 2017-01-09 18:16:48 +03:00
Misty (Bot)
5522d0908e Latest translations and fallbacks 2017-01-09 09:21:45 +00:00
Julian Lam
43056a4bfa Merge branch 'master' into develop 2017-01-08 16:26:00 -05:00
Julian Lam
1296b7a72c using spaces in .eslintrc.json 2017-01-08 15:59:03 -05:00
Julian Lam
64e4ef042b allowing plugins to subscribe to action:script.load and pass in function references 2017-01-08 15:58:25 -05:00
Julian Lam
f6900f2500 Merge pull request #5345 from pichalite/devdeps
Update dev dependencies
2017-01-08 15:58:09 -05:00
Julian Lam
50bd198ed9 Merge pull request #5349 from pitaj/master
Fix reverse proxies breaking admin translations
2017-01-08 13:06:08 -05:00
Misty (Bot)
f51b16d0de Latest translations and fallbacks 2017-01-08 09:21:34 +00:00
Peter Jaszkowiak
ffa2bd14f8 Fix reverse proxies breaking admin translations 2017-01-07 22:48:57 -07:00
Misty (Bot)
1dd8ed8c93 Latest translations and fallbacks 2017-01-07 09:21:35 +00:00
barisusakli
362fbd66e9 up composer 2017-01-06 19:20:36 +03:00
Misty (Bot)
aec6a3b5ca Latest translations and fallbacks 2017-01-06 09:21:33 +00:00
barisusakli
c0a8fd7395 allow multiple tags 2017-01-05 21:14:21 +03:00
barisusakli
3f15dbdc54 up persona 2017-01-05 21:14:20 +03:00
Anil Mandepudi
5a3e1c99c1 Fix tabs 2017-01-05 10:09:06 -08:00
pichalite
65d17a07b7 Update dev dependencies 2017-01-05 18:06:59 +00:00
Julian Lam
8408e3d7ab Merge branch 'master' into develop 2017-01-05 10:22:55 -05:00
Julian Lam
b8d2d9c701 fix language codes, @pichalite 2017-01-05 10:22:45 -05:00
Julian Lam
87433d50a3 Merge branch 'master' into develop 2017-01-05 10:10:11 -05:00
Julian Lam
2c6beb9ffb Merge branch 'master' into develop 2017-01-05 10:05:57 -05:00
Misty (Bot)
b4a3883d6b Latest translations and fallbacks 2017-01-05 09:21:40 +00:00
Misty (Bot)
9ab69d3960 update arabic language.json 2017-01-04 17:33:52 +00:00
Misty (Bot)
07f8ca5d6c Latest translations and fallbacks 2017-01-04 17:27:57 +00:00
Julian Lam
8e7af0291a fixed grammar in admin-manage-categories string 2017-01-04 11:50:03 -05:00
Julian Lam
81ca10d72e Merge pull request #5332 from pitaj/async@2
async v2 upgrade
2017-01-04 11:05:45 -05:00
barisusakli
c42eaee30c fix typo in language file 2017-01-04 15:28:16 +03:00
Julian Lam
736c1a4ad1 Merge pull request #5340 from pichalite/patch-1
Update Chart.js dependency version
2017-01-03 21:28:02 -05:00
Anil Mandepudi
22d0e60f08 Update Chart.js dependency version
Update Chart.js dependency to fix chart issue on category analytics page.
2017-01-03 18:05:39 -08:00
Barış Soner Uşaklı
aa32e7b359 fix indents 2017-01-04 00:58:32 +03:00
Barış Soner Uşaklı
39723074c0 Merge pull request #5327 from pichalite/translations
Add missing translations
2017-01-03 22:49:50 +02:00
Barış Soner Uşaklı
e225f318bb Merge pull request #5339 from loopback0/master
Allow text selection on /unread
2017-01-03 22:49:01 +02:00
loopback0
a86134cc5b Fix selection
Tweak to allow the shift + click behaviour for the checkboxes while still letting the browser behaviour work
2017-01-03 20:18:35 +00:00
Julian Lam
3861b2dd80 Merge remote-tracking branch 'origin/master' into develop 2017-01-03 13:39:11 -05:00
Julian Lam
541f51e947 restrict flags interface so that moderators only see flags from cids they can actually moderate 2017-01-03 13:38:06 -05:00
psychobunny
949b4aaa1f added logo to .gitignore so it doesn't get updated by test runner 2017-01-03 13:07:24 -05:00
barisusakli
ba1889f441 messaging refactor 2017-01-03 20:02:24 +03:00
barisusakli
6b2dde02b5 closes #5333 2017-01-03 15:08:16 +03:00
Peter Jaszkowiak
11f7cc4163 Pass tests 2017-01-02 23:04:57 -07:00
Peter Jaszkowiak
ec544518e8 Use async v2 2017-01-02 22:23:17 -07:00
Peter Jaszkowiak
cb82824c13 Fix ACP title bug with hashes (#5331) 2017-01-02 10:59:55 -05:00
Barış Soner Uşaklı
a08474a9fd Merge pull request #5319 from pichalite/issue-5317
Let global mods change user avatar
2016-12-31 09:40:20 +02:00
psychobunny
268f907a08 Merge pull request #5329 from pichalite/user-tests
Add more user tests
2016-12-29 20:10:52 -05:00
pichalite
a0ff3734cf Add more user tests 2016-12-30 00:51:22 +00:00
psychobunny
1c64e4e741 Merge pull request #5328 from pichalite/user-tests
Add more user tests
2016-12-29 18:31:23 -05:00
pichalite
0ea477abde Add more user tests 2016-12-29 23:16:23 +00:00
pichalite
da8795f666 Add missing translations 2016-12-29 19:41:43 +00:00
Anil Mandepudi
8ddf7eb922 Use scrollStop in chat (#5326) 2016-12-29 14:25:05 -05:00
psychobunny
8df47f333e Merge pull request #5325 from pichalite/issue-5324
Delete cover position data when cover photo is deleted
2016-12-29 13:12:46 -05:00
pichalite
8a68e1d918 Delete cover position data when cover photo is deleted 2016-12-29 17:28:42 +00:00
psychobunny
22b9f5db92 Merge pull request #5320 from pichalite/issue-5305
Confirm before removing user and group cover picture
2016-12-28 20:14:56 -05:00
pichalite
5b646495af Confirm before removing user and group cover picture 2016-12-29 01:01:35 +00:00
pichalite
ab797b91a4 Let global mods change user avatar 2016-12-28 19:00:14 +00:00
Julian Lam
05fdd35818 removed menu item for flags management in ACP 2016-12-27 15:33:55 -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
Barış Soner Uşaklı
f225fc3e3d closes #5314 2016-12-27 21:20:05 +03:00
Julian Lam
a8521d0349 remove double-click to mark all notifications read 2016-12-27 12:55:28 -05:00
psychobunny
d4a1542ba3 use dot instead of spec for tests 2016-12-23 11:32:43 -05:00
barisusakli
c78c4926df up themes 2016-12-23 17:01:11 +03:00
barisusakli
190b3759a0 fix tests 2016-12-23 16:51:18 +03:00
barisusakli
827e4b4ffd refactor post tools 2016-12-23 16:35:48 +03:00
barisusakli
a112655bd2 fix missing ; 2016-12-23 15:59:15 +03:00
barisusakli
4943832dd8 fix dupe code 2016-12-23 15:58:40 +03:00
barisusakli
306687ccaa remove old upgrade code 2016-12-23 15:49:28 +03:00
barisusakli
e48f1dac2a move bookmarks 2016-12-23 15:37:26 +03:00
barisusakli
c927eb15d7 fix requires 2016-12-23 15:37:18 +03:00
barisusakli
c36e2aa13d refactor app.js/start 2016-12-23 14:45:37 +03:00
barisusakli
e1253f693a fix redis union 2016-12-23 14:26:05 +03:00
barisusakli
b71ab64cf4 organize dbal sorted code 2016-12-23 14:12:07 +03:00
psychobunny
3935e35f5c Merge pull request #5309 from pichalite/update-ace
Update ACE editor to latest
2016-12-22 14:37:30 -05:00
pichalite
cc435e75de Update ACE editor to latest 2016-12-22 19:32:20 +00:00
pichalite
cae5a9ac58 Update ACE editor to latest 2016-12-22 19:25:24 +00:00
barisusakli
476ec6e4ee closes #5307 2016-12-22 20:33:08 +03:00
Misty (Bot)
2a5b5a7b45 Incremented version number 2016-12-22 17:08:19 +00:00
psychobunny
66d8c29d25 use different path for installer files 2016-12-22 11:45:22 -05:00
Julian Lam
29c7ae7645 Merge remote-tracking branch 'origin/master' into develop 2016-12-22 09:21:32 -05:00
barisusakli
f505b47ac9 prevent crash if topic is not found 2016-12-22 12:19:07 +03:00
barisusakli
3add454289 up composer 2016-12-22 11:22:18 +03:00
psychobunny
fa12a3e7e6 updating to 2017 (was looking for a reason to test auto-update of https://github.com/NodeBB/NodeBB/wiki/Hooks) 2016-12-21 21:11:40 -05:00
psychobunny
f742c847e1 Merge pull request #5304 from pitaj/master
Fix ACP title issues
2016-12-21 19:29:09 -05:00
Peter Jaszkowiak
6d00d5f6a5 Fix ACP title issues 2016-12-21 16:00:12 -07:00
Barış Soner Uşaklı
c4d4d2385b closes #3973 closes #5303 2016-12-22 01:48:41 +03:00
Barış Soner Uşaklı
805cacb2af dont add tid to :tids:posts if its pinned 2016-12-21 23:50:06 +03:00
psychobunny
61a58f2607 fixes npm test on windows 2016-12-21 11:21:30 -05:00
psychobunny
29cf6f528c no need to check for logged in status in ACP 2016-12-21 11:19:19 -05:00
Barış Soner Uşaklı
1b6d718dab closes #5300 2016-12-21 15:18:43 +03:00
psychobunny
79e78f19dd Merge pull request #5299 from pichalite/patch-1
Add missing translation
2016-12-20 17:02:54 -05:00
psychobunny
b5d1eb2d54 up persona 2016-12-20 17:01:53 -05:00
Anil Mandepudi
8229de5eaa Add missing translation 2016-12-20 13:55:27 -08:00
barisusakli
a1af59def3 add missing return, fix tests 2016-12-21 00:31:20 +03:00
psychobunny
454ee2d801 up persona: new quick reply option 2016-12-20 15:35:58 -05:00
Julian Lam
7c7cb8cfe6 remove flag translations from development branch 2016-12-20 13:30:41 -05:00
Julian Lam
c640bdf2b9 Merge branch 'master' into develop 2016-12-20 13:29:44 -05:00
Julian Lam
d77f417cf3 allowing timeago timestamps to be in the future 2016-12-20 13:17:20 -05:00
psychobunny
b51fd4096b up persona 2016-12-20 12:11:23 -05:00
barisusakli
988c485874 post tools test 2016-12-20 16:03:01 +03:00
barisusakli
a0c217446a fix missing semicolon 2016-12-20 14:06:19 +03:00
barisusakli
caacae093d fix tests 2016-12-20 14:05:15 +03:00
barisusakli
f8d958e065 rooms.getAll test 2016-12-20 13:53:32 +03:00
Julian Lam
926186108b ACP Translations 2016-12-19 15:51:44 -05:00
Peter Jaszkowiak
460b830a96 Fix ajaxify loading default language translations 2016-12-19 15:51:43 -05:00
Peter Jaszkowiak
daf3ab4db4 WIP 2016-12-19 15:51:43 -05:00
Peter Jaszkowiak
038c45f4b6 admin/manage translations, misc
- Translate Manage templates and JS
- Change `translator.translate -> .html` into `.translateHtml` where fitting
- Translate `admin/partials/download_plugin_item`
2016-12-19 15:51:43 -05:00
Peter Jaszkowiak
94eb74646c admin/manage/categories translations
- Fix privilege table headers so bottom borders align
- Fix `/admin` route to show Dashboard title correctly
- Translate ACP category management and privileges templates
- Translate ACP category management JS
- Remove unnecessary translates in JS
- Fix bootbox wrapper to work with translations containing html
2016-12-19 15:51:43 -05:00
Peter Jaszkowiak
862908d0eb ACP search and title improvements
- Search uses translated titles if available
- Use `advanced` for `development` route titles
- Remove route title from showing up in results
- Highlight matching part of result title
- Don't show empty result contents when only title is matched
2016-12-19 15:51:43 -05:00
Peter Jaszkowiak
3008794797 admin/general JS translations and misc 2016-12-19 15:51:43 -05:00
Peter Jaszkowiak
95bef8f3f6 admin/extend JS translations and misc 2016-12-19 15:51:43 -05:00
Peter Jaszkowiak
38eba81933 ACP menu and title translations 2016-12-19 15:51:43 -05:00
Peter Jaszkowiak
bae1daf5dc Bootbox wrapper improvements 2016-12-19 15:51:43 -05:00
Peter Jaszkowiak
606de990e9 admin/advanced JS translations 2016-12-19 15:51:43 -05:00
Peter Jaszkowiak
0b4c39338e Translation bootbox wrapper
- Replaced minfied bootbox file with unminified one since it's minified at build anyways
- Removed existing override
- Made translator more verbose in dev mode; it now warns about missing translations
2016-12-19 15:51:43 -05:00
Peter Jaszkowiak
20db4657b2 admin/general translations 2016-12-19 15:51:43 -05:00
Peter Jaszkowiak
4eca23174a Translate dynamically added admin content 2016-12-19 15:51:43 -05:00
Peter Jaszkowiak
3cd6a8a94b admin/extend translations 2016-12-19 15:51:43 -05:00
Peter Jaszkowiak
50aed01c57 admin/development translations 2016-12-19 15:51:43 -05:00
Peter Jaszkowiak
6c1b852d48 admin/appearance translations 2016-12-19 15:51:43 -05:00
Peter Jaszkowiak
8931702136 admin/advanced translations 2016-12-19 15:51:43 -05:00
Misty (Bot)
ecdd57dda2 Incremented version number 2016-12-19 19:18:25 +00:00
barisusakli
70f71888f1 up themes 2016-12-19 21:53:19 +03:00
barisusakli
9ace5c6e17 moved next() of out try/catch 2016-12-19 21:46:28 +03:00
barisusakli
1fed01fe43 ability to filter search by tags 2016-12-19 21:40:16 +03:00
Julian Lam
76bcc1c327 Merge branch 'flagging-refactor' into develop 2016-12-19 13:00:31 -05:00
Julian Lam
283ae564f2 removing incorrect parseInt 2016-12-19 12:52:47 -05:00
Julian Lam
babafde726 once more for good measure! 2016-12-19 12:40:33 -05:00
Julian Lam
07ac7dce84 minor tweaks to test to be redis-compatible 2016-12-19 12:31:55 -05:00
Julian Lam
2ea63f3d42 how much fun is it to fix tests when stack traces don't work? lots. :shipit: 2016-12-19 12:13:36 -05:00
Julian Lam
5e52cfdf86 removed one more old flag test for #5232 2016-12-19 12:01:00 -05:00
Julian Lam
47c9c93693 removed old flagging tests 2016-12-19 11:54:52 -05:00
Julian Lam
ad633aad45 additional tests and proper handling for purged flag targets, #5232 2016-12-19 11:16:03 -05:00
Julian Lam
7b471b76db fixing tests for #5232 2016-12-19 09:50:46 -05:00
Barış Soner Uşaklı
fef239d97a up mongodb 2016-12-18 23:01:32 +03:00
Barış Soner Uşaklı
647c05ec42 up composer 2016-12-18 22:25:58 +03:00
Barış Soner Uşaklı
4ff3d06f90 escape labelColor, icon, cover:position, validate toPid 2016-12-17 16:00:39 +03:00
Julian Lam
a043876d00 what, does Travis not like 4-space indents? 2016-12-16 12:47:38 -05:00
barisusakli
6a0cbadb3e closes #5290 2016-12-16 15:55:46 +03:00
barisusakli
009da723c5 meta.configs tests 2016-12-16 15:55:34 +03:00
barisusakli
975141bc9b more tag tests 2016-12-15 18:06:49 +03:00
barisusakli
835669805a tag tests 2016-12-15 17:26:54 +03:00
barisusakli
3bd1c6c2b5 notification tests 2016-12-15 16:08:32 +03:00
barisusakli
55b68197aa closes #4544 2016-12-15 14:47:42 +03:00
barisusakli
9d75c48236 closes #4563 closes #4569 closes #4566 2016-12-15 13:03:14 +03:00
Julian Lam
0927d54c98 ability to filter flags by cid, #5232, more tests 2016-12-14 15:53:57 -05:00
Julian Lam
ebffc44600 fix tests, #5232 2016-12-14 15:00:41 -05:00
Julian Lam
5e109bb4a8 Merge remote-tracking branch 'origin/master' into flagging-refactor 2016-12-14 14:45:25 -05:00
barisusakli
e17b37edb6 closes #5287 2016-12-14 21:58:20 +03:00
Julian Lam
e6768ab572 some more fixes to flags, simplifying qs manipulation in flags search
re: #5232
2016-12-14 10:03:43 -05:00
Julian Lam
e028ac1363 passing in arguments to npm instead of command string, closes #5286 2016-12-14 09:28:30 -05:00
xucheng
40d73e2a54 fix ajax 404 err when base url isn't root (#5285) 2016-12-14 08:53:55 -05:00
barisusakli
9e52d5ec04 new hook, action:user.delete 2016-12-14 16:49:09 +03:00
Julian Lam
380ebf67ee oops, uncommenting all the other tests for flags 2016-12-13 14:24:09 -05:00
Julian Lam
831c2064a0 For #5232, added tests and returning flag data on socket flag creation 2016-12-13 12:11:51 -05:00
Julian Lam
83cd07f830 request travis to build now too 2016-12-13 09:38:43 -05:00
Julian Lam
451c2838d0 Merge remote-tracking branch 'origin/master' into flagging-refactor 2016-12-13 09:37:19 -05:00
Julian Lam
0196997099 fixing issues as found by @barisusakli
re: #5232 and #5282
2016-12-13 09:36:50 -05:00
barisusakli
fba28791f5 missing ; 2016-12-13 16:08:54 +03:00
barisusakli
c32e6aaabb use build module instead of forking 2016-12-13 15:43:20 +03:00
barisusakli
53fe432d8a fix hook 2016-12-13 14:27:54 +03:00
barisusakli
97c0b33cf6 filter:middleware.render 2016-12-13 14:22:37 +03:00
barisusakli
e86708cb0c add cid to widgets.render
init date pickers in widgets ACP
2016-12-13 14:11:56 +03:00
barisusakli
82d3b24cd3 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2016-12-13 14:01:20 +03:00
barisusakli
35a15f37ec closes #5276 2016-12-13 14:01:07 +03:00
Barış Soner Uşaklı
1f52048866 Merge pull request #5252 from Fusselwurm/patch-2
ZSET scores are float: parseInt => parseFloat
2016-12-13 11:58:24 +02:00
psychobunny
10cffb0b54 Merge pull request #5283 from pichalite/setup-password-check
Check password length on setup and prompt again
2016-12-12 20:37:49 -05:00
Anil Mandepudi
aea08d58b1 Fix tabs 2016-12-12 17:19:59 -08:00
pichalite
0a4e45c0da Check password length on setup 2016-12-13 01:18:42 +00:00
Julian Lam
b79073cf32 Merge branch 'translator-escapes' of https://github.com/pitaj/NodeBB into pitaj-translator-escapes 2016-12-12 15:11:38 -05:00
Julian Lam
e227f5842a Merge remote-tracking branch 'origin/master' into flagging-refactor 2016-12-12 11:21:30 -05:00
Mathias Schreck
b1a48981ef Check if href exists before accessing it (#5281)
I got a lot of errors in Firefox 50 `TypeError: $(...).attr(...) is undefined  nodebb.min.js:25167:24` which points exactly to that line I’ve changed.
Since HTML5 `href` is not a required attribute of an `a` tag. We have a couple of links without `href` and every time you click it you will get this error.
2016-12-12 11:08:21 -05:00
Moritz Schmidt
ec5d13188b sneakily adjust database/sorted tests to include float scores 2016-12-11 15:59:28 +01:00
Moritz Schmidt
c8393d6f87 mongo: set scores as float instead of int 2016-12-11 15:58:57 +01:00
Peter Jaszkowiak
db1fdb897f Fixes for dev-ing on windows
- Change `nodebb.bat` to simply run `node ./nodebb` with same arguments
- Fix `npm test` for windows
2016-12-10 20:57:34 -07:00
Peter Jaszkowiak
bb5fe0cc83 Escape arguments in Translator.compile 2016-12-10 20:41:49 -07:00
Peter Jaszkowiak
a81aad61ab Add tests for translator static methods 2016-12-10 20:24:41 -07:00
Peter Jaszkowiak
375af7ad53 Restructure and rename translator tests 2016-12-10 20:24:41 -07:00
Peter Jaszkowiak
7c697759e9 Escape and ignore % and \, in translator args 2016-12-10 20:24:41 -07:00
barisusakli
1c6cee207f meta/settings test 2016-12-10 00:51:50 +03:00
barisusakli
9627e53922 change group membership methods 2016-12-10 00:25:49 +03:00
Julian Lam
aaec71bc0c added stepSize to flags chart, #5232 2016-12-09 14:59:23 -05:00
Julian Lam
dc508fa0cb Merge remote-tracking branch 'origin/master' into flagging-refactor 2016-12-09 14:54:01 -05:00
Julian Lam
4753042306 lowered analytics disk writes to every ten seconds, because why every 10 minutes? :shipit: 2016-12-09 14:53:49 -05:00
Julian Lam
9ada35cfb9 allowing Analytics.increment to have a callback 2016-12-09 14:39:31 -05:00
Julian Lam
ebc9abd773 upgrade script and graphs for #5232 2016-12-09 14:33:59 -05:00
barisusakli
4db171985d up composer 2016-12-09 18:57:56 +03:00
barisusakli
0b9829850c closes #5273 2016-12-09 18:53:08 +03:00
Barış Soner Uşaklı
7f455344d8 show seconds in logs 2016-12-09 00:41:19 +03:00
Barış Soner Uşaklı
e0501656b6 parallel startup 2016-12-09 00:18:25 +03:00
Barış Soner Uşaklı
bca6151892 fix lint 2016-12-09 00:00:40 +03:00
Barış Soner Uşaklı
8c8e2ae190 closes #5271 2016-12-09 00:00:39 +03:00
Julian Lam
5d63c0aa3b Merge remote-tracking branch 'origin/master' into flagging-refactor 2016-12-08 14:25:53 -05:00
Julian Lam
acf2e4078b fixes #5263 2016-12-08 11:28:20 -05:00
psychobunny
56fb941979 up'd tjs 2016-12-07 15:53:47 -05:00
Julian Lam
31996f9377 added page titles 2016-12-07 15:51:05 -05:00
Julian Lam
6533fa066d removed unneeded fixes #5232 2016-12-07 15:42:47 -05:00
Julian Lam
e40eb75f8f change history saving to append an object not a serialised array, #5232 2016-12-07 15:33:30 -05:00
Julian Lam
a5fb4825b4 deprecating old hook for #5232 2016-12-07 13:06:55 -05:00
Julian Lam
5dd892bd01 a bunch of changes here... allowing user profiles to be flagged, #5232 2016-12-07 12:07:22 -05:00
barisusakli
78b7d5896c convert topic title to string 2016-12-07 16:25:46 +03:00
barisusakli
74b9f1a016 closes #5262 2016-12-07 11:57:27 +03:00
Julian Lam
57fcb92bbc added a smattering of tests for #5232 2016-12-06 20:28:54 -05:00
psychobunny
6b7b51eaf0 Merge pull request #5170 from pitaj/master
ACP search updated to support translations
2016-12-06 17:45:19 -05:00
Peter Jaszkowiak
e2ea3cb21e Fix linting error 2016-12-06 15:13:34 -07:00
Julian Lam
a2fecf5ae4 Merge remote-tracking branch 'origin/master' into flagging-refactor 2016-12-06 16:12:42 -05:00
Julian Lam
9f9051026b more work on #5232 2016-12-06 16:11:56 -05:00
Barış Soner Uşaklı
a0d32e953a Merge pull request #5261 from stuwil/fix-twitter-share-text
Avoid HTML codes in Twitter social share text
2016-12-06 23:04:31 +02:00
Stuart Williams
647d0e0a75 Avoid encoding HTML in Twitter social share text 2016-12-06 15:49:34 -05:00
Barış Soner Uşaklı
d468b6c466 Merge pull request #5260 from stuwil/fix-5259
Generate Post social share links with relative URL
2016-12-06 21:20:18 +02:00
Stuart Williams
cafc5cd891 closes #5259 2016-12-06 14:08:04 -05:00
psychobunny
b0126267a8 closes #5249 2016-12-06 11:48:59 -05:00
Peter Jaszkowiak
8ca98625b9 Key through search results 2016-12-05 18:32:17 -07:00
Peter Jaszkowiak
f1cfed50a1 Translate skins and themes fully 2016-12-05 18:31:58 -07:00
Peter Jaszkowiak
5843e8dd77 Fix Translator to work with namespace paths 2016-12-05 17:55:42 -07:00
Peter Jaszkowiak
9fd64549a3 Use async instead of Promises 2016-12-05 17:55:04 -07:00
Julian Lam
cd3002e812 removed user flag reset method and associated socket call from ACP 2016-12-05 15:52:01 -05:00
Julian Lam
88958049eb added some more filters, and appending event to history on flag creation
issue #5232
2016-12-05 15:33:08 -05:00
Julian Lam
8e1d441e20 Added some quick filters, #5232 2016-12-05 12:40:25 -05:00
Julian Lam
b7217e8841 Merge remote-tracking branch 'origin/master' into flagging-refactor 2016-12-05 11:28:10 -05:00
Julian Lam
777f15941f closes #5251 2016-12-05 10:45:06 -05:00
Julian Lam
252574346e tweak gitignores, closes #5250 2016-12-05 10:32:44 -05:00
Julian Lam
ad732935fb closes #5254 2016-12-05 10:23:28 -05:00
barisusakli
cbd6853ccb notif controller test 2016-12-05 17:16:28 +03:00
barisusakli
8691256a67 fix post move test 2016-12-05 16:30:30 +03:00
barisusakli
7d47f4b067 tag tests 2016-12-05 15:09:13 +03:00
Moritz Schmidt
e8e33a8a23 ZSET scores are float: parseInt => parseFloat
In Redis, scores of sorted sets can be floats – so we should use `parseFloat` instead of `parseInt` when converting from string to number.
Should not lead to #4939 again, as `new Date()` works regardless of whether it's being passed a float or integer.
2016-12-04 17:41:27 +01:00
Julian Lam
753d4b0275 wrapped up basic functionality of list and detail for flags, filter support. #5232 2016-12-02 15:28:28 -05:00
Julian Lam
9129597811 #5232 some tweaks to flag history saving 2016-12-02 12:51:39 -05:00
Julian Lam
169defd194 #5232, update flag history to save new value 2016-12-02 12:34:58 -05:00
Julian Lam
0724bee6c6 removed deprecated dismiss methods 2016-12-02 12:10:19 -05:00
Julian Lam
20fa8ebf76 simplified flags.get a tad 2016-12-02 11:24:12 -05:00
Julian Lam
dde3d2b135 Merge remote-tracking branch 'origin/master' into flagging-refactor 2016-12-02 11:01:35 -05:00
Julian Lam
33ff5e09bb updated revoke session middleware to allow self or admin or global mod invocation, tweaked tests a bit 2016-12-02 10:50:47 -05:00
barisusakli
aad9a39f02 move post test 2016-12-02 18:22:30 +03:00
barisusakli
55416911f7 category tests 2016-12-02 18:08:15 +03:00
Julian Lam
23cdeeb344 linting :shipit: 2016-12-02 10:07:33 -05:00
Julian Lam
a1b49a98e7 locking down session deletion route to admins and global mods only 2016-12-02 09:49:52 -05:00
Julian Lam
839a0efc0a one more language string for #5232 2016-12-02 09:49:25 -05:00
barisusakli
69b766bbc8 more tests 2016-12-02 17:05:46 +03:00
barisusakli
1440139903 more tests 2016-12-02 16:10:07 +03:00
barisusakli
091f459f5e search socket test 2016-12-02 14:58:13 +03:00
barisusakli
4b6e4f085d more tests
group cover upload tests
registration approval queue tests
2016-12-02 14:05:59 +03:00
Julian Lam
68f8f57a34 upped composer version 2016-12-01 22:19:50 -05:00
Julian Lam
c36fe3389e Merge remote-tracking branch 'origin/master' into flagging-refactor 2016-12-01 17:06:02 -05:00
Julian Lam
22eeabc5c7 new strings for empty notes or history, #5232 2016-12-01 16:36:30 -05:00
psychobunny
a54a9b512a v1.4.0 2016-12-01 16:29:45 -05:00
Julian Lam
f1d144f15e history appending, finished up notes, #5232 2016-12-01 16:22:10 -05:00
psychobunny
bcb3903446 priv table headers 2016-12-01 16:07:40 -05:00
Peter Jaszkowiak
5223bb5191 Merge branch 'master' of github.com:nodebb/nodebb 2016-12-01 13:40:07 -07:00
Julian Lam
d9d60c20bd flag updating and note appending, #5232 2016-12-01 11:42:06 -05:00
Julian Lam
709a7ff7f0 fixed issue with getUsersData not actually returning the same number of elements as was passed-in 2016-12-01 11:04:37 -05:00
barisusakli
fb42b83e1b remove hardcoded value @pichalite 2016-12-01 18:59:50 +03:00
barisusakli
7f90e31a38 more socket user tests 2016-12-01 18:59:24 +03:00
barisusakli
c3980d0c2e follow tests 2016-12-01 18:36:43 +03:00
barisusakli
5cf8006640 fix style 2016-12-01 18:05:48 +03:00
Julian Lam
888c120e08 removed some unneeded methods for #5232 2016-12-01 09:43:39 -05:00
Julian Lam
c5b9c1e2a4 Merge remote-tracking branch 'origin/master' into flagging-refactor 2016-12-01 09:26:26 -05:00
Julian Lam
e9ff605a20 some more tests for #5232 2016-12-01 09:24:49 -05:00
barisusakli
9ba93d8be9 group search tests 2016-12-01 17:21:09 +03:00
barisusakli
76044bea36 build js in parallel 2016-12-01 13:51:14 +03:00
barisusakli
ea007e2da4 closes #5245 2016-12-01 11:52:35 +03:00
barisusakli
d6c2779ed0 remove placeholder #5242 2016-12-01 11:31:10 +03:00
Julian Lam
c5c2d27180 flag assignees, state, notes WIP, #5232 2016-11-30 20:34:06 -05:00
Julian Lam
77809b2b52 added avatar-xl size 2016-11-30 20:26:45 -05:00
barisusakli
02aadf79b5 account/posts controller tests 2016-11-30 19:13:14 +03:00
barisusakli
a4ebb7f56e test plugin static assets 2016-11-30 18:21:30 +03:00
barisusakli
4cb48c46ab closes #5242 2016-11-30 16:28:30 +03:00
Julian Lam
fceb5cc86b more work on flags detail pages (#5232) 2016-11-29 22:10:51 -05:00
Julian Lam
0bf82c0e47 Merge branch 'master' into flagging-refactor 2016-11-29 21:20:24 -05:00
Julian Lam
12f834072a removed comment from Gruntfile 2016-11-29 21:20:14 -05:00
barisusakli
2291899f4f show chat room title in taskbar 2016-11-29 20:33:33 +03:00
barisusakli
f8caed95db don't crash if plugin doesnt set defaultLang 2016-11-29 20:15:45 +03:00
barisusakli
afef79a81e closes #5241 2016-11-29 17:16:12 +03:00
Peter Jaszkowiak
77e58f31c5 Fixes, passes tests 2016-11-28 18:16:13 -07:00
Peter Jaszkowiak
fd4d53e42c Remove unnecesary admin search indexing 2016-11-28 13:05:22 -07:00
Peter Jaszkowiak
240e958fb1 Use config.relative_path instead of allcaps 2016-11-28 13:01:31 -07:00
Peter Jaszkowiak
de6ced4e07 Tests for admin search, simplifications 2016-11-28 12:59:41 -07:00
Peter Jaszkowiak
e3dd68e19c Explanations and simplifications 2016-11-28 12:53:47 -07:00
Peter Jaszkowiak
a431dc0305 ACP search updated to support translations 2016-11-28 12:52:26 -07:00
barisusakli
2e28a8f7c7 closes #5239 2016-11-28 20:07:21 +03:00
barisusakli
49267d54b7 topics unread tests 2016-11-28 14:15:20 +03:00
barisusakli
444da3c9ec closes #5238 2016-11-27 14:11:45 +03:00
barisusakli
2f92ce1527 check deps on test 2016-11-26 13:08:00 +03:00
barisusakli
57c8e3e61c fix update privacy 2016-11-26 12:59:33 +03:00
barisusakli
dff4ee767c more group tests 2016-11-26 12:03:21 +03:00
barisusakli
d8a1e98a43 fix permalinks on pagination 2016-11-26 01:18:57 +03:00
Julian Lam
9f7c4befea omg tests (#5232), and .create returns flag data now 2016-11-25 15:22:04 -05:00
Julian Lam
98a104564b some light refactoring, details API (#5232) 2016-11-25 14:17:55 -05:00
Julian Lam
640df0379e flag list page (#5232) 2016-11-25 13:28:55 -05:00
Julian Lam
106502952a fixed crash in flags page for now 2016-11-25 13:28:55 -05:00
Julian Lam
1aa70c57eb WIP 2016-11-25 13:28:55 -05:00
barisusakli
a4b46fd5ce closes #5236 2016-11-25 21:11:33 +03:00
barisusakli
aa69481a0c dont mark chat notifications read if you are not in the room 2016-11-25 20:50:45 +03: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
barisusakli
d4638ffc15 fix test dont turn single pages into ... 2016-11-24 22:56:42 +03:00
Barış Soner Uşaklı
dde32744b7 change pagination so its similar to GH 2016-11-24 22:38:30 +03:00
Julian Lam
f42c5ede61 up markdown 2016-11-24 12:11:33 -05:00
Julian Lam
68205beea8 some tweaks to the readme 2016-11-24 11:30:45 -05:00
Julian Lam
50f7508a92 up markdown and composer versions 2016-11-24 11:10:40 -05:00
barisusakli
02c21f7403 up dbsearch 2016-11-24 16:16:17 +03:00
barisusakli
1c3d9f7e94 switch to createIndex 2016-11-24 16:15:04 +03:00
barisusakli
b807915515 removed incorrect markread nid 2016-11-24 15:53:46 +03:00
barisusakli
1bda0395b8 up persona 2016-11-24 14:40:11 +03:00
barisusakli
4b815449f1 closes #5234 2016-11-24 11:02:53 +03:00
barisusakli
d3fff28de5 use base_dir 2016-11-23 21:23:37 +03:00
barisusakli
31168c669b closes #5231 2016-11-23 21:08:04 +03:00
barisusakli
6beacdb80c fix headers for new installs
encodeURI(undefined) === "undefined"
2016-11-23 21:06:02 +03:00
barisusakli
12d46ca441 remove async.series 2016-11-23 21:05:12 +03:00
Julian Lam
ffbebc646a linting 2016-11-23 12:30:03 -05:00
Julian Lam
b7fa8c1db1 fixes #5230 2016-11-23 12:25:01 -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
Julian Lam
cafbdfd83e fixes #5226 2016-11-23 11:45:34 -05:00
barisusakli
4ff71f6b0b allow two sections 2016-11-23 17:40:22 +03:00
barisusakli
5d6e2ad083 multiple test fixes 2016-11-23 17:15:36 +03:00
NodeBB Misty
7e6e5f771c Latest translations and fallbacks 2016-11-23 09:02:19 -05:00
barisusakli
17f8afd0dc closes #5230 2016-11-23 16:09:46 +03:00
barisusakli
f754c8b7df digest test 2016-11-23 15:52:35 +03:00
barisusakli
60b3db7b34 dont use hardcoded uid 2016-11-23 15:51:47 +03:00
barisusakli
d2fa0c3e6a vote socket tests 2016-11-23 14:29:55 +03:00
barisusakli
1658ebbe20 categories update test 2016-11-23 13:38:20 +03:00
barisusakli
f7b77c5341 removed file.exists from getFromFile 2016-11-23 12:58:48 +03:00
barisusakli
259d49e392 all procs should load the js from file 2016-11-23 03:21:31 +03:00
Julian Lam
c987b8474e fixing new post parsing to not add img-responsive to avatars 2016-11-22 10:48:50 -05:00
Julian Lam
6f1e5a83ab resolve regression caused by part of d28f7de 2016-11-22 10:25:56 -05:00
Julian Lam
d28f7de19e fixes #5228 2016-11-22 10:23:28 -05:00
barisusakli
ce2d702117 account group page test 2016-11-22 18:21:57 +03:00
barisusakli
86deeaaf39 more group tests 2016-11-22 17:58:04 +03:00
barisusakli
cecb4c0403 some more group tests 2016-11-22 17:21:30 +03:00
barisusakli
4d86262812 use global mod user for flag tests 2016-11-22 15:55:30 +03:00
barisusakli
584cfd09ef suggested topics test 2016-11-22 15:29:58 +03:00
barisusakli
069a90e792 move maintenance mode 2016-11-22 15:02:28 +03:00
barisusakli
0794e395d5 fix test 2016-11-22 14:57:15 +03:00
barisusakli
38bc8ad5ae maintenance tests 2016-11-22 14:37:19 +03:00
Julian Lam
5916530a35 fix topic creation regression caused by 576df84218 2016-11-21 11:18:10 -05:00
Julian Lam
f0936fcafb fixes #5225 2016-11-21 11:07:25 -05:00
barisusakli
dcb6773782 #5223 2016-11-21 19:03:36 +03:00
Julian Lam
576df84218 trimming composer input before doing length check in replies 2016-11-21 10:52:37 -05:00
NodeBB Misty
ef6d52c01b Latest translations and fallbacks 2016-11-21 09:02:19 -05:00
barisusakli
0a245a8868 tag controller test 2016-11-21 15:44:58 +03:00
barisusakli
b49af0a135 #5223
adjust pagination so each page shows `postsPerPage` posts
2016-11-21 13:49:36 +03:00
barisusakli
db14c29e41 socket.io/categories tests 2016-11-21 13:47:34 +03:00
barisusakli
6acc79ec07 convert title to string 2016-11-21 10:17:45 +03:00
barisusakli
3b40afe9e2 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2016-11-20 17:50:43 +03:00
barisusakli
0756fcce7e eslint 2016-11-20 17:50:39 +03:00
NodeBB Misty
2440c74f60 Latest translations and fallbacks 2016-11-20 09:02:17 -05:00
barisusakli
2c77a88ba4 closes #5220 2016-11-20 15:11:34 +03:00
barisusakli
51b41a9b44 fix eslint 2016-11-20 13:33:35 +03:00
barisusakli
5d4903f643 fix test 2016-11-20 03:47:24 +03:00
Julian Lam
6acbd3ea21 optimising build step for #5211 2016-11-19 14:24:37 -05:00
NodeBB Misty
5e47ea5996 Latest translations and fallbacks 2016-11-19 09:02:22 -05:00
barisusakli
ef87a2b7d7 closes #5219 2016-11-19 16:56:44 +03:00
Julian Lam
0e8bf17ff0 re: #5211, bringing back the RELOAD BUTTON :rage2: 2016-11-18 12:53:30 -05:00
barisusakli
a3efe42938 fix test 2016-11-18 17:40:55 +03:00
barisusakli
dada858565 add canReply to messages 2016-11-18 17:35:10 +03:00
barisusakli
83c50f0648 add back emitter 2016-11-18 17:35:10 +03:00
NodeBB Misty
8fd5b12291 Latest translations and fallbacks 2016-11-18 09:02:26 -05:00
barisusakli
9796f54580 analytics tests, reduce bcrypt rouds for tests 2016-11-18 15:57:53 +03:00
barisusakli
e3616ab0f9 socket/meta test 2016-11-18 15:32:35 +03:00
barisusakli
853cea7fec removed emitter.js 2016-11-18 15:03:50 +03:00
barisusakli
5e7fb4eeb2 widget tests 2016-11-18 14:43:19 +03:00
barisusakli
50a2a7abbe plugins/install tests 2016-11-18 14:03:06 +03:00
barisusakli
2a97e5478f fix pushGroups test 2016-11-18 12:10:22 +03:00
barisusakli
e86db04631 #5211 run build step before tests
move build to its own file
2016-11-18 12:01:33 +03:00
barisusakli
f1a933210b notifications.pushGroups 2016-11-18 11:15:27 +03:00
Barış Soner Uşaklı
0c9f61c629 Merge pull request #5217 from yariplus/patch-15
Allow sending Error objects to alertError instead of just plain strings.
2016-11-18 09:54:38 +02:00
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
2016-11-18 09:27:23 +02:00
Barış Soner Uşaklı
32f0fa282f Merge pull request #5215 from pichalite/issue-5213
Fix reorder plugins modal
2016-11-18 09:19:30 +02:00
Timothy Fike
f1e3e155c4 Update app.js 2016-11-17 18:21:54 -05:00
Timothy Fike
2d84c98565 Allow sending Error objects to alertError instead of just plain strings. 2016-11-17 18:08:44 -05:00
pichalite
d4040ed52e Fixes #5213 2016-11-17 22:12:45 +00:00
Julian Lam
7a10cffb25 fix Gruntfile.js to work with bew build step 2016-11-17 13:56:47 -05:00
Julian Lam
9bab0b53b0 re: #5211, broke out meta.css.minify to accept targets, made build output marginally nicer looking 2016-11-17 12:11:56 -05:00
Julian Lam
232b387652 set up plugins in build step as well 2016-11-17 11:51:38 -05:00
Julian Lam
b1f23c8c4b read req.uid instead of req.user.uid in admin groups list 2016-11-17 07:47:18 -05:00
barisusakli
71c7ef9109 fix test 2016-11-17 13:05:59 +03:00
barisusakli
4f0e93732a #5211
remove passing js/css between procs
2016-11-17 12:56:00 +03:00
Julian Lam
97d7b57db3 nodebb executable integration for #5211 2016-11-16 21:18:51 -05:00
Julian Lam
299fcb99f1 more progress on #5211 2016-11-16 20:54:57 -05:00
Julian Lam
9bf0f6c5cd prep for @psychobunny, re: #5211 2016-11-16 20:53:20 -05:00
Stuart Williams
f92758c764 Replace only base URL in login redirect URL, fixes #5205 2016-11-16 20:31:09 -05:00
Julian Lam
1617c99e7b linting app.js 2016-11-16 20:26:47 -05:00
Julian Lam
03cf5d8da5 upgrade and setup steps call build step now, re: #5211 2016-11-16 20:24:13 -05:00
Julian Lam
179a28d73a basic build compilation logic, re: #5211 2016-11-16 19:49:50 -05:00
Julian Lam
560dc15819 updated winston config to only use json logging if --json-logging flag is passed in or set in config 2016-11-16 19:48:23 -05:00
Julian Lam
135bb6a524 fixes #5209 2016-11-16 12:20:49 -05:00
NodeBB Misty
c452df5a7f Latest translations and fallbacks 2016-11-16 09:02:18 -05:00
barisusakli
f2e4d9ce53 change flag tests so they use socket methods as well 2016-11-16 16:24:21 +03:00
barisusakli
7a0a77d0fa revoke session tests 2016-11-16 15:10:41 +03:00
Barış Soner Uşaklı
6822973502 Merge pull request #5207 from stuwil/admin-relative-paths
Add missing relative path to Admin tags and widgets links
2016-11-16 09:41:09 +02:00
Stuart Williams
a20027d8f5 Add missing relative path to Admin tags and widgets links 2016-11-16 00:47:08 -05:00
NodeBB Misty
682afbb440 Latest translations and fallbacks 2016-11-15 09:02:16 -05:00
barisusakli
3380f61985 more tests 2016-11-15 14:01:06 +03:00
barisusakli
2476ab3684 closes #5202 2016-11-15 12:45:07 +03:00
NodeBB Misty
d19171decc updated new chat strings for profile 2016-11-14 19:20:56 +00:00
Julian Lam
2f2eb1457d auto-redirect to SSO flow should work in subfolders too 2016-11-14 14:01:05 -05:00
NodeBB Misty
e8b38bb9f7 Latest translations and fallbacks 2016-11-14 09:02:33 -05:00
barisusakli
0bf51c7fff remove node 5 from build matrix 2016-11-13 09:19:10 +03:00
NodeBB Misty
6aa93362df Latest translations and fallbacks 2016-11-12 09:02:15 -05:00
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...
2016-11-11 16:47:59 -05:00
NodeBB Misty
38f11f8c28 Incremented version number 2016-11-11 15:18:15 -05:00
Julian Lam
0f93206122 lint 2016-11-11 13:13:06 -05:00
Julian Lam
7d523fae0f closes #5200 2016-11-11 13:00:23 -05:00
Julian Lam
885316d78f also show minutes and hours in cut off timestamp 2016-11-11 12:44:46 -05:00
Julian Lam
75ff60e4d5 partial revert of a9984bb, adding in a layer to translate ISO
timestamp to datetime attribute and save localised string into
title attribute.

Fixes #5109
2016-11-11 11:57:57 -05:00
3332 changed files with 101070 additions and 50500 deletions

View File

@@ -1,5 +1,4 @@
node_modules/
public/src/nodebb.min.js
*.sublime-project
*.sublime-workspace
.project
@@ -10,11 +9,12 @@ logs/
/public/uploads
/public/sounds
/public/vendor
/public/nodebb.min.js
/public/acp.min.js
/public/src/modules/string.js
.idea/
.vscode/
*.ipr
*.iws
/coverage
/build
.eslintrc
test/files

128
.eslintrc Normal file
View File

@@ -0,0 +1,128 @@
{
"extends": "airbnb-base",
"parserOptions": {
"sourceType": "script"
},
"rules": {
// Customized
"handle-callback-err": [ "error","^(e$|(e|(.*(_e|E)))rr)" ],
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "never"
}],
"no-empty": ["error", { "allowEmptyCatch": true }],
"no-underscore-dangle": "off",
"newline-per-chained-call": "off",
"no-console": "off",
"no-mixed-operators": ["error", { "allowSamePrecedence": true }],
"strict": ["error", "global"],
"consistent-return": "off",
"func-names": "off",
"no-tabs": "off",
"indent": ["error", "tab"],
"no-eq-null": "off",
"camelcase": "off",
"no-new": "off",
"no-shadow": "off",
"no-use-before-define": ["error", "nofunc"],
"no-prototype-builtins": "off",
"new-cap": "off",
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"import/no-unresolved": "error",
// ES6
"prefer-rest-params": "off",
"prefer-spread": "off",
"prefer-arrow-callback": "off",
"prefer-template": "off",
"no-var": "off",
"object-shorthand": "off",
"vars-on-top": "off",
// TODO
"import/no-extraneous-dependencies": "off",
"import/no-dynamic-require": "off",
"import/newline-after-import": "off",
"no-bitwise": "off",
"global-require": "off",
"max-len": "off",
"no-param-reassign": "off",
"no-restricted-syntax": "off",
"no-script-url": "off",
"default-case": "off",
"linebreak-style": "off",
// "no-multi-assign": "off",
// "one-var": "off",
// "no-undef": "off",
// "max-nested-callbacks": "off",
// "no-mixed-requires": "off",
// "brace-style": "off",
// "max-statements-per-line": "off",
// "no-unused-vars": "off",
// "no-mixed-spaces-and-tabs": "off",
// "no-useless-concat": "off",
// "require-jsdoc": "off",
// "eqeqeq": "off",
// "no-negated-condition": "off",
// "one-var-declaration-per-line": "off",
// "no-lonely-if": "off",
// "radix": "off",
// "no-else-return": "off",
// "no-useless-escape": "off",
// "block-scoped-var": "off",
// "operator-assignment": "off",
// "yoda": "off",
// "no-loop-func": "off",
// "no-void": "off",
// "valid-jsdoc": "off",
// "no-cond-assign": "off",
// "no-redeclare": "off",
// "no-unreachable": "off",
// "no-nested-ternary": "off",
// "operator-linebreak": "off",
// "guard-for-in": "off",
// "no-unneeded-ternary": "off",
// "no-sequences": "off",
// "no-extend-native": "off",
// "no-shadow-restricted-names": "off",
// "no-extra-boolean-cast": "off",
// "no-path-concat": "off",
// "no-unused-expressions": "off",
// "no-return-assign": "off",
// "no-restricted-modules": "off",
// "object-curly-spacing": "off",
// "indent": "off",
// "padded-blocks": "off",
// "eol-last": "off",
// "lines-around-directive": "off",
// "strict": "off",
// "comma-dangle": "off",
// "no-multi-spaces": "off",
// "quotes": "off",
// "keyword-spacing": "off",
// "no-mixed-operators": "off",
// "comma-spacing": "off",
// "no-trailing-spaces": "off",
// "key-spacing": "off",
// "no-multiple-empty-lines": "off",
// "spaced-comment": "off",
// "space-in-parens": "off",
// "block-spacing": "off",
// "quote-props": "off",
// "space-unary-ops": "off",
// "no-empty": "off",
// "dot-notation": "off",
// "func-call-spacing": "off",
// "array-bracket-spacing": "off",
// "object-property-newline": "off",
// "no-continue": "off",
// "no-extra-semi": "off",
// "no-spaced-func": "off",
// "no-useless-return": "off"
}
}

View File

@@ -1,110 +0,0 @@
{
"extends": "airbnb",
"rules": {
"handle-callback-err": [ "error","^(e$|(e|(.*(_e|E)))rr)" ],
"linebreak-style": "off",
"import/no-unresolved": "off",
"import/no-extraneous-dependencies": "off",
"one-var": "off",
"no-undef": "off",
"max-len": "off",
"no-new": "off",
"max-nested-callbacks": "off",
"no-mixed-requires": "off",
"brace-style": "off",
"max-statements-per-line": "off",
"no-unused-vars": "off",
"no-mixed-spaces-and-tabs": "off",
"no-useless-concat": "off",
"require-jsdoc": "off",
"eqeqeq": "off",
"camelcase": "off",
"no-negated-condition": "off",
"one-var-declaration-per-line": "off",
"new-cap": "off",
"no-lonely-if": "off",
"radix": "off",
"no-else-return": "off",
"no-useless-escape": "off",
"block-scoped-var": "off",
"operator-assignment": "off",
"default-case": "off",
"yoda": "off",
"no-use-before-define": "off",
"no-loop-func": "off",
"no-void": "off",
"valid-jsdoc": "off",
"o-eq-null": "off",
"no-cond-assign": "off",
"no-eq-null": "off",
"no-redeclare": "off",
"no-unreachable": "off",
"no-nested-ternary": "off",
"operator-linebreak": "off",
"guard-for-in": "off",
"no-unneeded-ternary": "off",
"no-sequences": "off",
"no-extend-native": "off",
"no-shadow-restricted-names": "off",
"no-extra-boolean-cast": "off",
"no-script-url": "off",
"no-path-concat": "off",
"no-unused-expressions": "off",
"no-restricted-module": "off",
"no-return-assign": "off",
"no-restricted-modules": "off",
"no-tabs": "off",
"indent": "off",
"func-names": "off",
"prefer-arrow-callback": "off",
"object-curly-spacing": "off",
"no-var": "off",
"no-shadow": "off",
"prefer-template": "off",
"padded-blocks": "off",
"eol-last": "off",
"lines-around-directive": "off",
"no-restricted-syntax": "off",
"vars-on-top": "off",
"no-prototype-builtins": "off",
"object-shorthand": "off",
"no-param-reassign": "off",
"consistent-return": "off",
"strict": "off",
"comma-dangle": "off",
"no-multi-spaces": "off",
"quotes": "off",
"keyword-spacing": "off",
"no-plusplus": "off",
"no-mixed-operators": "off",
"comma-spacing": "off",
"global-require": "off",
"no-trailing-spaces": "off",
"key-spacing": "off",
"import/newline-after-import": "off",
"no-underscore-dangle": "off",
"prefer-spread": "off",
"no-multiple-empty-lines": "off",
"spaced-comment": "off",
"prefer-rest-params": "off",
"space-in-parens": "off",
"block-spacing": "off",
"quote-props": "off",
"no-console": "off",
"space-unary-ops": "off",
"import/no-dynamic-require": "off",
"no-bitwise": "off",
"no-empty": "off",
"array-bracket-spacin": "off",
"dot-notation": "off",
"func-call-spacing": "off",
"newline-per-chained-call": "off",
"newline-per-chained-call": "off",
"array-bracket-spacing": "off",
"object-property-newline": "off",
"no-continue": "off",
"no-extra-semi": "off",
"no-spaced-func": "off"
}
}

View File

@@ -1,6 +1,10 @@
# Submitting a Pull Request to NodeBB?
First of all, thank you! Please consider this [style guide](https://docs.nodebb.org/en/latest/contributing/style-guide.html) when submitting your changes. Also, please join our [community](https://community.nodebb.org) to meet other NodeBB developers and designers :)
First of all, thank you! Before submission, please run `npm test` to lint and run the automated NodeBB tests. If everything passes, you're good to go. If you have any errors, please fix them and re-run `npm test` to make sure there aren't any others.
## Styleguide and linting
NodeBB mostly conforms to the [AirBnB Javascript style guide](https://github.com/airbnb/javascript#readme). If you're running into a lot of ESlint errors, you may want to install an editor plugin to display them in real time.
## Contributor License Agreement
@@ -34,11 +38,9 @@ There is a chance that the issue you are experiencing may have already been fixe
You can find the NodeBB version number in the Admin Control Panel (ACP), as well as the first line output to the shell when running NodeBB
``` plaintext
info: NodeBB v0.5.2-dev Copyright (C) 2013-2014 NodeBB Inc.
info: This program comes with ABSOLUTELY NO WARRANTY.
info: This is free software, and you are welcome to redistribute it under certain conditions.
info:
info: Time: Tue Oct 07 2014 20:25:20 GMT-0400 (EDT)
3/4 12:38:57 [10752] - info: NodeBB v1.4.5 Copyright (C) 2013-2017 NodeBB Inc.
3/4 12:38:57 [10752] - info: This program comes with ABSOLUTELY NO WARRANTY.
3/4 12:38:57 [10752] - info: This is free software, and you are welcome to redistribute it under certain conditions.
```
If you are running NodeBB via git, it is also helpful to let the maintainers know what commit hash you are on. To find the commit hash, execute the following command:
@@ -51,12 +53,13 @@ $ git rev-parse HEAD
If you have downloaded the `.zip` or `.tar.gz` packages from GitHub (or elsewhere), please let us know.
## Provide theme versions if issue is related to the theme/display
Use `npm ls` to list the versions of the theme you're using. In this example, we're running the Persona theme, which depends on the Vanilla theme.
``` bash
$ npm ls nodebb-theme-vanilla nodebb-theme-lavender
nodebb@0.7.0-dev /home/julian/Projects/nodebb/forum
├── nodebb-theme-lavender@0.2.13
└── nodebb-theme-vanilla@0.2.35
$ npm ls nodebb-theme-vanilla nodebb-theme-persona
nodebb@1.4.3 /path/to/nodebb
+-- nodebb-theme-persona@4.2.4
`-- nodebb-theme-vanilla@5.2.0
```
## Attempt to use `git bisect`

View File

@@ -1,13 +1,24 @@
Please include the following information when submitting a bug report/issue:
<!--
== Github Issues are for bug reports and feature requests only ==
== Please visit https://community.nodebb.org for other support ==
-->
* NodeBB version and git hash (to find your git hash, execute `git rev-parse HEAD` from the main NodeBB directory)
* Database (mongo or redis) and it's version.
* Exact steps to cause this issue
1. First I did this...
2. Then, I clicked on this item...
* What you expected
* e.g. I expected *abc* to *xyz*
* What happened instead
* e.g. Instead, I got *zyx* and NodeBB set fire to my house
<!-- ++ Please include the following information when submitting a bug report ++ -->
Thank you!
- **NodeBB version:**
- **NodeBB git hash:**
<!-- (to find your git hash, execute `git rev-parse HEAD` from the main NodeBB directory) -->
- **Database type:** mongo or redis
- **Database version:**
<!-- `mongod --version` or `redis-server --version` -->
- **Exact steps to cause this issue:**
<!--
1. First I did this...
2. Then, I clicked on this item...
-->
- **What you expected:**
<!-- e.g. I expected *abc* to *xyz* -->
- **What happened instead:**
<!-- e.g. Instead, I got *zyx* and NodeBB set fire to my house -->
<!-- Thank you! -->

13
.gitignore vendored
View File

@@ -1,3 +1,4 @@
yarn.lock
npm-debug.log
node_modules/
sftp-config.json
@@ -17,6 +18,7 @@ provision.sh
.DS_Store
feeds/recent.rss
.eslintcache
.svn
logs/
@@ -25,8 +27,8 @@ pidfile
# templates
/public/templates
/public/uploads
/public/sounds
/public/uploads
# compiled files
/public/stylesheet.css
@@ -35,6 +37,9 @@ pidfile
/public/nodebb.min.js.map
/public/acp.min.js
/public/acp.min.js.map
/public/installer.css
/public/installer.min.js
/public/logo.png
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio
*.iml
@@ -53,3 +58,9 @@ tx.exe
##Coverage output
coverage
build
*.log
test/files/normalise.jpg.png
test/files/normalise-resized.jpg
package-lock.json

View File

@@ -83,5 +83,7 @@
"white" : false, // true: Check against strict whitespace and indentation rules
// Custom Globals
"globals" : {} // additional predefined global variables
"globals" : {
"Promise": true
} // additional predefined global variables
}

View File

@@ -1,16 +1,16 @@
services:
- redis-server
- redis-server
before_install:
- "sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10"
- "echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list"
- "sudo apt-get update"
- "sudo apt-get install mongodb-org-server"
- "sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10"
- "echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list"
- "sudo apt-get update"
- "sudo apt-get install mongodb-org-server"
before_script:
- sh -c "if [ '$DB' = 'mongodb' ]; then node app --setup=\"{\\\"url\\\":\\\"http://127.0.0.1:4567\\\",\\\"secret\\\":\\\"abcdef\\\",\\\"database\\\":\\\"mongo\\\",\\\"mongo:host\\\":\\\"127.0.0.1\\\",\\\"mongo:port\\\":27017,\\\"mongo:username\\\":\\\"\\\",\\\"mongo:password\\\":\\\"\\\",\\\"mongo:database\\\":0,\\\"redis:host\\\":\\\"127.0.0.1\\\",\\\"redis:port\\\":6379,\\\"redis:password\\\":\\\"\\\",\\\"redis:database\\\":0,\\\"admin:username\\\":\\\"admin\\\",\\\"admin:email\\\":\\\"test@example.org\\\",\\\"admin:password\\\":\\\"abcdef\\\",\\\"admin:password:confirm\\\":\\\"abcdef\\\"}\" --ci=\"{\\\"host\\\":\\\"127.0.0.1\\\",\\\"port\\\":27017,\\\"database\\\":0}\"; fi"
- sh -c "if [ '$DB' = 'redis' ]; then node app --setup=\"{\\\"url\\\":\\\"http://127.0.0.1:4567\\\",\\\"secret\\\":\\\"abcdef\\\",\\\"database\\\":\\\"redis\\\",\\\"mongo:host\\\":\\\"127.0.0.1\\\",\\\"mongo:port\\\":27017,\\\"mongo:username\\\":\\\"\\\",\\\"mongo:password\\\":\\\"\\\",\\\"mongo:database\\\":0,\\\"redis:host\\\":\\\"127.0.0.1\\\",\\\"redis:port\\\":6379,\\\"redis:password\\\":\\\"\\\",\\\"redis:database\\\":0,\\\"admin:username\\\":\\\"admin\\\",\\\"admin:email\\\":\\\"test@example.org\\\",\\\"admin:password\\\":\\\"abcdef\\\",\\\"admin:password:confirm\\\":\\\"abcdef\\\"}\" --ci=\"{\\\"host\\\":\\\"127.0.0.1\\\",\\\"port\\\":6379,\\\"database\\\":0}\"; fi"
- "until nc -z localhost 27017; do echo Waiting for MongoDB; sleep 1; done"
- sh -c "if [ '$DB' = 'mongodb' ]; then node app --setup=\"{\\\"url\\\":\\\"http://127.0.0.1:4567\\\",\\\"secret\\\":\\\"abcdef\\\",\\\"database\\\":\\\"mongo\\\",\\\"mongo:host\\\":\\\"127.0.0.1\\\",\\\"mongo:port\\\":27017,\\\"mongo:username\\\":\\\"\\\",\\\"mongo:password\\\":\\\"\\\",\\\"mongo:database\\\":0,\\\"redis:host\\\":\\\"127.0.0.1\\\",\\\"redis:port\\\":6379,\\\"redis:password\\\":\\\"\\\",\\\"redis:database\\\":0,\\\"admin:username\\\":\\\"admin\\\",\\\"admin:email\\\":\\\"test@example.org\\\",\\\"admin:password\\\":\\\"abcdef\\\",\\\"admin:password:confirm\\\":\\\"abcdef\\\"}\" --ci=\"{\\\"host\\\":\\\"127.0.0.1\\\",\\\"port\\\":27017,\\\"database\\\":0}\"; fi"
- sh -c "if [ '$DB' = 'redis' ]; then node app --setup=\"{\\\"url\\\":\\\"http://127.0.0.1:4567\\\",\\\"secret\\\":\\\"abcdef\\\",\\\"database\\\":\\\"redis\\\",\\\"mongo:host\\\":\\\"127.0.0.1\\\",\\\"mongo:port\\\":27017,\\\"mongo:username\\\":\\\"\\\",\\\"mongo:password\\\":\\\"\\\",\\\"mongo:database\\\":0,\\\"redis:host\\\":\\\"127.0.0.1\\\",\\\"redis:port\\\":6379,\\\"redis:password\\\":\\\"\\\",\\\"redis:database\\\":0,\\\"admin:username\\\":\\\"admin\\\",\\\"admin:email\\\":\\\"test@example.org\\\",\\\"admin:password\\\":\\\"abcdef\\\",\\\"admin:password:confirm\\\":\\\"abcdef\\\"}\" --ci=\"{\\\"host\\\":\\\"127.0.0.1\\\",\\\"port\\\":6379,\\\"database\\\":0}\"; fi"
- "until nc -z localhost 27017; do echo Waiting for MongoDB; sleep 1; done"
after_success:
- "npm run coveralls"
- "npm run coveralls"
language: node_js
env:
- CXX=g++-4.8 DB=mongodb
@@ -22,9 +22,10 @@ addons:
packages:
- g++-4.8
node_js:
- "6"
- "5"
- "4"
- "7"
- "6"
- "4"
branches:
only:
- master
only:
- master
- develop

2512
.tx/config

File diff suppressed because it is too large Load Diff

View File

@@ -1,56 +1,70 @@
"use strict";
'use strict';
var fork = require('child_process').fork,
env = process.env,
worker,
incomplete = [];
var fork = require('child_process').fork;
var env = process.env;
var worker;
var updateWorker;
var initWorker;
var incomplete = [];
var running = 0;
env.NODE_ENV = env.NODE_ENV || 'development';
module.exports = function (grunt) {
var args = [];
var initArgs = ['--build'];
if (!grunt.option('verbose')) {
args.push('--log-level=info');
initArgs.push('--log-level=info');
}
function update(action, filepath, target) {
var updateArgs = args.slice(),
fromFile = '',
compiling = '',
time = Date.now();
var updateArgs = args.slice();
var compiling;
var time = Date.now();
if (target === 'lessUpdated_Client') {
fromFile = ['js', 'tpl', 'acpLess'];
compiling = 'clientLess';
compiling = 'clientCSS';
} else if (target === 'lessUpdated_Admin') {
fromFile = ['js', 'tpl', 'clientLess'];
compiling = 'acpLess';
compiling = 'acpCSS';
} else if (target === 'clientUpdated') {
fromFile = ['clientLess', 'acpLess', 'tpl'];
compiling = 'js';
} else if (target === 'templatesUpdated') {
fromFile = ['js', 'clientLess', 'acpLess'];
compiling = 'tpl';
} else if (target === 'langUpdated') {
compiling = 'lang';
} else if (target === 'serverUpdated') {
fromFile = ['clientLess', 'acpLess', 'js', 'tpl'];
// Do nothing, just restart
}
fromFile = fromFile.filter(function (ext) {
return incomplete.indexOf(ext) === -1;
});
if (compiling && incomplete.indexOf(compiling) === -1) {
incomplete.push(compiling);
}
updateArgs.push('--from-file=' + fromFile.join(','));
incomplete.push(compiling);
updateArgs.push('--build');
updateArgs.push(incomplete.join(','));
worker.kill();
worker = fork('app.js', updateArgs, { env: env });
if (updateWorker) {
updateWorker.kill('SIGKILL');
}
updateWorker = fork('app.js', updateArgs, { env: env });
running += 1;
updateWorker.on('exit', function () {
running -= 1;
if (running === 0) {
worker = fork('app.js', args, {
env: env,
});
worker.on('message', function () {
if (incomplete.length) {
incomplete = [];
worker.on('message', function () {
if (incomplete.length) {
incomplete = [];
if (grunt.option('verbose')) {
grunt.log.writeln('NodeBB restarted in ' + (Date.now() - time) + ' ms');
}
if (grunt.option('verbose')) {
grunt.log.writeln('NodeBB restarted in ' + (Date.now() - time) + ' ms');
}
}
});
}
});
}
@@ -62,11 +76,17 @@ module.exports = function (grunt) {
'public/*.less',
'node_modules/nodebb-*/*.less', 'node_modules/nodebb-*/**/*.less',
'!node_modules/nodebb-*/node_modules/**',
'!node_modules/nodebb-*/.git/**'
]
'!node_modules/nodebb-*/.git/**',
],
options: {
interval: 1000,
},
},
lessUpdated_Admin: {
files: ['public/**/*.less']
files: ['public/**/*.less'],
options: {
interval: 1000,
},
},
clientUpdated: {
files: [
@@ -74,34 +94,67 @@ module.exports = function (grunt) {
'node_modules/nodebb-*/*.js', 'node_modules/nodebb-*/**/*.js',
'!node_modules/nodebb-*/node_modules/**',
'node_modules/templates.js/lib/templates.js',
'!node_modules/nodebb-*/.git/**'
]
'!node_modules/nodebb-*/.git/**',
],
options: {
interval: 1000,
},
},
serverUpdated: {
files: ['*.js', 'install/*.js', 'src/**/*.js']
files: ['*.js', 'install/*.js', 'src/**/*.js'],
options: {
interval: 1000,
},
},
templatesUpdated: {
files: [
'src/views/**/*.tpl',
'node_modules/nodebb-*/*.tpl', 'node_modules/nodebb-*/**/*.tpl',
'!node_modules/nodebb-*/node_modules/**',
'!node_modules/nodebb-*/.git/**'
]
}
}
'!node_modules/nodebb-*/.git/**',
],
options: {
interval: 1000,
},
},
langUpdated: {
files: [
'public/language/en-GB/*.json',
'public/language/en-GB/**/*.json',
'node_modules/nodebb-*/**/*.json',
'!node_modules/nodebb-*/node_modules/**',
'!node_modules/nodebb-*/.git/**',
'!node_modules/nodebb-*/plugin.json',
'!node_modules/nodebb-*/package.json',
'!node_modules/nodebb-*/theme.json',
],
options: {
interval: 1000,
},
},
},
});
grunt.loadNpmTasks('grunt-contrib-watch');
if (grunt.option('skip')) {
grunt.registerTask('default', ['watch:serverUpdated']);
} else {
grunt.registerTask('default', ['watch']);
}
grunt.registerTask('default', ['watch']);
env.NODE_ENV = 'development';
worker = fork('app.js', args, { env: env });
if (grunt.option('skip')) {
worker = fork('app.js', args, {
env: env,
});
} else {
initWorker = fork('app.js', initArgs, {
env: env,
});
initWorker.on('exit', function () {
worker = fork('app.js', args, {
env: env,
});
});
}
grunt.event.on('watch', update);
};
};

View File

@@ -11,17 +11,18 @@
Additional functionality is enabled through the use of third-party plugins.
* [Get NodeBB](http://www.nodebb.org/ "NodeBB")
* [Demo & Meta Discussion](http://community.nodebb.org)
* [Documentation & Installation Instructions](http://docs.nodebb.org)
* [Help translate NodeBB](https://www.transifex.com/projects/p/nodebb/)
* [NodeBB Blog](http://blog.nodebb.org)
* [Join us on IRC](https://kiwiirc.com/client/irc.freenode.net/nodebb) - #nodebb on Freenode
* [Premium Hosting for NodeBB](http://www.nodebb.org/ "NodeBB")
* [Follow us on Twitter](http://www.twitter.com/NodeBB/ "NodeBB Twitter")
* [Like us on Facebook](http://www.facebook.com/NodeBB/ "NodeBB Facebook")
## Screenshots
NodeBB's theming engine is highly flexible and does not restrict your design choices. Check out some themed installs in these screenshots below:
[![](http://i.imgur.com/VCoOFyqb.png)](http://i.imgur.com/VCoOFyq.png)
[![](http://i.imgur.com/FLOUuIqb.png)](http://i.imgur.com/FLOUuIq.png)
[![](http://i.imgur.com/Ud1LrfIb.png)](http://i.imgur.com/Ud1LrfI.png)
@@ -31,6 +32,8 @@ Additional functionality is enabled through the use of third-party plugins.
[![](http://i.imgur.com/LmHtPhob.png)](http://i.imgur.com/LmHtPho.png)
[![](http://i.imgur.com/paiJPJkb.jpg)](http://i.imgur.com/paiJPJk.jpg)
Our minimalist "Persona" theme gets you going right away, no coding experience required.
[![](http://i.imgur.com/HwNEXGu.png)](http://i.imgur.com/HwNEXGu.png)
[![](http://i.imgur.com/II1byYs.png)](http://i.imgur.com/II1byYs.png)
@@ -47,13 +50,13 @@ Additional functionality is enabled through the use of third-party plugins.
NodeBB requires the following software to be installed:
* A version of Node.js at least 4 or greater
* A version of Node.js at least 4 or greater ([installation/upgrade instructions](https://github.com/nodesource/distributions))
* Redis, version 2.8.9 or greater **or** MongoDB, version 2.6 or greater
* nginx, version 1.3.13 or greater (**only if** intending to use nginx to proxy requests to a NodeBB)
## Installation
[Please refer to platform-specific installation documentation](http://docs.nodebb.org/en/latest/installing/os.html)
[Please refer to platform-specific installation documentation](https://docs.nodebb.org/installing/os)
## Securing NodeBB
@@ -68,7 +71,7 @@ It is important to ensure that your NodeBB and database servers are secured. Bea
## Upgrading NodeBB
Detailed upgrade instructions are listed in [Upgrading NodeBB](https://docs.nodebb.org/en/latest/upgrading/index.html)
Detailed upgrade instructions are listed in [Upgrading NodeBB](https://docs.nodebb.org/configuring/upgrade/)
## License

305
app.js
View File

@@ -1,7 +1,7 @@
/*
NodeBB - A better forum platform for the modern web
https://github.com/NodeBB/NodeBB/
Copyright (C) 2013-2016 NodeBB Inc.
Copyright (C) 2013-2017 NodeBB Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -17,19 +17,26 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
"use strict";
/*global require, global, process*/
'use strict';
if (require.main !== module) {
require.main.require = function (path) {
return require(path);
};
}
var nconf = require('nconf');
nconf.argv().env('__');
nconf.argv().env({
separator: '__',
lowerCase: true,
});
var url = require('url'),
async = require('async'),
winston = require('winston'),
colors = require('colors'),
path = require('path'),
pkg = require('./package.json'),
file = require('./src/file');
var url = require('url');
var async = require('async');
var winston = require('winston');
var path = require('path');
var pkg = require('./package.json');
var file = require('./src/file');
global.env = process.env.NODE_ENV || 'production';
@@ -38,11 +45,11 @@ winston.add(winston.transports.Console, {
colorize: true,
timestamp: function () {
var date = new Date();
return (global.env === 'production') ? date.toJSON() : date.getDate() + '/' + (date.getMonth() + 1) + ' ' + date.toTimeString().substr(0,5) + ' [' + global.process.pid + ']';
return nconf.get('json-logging') ? date.toJSON() : date.getDate() + '/' + (date.getMonth() + 1) + ' ' + date.toTimeString().substr(0, 8) + ' [' + global.process.pid + ']';
},
level: nconf.get('log-level') || (global.env === 'production' ? 'info' : 'verbose'),
json: (global.env === 'production'),
stringify: (global.env === 'production')
json: (!!nconf.get('json-logging')),
stringify: (!!nconf.get('json-logging')),
});
@@ -74,27 +81,40 @@ if (nconf.get('setup') || nconf.get('install')) {
} else if (nconf.get('upgrade')) {
upgrade();
} else if (nconf.get('reset')) {
require('./src/reset').reset();
async.waterfall([
async.apply(require('./src/reset').reset),
async.apply(require('./src/meta/build').buildAll),
], function (err) {
process.exit(err ? 1 : 0);
});
} else if (nconf.get('activate')) {
activate();
} else if (nconf.get('plugins')) {
listPlugins();
} else if (nconf.get('build')) {
require('./src/meta/build').build(nconf.get('build'));
} else if (nconf.get('events')) {
async.series([
async.apply(require('./src/database').init),
async.apply(require('./src/events').output),
]);
} else {
start();
require('./src/start').start();
}
function loadConfig() {
function loadConfig(callback) {
winston.verbose('* using configuration stored in: %s', configFile);
nconf.file({
file: configFile
file: configFile,
});
nconf.defaults({
base_dir: __dirname,
themes_path: path.join(__dirname, 'node_modules'),
views_dir: path.join(__dirname, 'public/templates'),
version: pkg.version
upload_path: 'public/uploads',
views_dir: path.join(__dirname, 'build/public/templates'),
version: pkg.version,
});
if (!nconf.get('isCluster')) {
@@ -107,153 +127,49 @@ function loadConfig() {
nconf.set('core_templates_path', path.join(__dirname, 'src/views'));
nconf.set('base_templates_path', path.join(nconf.get('themes_path'), 'nodebb-theme-persona/templates'));
nconf.set('upload_path', path.resolve(nconf.get('base_dir'), nconf.get('upload_path')));
if (nconf.get('url')) {
nconf.set('url_parsed', url.parse(nconf.get('url')));
}
}
function start() {
var db = require('./src/database');
// nconf defaults, if not set in config
if (!nconf.get('upload_path')) {
nconf.set('upload_path', '/public/uploads');
}
if (!nconf.get('sessionKey')) {
nconf.set('sessionKey', 'express.sid');
}
// Parse out the relative_url and other goodies from the configured URL
var urlObject = url.parse(nconf.get('url'));
var relativePath = urlObject.pathname !== '/' ? urlObject.pathname : '';
nconf.set('base_url', urlObject.protocol + '//' + urlObject.host);
nconf.set('secure', urlObject.protocol === 'https:');
nconf.set('use_port', !!urlObject.port);
nconf.set('relative_path', relativePath);
nconf.set('port', urlObject.port || nconf.get('port') || nconf.get('PORT') || (nconf.get('PORT_ENV_VAR') ? nconf.get(nconf.get('PORT_ENV_VAR')) : false) || 4567);
nconf.set('upload_url', nconf.get('upload_path').replace(/^\/public/, ''));
if (nconf.get('isPrimary') === 'true') {
winston.info('Time: %s', (new Date()).toString());
winston.info('Initializing NodeBB v%s', nconf.get('version'));
var host = nconf.get(nconf.get('database') + ':host'),
storeLocation = host ? 'at ' + host + (host.indexOf('/') === -1 ? ':' + nconf.get(nconf.get('database') + ':port') : '') : '';
winston.verbose('* using %s store %s', nconf.get('database'), storeLocation);
winston.verbose('* using themes stored in: %s', nconf.get('themes_path'));
}
process.on('SIGTERM', shutdown);
process.on('SIGINT', shutdown);
process.on('SIGHUP', restart);
process.on('message', function (message) {
if (typeof message !== 'object') {
return;
}
var meta = require('./src/meta');
var emitter = require('./src/emitter');
switch (message.action) {
case 'reload':
meta.reload();
break;
case 'js-propagate':
meta.js.target = message.data;
emitter.emit('meta:js.compiled');
winston.verbose('[cluster] Client-side javascript and mapping propagated to worker %s', process.pid);
break;
case 'css-propagate':
meta.css.cache = message.cache;
meta.css.acpCache = message.acpCache;
emitter.emit('meta:css.compiled');
winston.verbose('[cluster] Stylesheets propagated to worker %s', process.pid);
break;
case 'templates:compiled':
emitter.emit('templates:compiled');
break;
// Explicitly cast 'jobsDisabled' as Bool
var castAsBool = ['jobsDisabled'];
nconf.stores.env.readOnly = false;
castAsBool.forEach(function (prop) {
var value = nconf.get(prop);
if (value) {
nconf.set(prop, typeof value === 'boolean' ? value : String(value).toLowerCase() === 'true');
}
});
nconf.stores.env.readOnly = true;
process.on('uncaughtException', function (err) {
winston.error(err.stack);
console.log(err.stack);
require('./src/meta').js.killMinifier();
shutdown(1);
});
async.waterfall([
async.apply(db.init),
async.apply(db.checkCompatibility),
function (next) {
require('./src/meta').configs.init(next);
},
function (next) {
if (nconf.get('dep-check') === undefined || nconf.get('dep-check') !== false) {
require('./src/meta').dependencies.check(next);
} else {
winston.warn('[init] Dependency checking skipped!');
setImmediate(next);
}
},
function (next) {
require('./src/upgrade').check(next);
},
function (next) {
var webserver = require('./src/webserver');
require('./src/socket.io').init(webserver.server);
if (nconf.get('isPrimary') === 'true' && !nconf.get('jobsDisabled')) {
require('./src/notifications').init();
require('./src/user').startJobs();
}
webserver.listen();
}
], function (err) {
if (err) {
switch(err.message) {
case 'schema-out-of-date':
winston.warn('Your NodeBB schema is out-of-date. Please run the following command to bring your dataset up to spec:');
winston.warn(' ./nodebb upgrade');
break;
case 'dependencies-out-of-date':
winston.warn('One or more of NodeBB\'s dependent packages are out-of-date. Please run the following command to update them:');
winston.warn(' ./nodebb upgrade');
break;
case 'dependencies-missing':
winston.warn('One or more of NodeBB\'s dependent packages are missing. Please run the following command to update them:');
winston.warn(' ./nodebb upgrade');
break;
default:
if (err.stacktrace !== false) {
winston.error(err.stack);
} else {
winston.error(err.message);
}
break;
}
// Either way, bad stuff happened. Abort start.
process.exit();
}
});
if (typeof callback === 'function') {
callback();
}
}
function setup() {
winston.info('NodeBB Setup Triggered via Command Line');
var install = require('./src/install');
var build = require('./src/meta/build');
process.stdout.write('\nWelcome to NodeBB!\n');
process.stdout.write('\nThis looks like a new installation, so you\'ll have to answer a few questions about your environment before we can proceed.\n');
process.stdout.write('Press enter to accept the default setting (shown in brackets).\n');
install.setup(function (err, data) {
async.series([
async.apply(install.setup),
async.apply(loadConfig),
async.apply(build.buildAll),
], function (err, data) {
// Disregard build step data
data = data[0];
var separator = ' ';
if (process.stdout.columns > 10) {
for(var x = 0,cols = process.stdout.columns - 10; x < cols; x++) {
for (var x = 0, cols = process.stdout.columns - 10; x < cols; x += 1) {
separator += '=';
}
}
@@ -282,35 +198,66 @@ function setup() {
}
function upgrade() {
require('./src/database').init(function (err) {
var db = require('./src/database');
var meta = require('./src/meta');
var upgrade = require('./src/upgrade');
var build = require('./src/meta/build');
var tasks = [db.init, meta.configs.init, upgrade.run, build.buildAll];
if (nconf.get('upgrade') !== true) {
// Likely an upgrade script name passed in
tasks[2] = async.apply(upgrade.runSingle, nconf.get('upgrade'));
// Skip build
tasks.pop();
}
// disable mongo timeouts during upgrade
nconf.set('mongo:options:socketTimeoutMS', 0);
async.series(tasks, function (err) {
if (err) {
winston.error(err.stack);
process.exit();
process.exit(1);
} else {
process.exit(0);
}
require('./src/meta').configs.init(function () {
require('./src/upgrade').upgrade();
});
});
}
function activate() {
var db = require('./src/database');
db.init(function (err) {
var plugins = require('./src/plugins');
var events = require('./src/events');
var plugin = nconf.get('activate');
async.waterfall([
function (next) {
db.init(next);
},
function (next) {
if (plugin.indexOf('nodebb-') !== 0) {
// Allow omission of `nodebb-plugin-`
plugin = 'nodebb-plugin-' + plugin;
}
plugins.isInstalled(plugin, next);
},
function (isInstalled, next) {
if (!isInstalled) {
return next(new Error('plugin not installed'));
}
winston.info('Activating plugin `%s`', plugin);
db.sortedSetAdd('plugins:active', 0, plugin, next);
},
function (next) {
events.log({
type: 'plugin-activate',
text: plugin,
}, next);
},
], function (err) {
if (err) {
winston.error(err.stack);
process.exit(1);
winston.error(err.message);
}
var plugin = nconf.get('activate');
if (plugin.indexOf('nodebb-') !== 0) {
// Allow omission of `nodebb-plugin-`
plugin = 'nodebb-plugin-' + plugin;
}
winston.info('Activating plugin `%s`', plugin);
db.sortedSetAdd('plugins:active', 0, plugin, function (err) {
process.exit(err ? 1 : 0);
});
process.exit(err ? 1 : 0);
});
}
@@ -335,30 +282,6 @@ function listPlugins() {
});
}
function shutdown(code) {
winston.info('[app] Shutdown (SIGTERM/SIGINT) Initialised.');
require('./src/database').close();
winston.info('[app] Database connection closed.');
require('./src/webserver').server.close();
winston.info('[app] Web server closed to connections.');
winston.info('[app] Shutdown complete.');
process.exit(code || 0);
}
function restart() {
if (process.send) {
winston.info('[app] Restarting...');
process.send({
action: 'restart'
});
} else {
winston.error('[app] Could not restart server. Shutting down.');
shutdown(1);
}
}
function versionCheck() {
var version = process.version.slice(1);
var range = pkg.engines.node;
@@ -369,4 +292,4 @@ function versionCheck() {
winston.warn('Your version of Node.js is too outdated for NodeBB. Please update your version of Node.js.');
winston.warn('Recommended ' + range.green + ', '.reset + version.yellow + ' provided\n'.reset);
}
}
}

View File

@@ -17,6 +17,7 @@
"allowLocalLogin": 1,
"allowAccountDelete": 1,
"allowFileUploads": 0,
"allowedFileExtensions": "png,jpg,bmp",
"allowUserHomePage": 1,
"maximumFileSize": 2048,
"minimumTitleLength": 3,
@@ -28,12 +29,13 @@
"maximumAboutMeLength": 1000,
"maximumProfileImageSize": 256,
"maximumCoverImageSize": 2048,
"profileImageDimension": 128,
"profileImageDimension": 200,
"requireEmailConfirmation": 0,
"allowProfileImageUploads": 1,
"teaserPost": "last-reply",
"allowPrivateGroups": 1,
"unreadCutoff": 2,
"bookmarkThreshold": 5,
"topicsPerList": 20
"topicsPerList": 20,
"autoDetectLang": 1
}

View File

@@ -2,7 +2,7 @@
{
"widget": "html",
"data" : {
"html": "<footer id=\"footer\" class=\"container footer\">\r\n\t<div class=\"copyright\">\r\n\t\tCopyright © 2016 <a target=\"_blank\" href=\"https://nodebb.org\">NodeBB Forums</a> | <a target=\"_blank\" href=\"//github.com/NodeBB/NodeBB/graphs/contributors\">Contributors</a>\r\n\t</div>\r\n</footer>",
"html": "<footer id=\"footer\" class=\"container footer\">\r\n\t<div>\r\n\t\tPowered by <a target=\"_blank\" href=\"https://nodebb.org\">NodeBB</a> | <a target=\"_blank\" href=\"//github.com/NodeBB/NodeBB/graphs/contributors\">Contributors</a>\r\n\t</div>\r\n</footer>",
"title":"",
"container":""
}

View File

@@ -1,71 +1,71 @@
[
{
"route": "/categories",
"title": "\\[\\[global:header.categories\\]\\]",
"title": "[[global:header.categories]]",
"enabled": true,
"iconClass": "fa-list",
"textClass": "visible-xs-inline",
"text": "\\[\\[global:header.categories\\]\\]"
"text": "[[global:header.categories]]"
},
{
"id": "unread-count",
"route": "/unread",
"title": "\\[\\[global:header.unread\\]\\]",
"title": "[[global:header.unread]]",
"enabled": true,
"iconClass": "fa-inbox",
"textClass": "visible-xs-inline",
"text": "\\[\\[global:header.unread\\]\\]",
"text": "[[global:header.unread]]",
"properties": {
"loggedIn": true
}
},
{
"route": "/recent",
"title": "\\[\\[global:header.recent\\]\\]",
"title": "[[global:header.recent]]",
"enabled": true,
"iconClass": "fa-clock-o",
"textClass": "visible-xs-inline",
"text": "\\[\\[global:header.recent\\]\\]"
"text": "[[global:header.recent]]"
},
{
"route": "/tags",
"title": "\\[\\[global:header.tags\\]\\]",
"title": "[[global:header.tags]]",
"enabled": true,
"iconClass": "fa-tags",
"textClass": "visible-xs-inline",
"text": "\\[\\[global:header.tags\\]\\]"
"text": "[[global:header.tags]]"
},
{
"route": "/popular",
"title": "\\[\\[global:header.popular\\]\\]",
"title": "[[global:header.popular]]",
"enabled": true,
"iconClass": "fa-fire",
"textClass": "visible-xs-inline",
"text": "\\[\\[global:header.popular\\]\\]"
"text": "[[global:header.popular]]"
},
{
"route": "/users",
"title": "\\[\\[global:header.users\\]\\]",
"title": "[[global:header.users]]",
"enabled": true,
"iconClass": "fa-user",
"textClass": "visible-xs-inline",
"text": "\\[\\[global:header.users\\]\\]"
"text": "[[global:header.users]]"
},
{
"route": "/groups",
"title": "\\[\\[global:header.groups\\]\\]",
"title": "[[global:header.groups]]",
"enabled": true,
"iconClass": "fa-group",
"textClass": "visible-xs-inline",
"text": "\\[\\[global:header.groups\\]\\]"
"text": "[[global:header.groups]]"
},
{
"route": "/admin",
"title": "\\[\\[global:header.admin\\]\\]",
"title": "[[global:header.admin]]",
"enabled": true,
"iconClass": "fa-cogs",
"textClass": "visible-xs-inline",
"text": "\\[\\[global:header.admin\\]\\]",
"text": "[[global:header.admin]]",
"properties": {
"targetBlank": false,
"adminOnly": true
@@ -73,11 +73,11 @@
},
{
"route": "/search",
"title": "\\[\\[global:header.search\\]\\]",
"title": "[[global:header.search]]",
"enabled": true,
"iconClass": "fa-search",
"textClass": "visible-xs-inline",
"text": "\\[\\[global:header.search\\]\\]",
"text": "[[global:header.search]]",
"properties": {
"searchInstalled": true
}

View File

@@ -1,4 +1,4 @@
"use strict";
'use strict';
var async = require('async');
var prompt = require('prompt');
@@ -6,7 +6,7 @@ var winston = require('winston');
var questions = {
redis: require('../src/database/redis').questions,
mongo: require('../src/database/mongo').questions
mongo: require('../src/database/mongo').questions,
};
module.exports = function (config, callback) {
@@ -18,7 +18,7 @@ module.exports = function (config, callback) {
},
function (databaseConfig, next) {
saveDatabaseConfig(config, databaseConfig, next);
}
},
], callback);
};
@@ -55,7 +55,7 @@ function saveDatabaseConfig(config, databaseConfig, callback) {
host: databaseConfig['redis:host'],
port: databaseConfig['redis:port'],
password: databaseConfig['redis:password'],
database: databaseConfig['redis:database']
database: databaseConfig['redis:database'],
};
if (config.redis.host.slice(0, 1) === '/') {
@@ -67,16 +67,16 @@ function saveDatabaseConfig(config, databaseConfig, callback) {
port: databaseConfig['mongo:port'],
username: databaseConfig['mongo:username'],
password: databaseConfig['mongo:password'],
database: databaseConfig['mongo:database']
database: databaseConfig['mongo:database'],
};
} else {
return callback(new Error('unknown database : ' + config.database));
}
var allQuestions = questions.redis.concat(questions.mongo);
for (var x = 0; x < allQuestions.length; x++) {
for (var x = 0; x < allQuestions.length; x += 1) {
delete config[allQuestions[x].name];
}
callback(null, config);
}
}

View File

@@ -1,4 +1,4 @@
"use strict";
'use strict';
var winston = require('winston');
var express = require('express');
@@ -17,9 +17,9 @@ winston.add(winston.transports.File, {
colorize: true,
timestamp: function () {
var date = new Date();
return date.getDate() + '/' + (date.getMonth() + 1) + ' ' + date.toTimeString().substr(0,5) + ' [' + global.process.pid + ']';
return date.getDate() + '/' + (date.getMonth() + 1) + ' ' + date.toTimeString().substr(0, 5) + ' [' + global.process.pid + ']';
},
level: 'verbose'
level: 'verbose',
});
var web = {};
@@ -27,7 +27,7 @@ var scripts = [
'public/vendor/xregexp/xregexp.js',
'public/vendor/xregexp/unicode/unicode-base.js',
'public/src/utils.js',
'public/src/installer/install.js'
'public/src/installer/install.js',
];
web.install = function (port) {
@@ -39,7 +39,7 @@ web.install = function (port) {
app.set('view engine', 'tpl');
app.set('views', path.join(__dirname, '../src/views'));
app.use(bodyParser.urlencoded({
extended: true
extended: true,
}));
async.parallel([compileLess, compileJS], function () {
@@ -66,7 +66,7 @@ function welcome(req, res) {
var databases = dbs.map(function (el) {
return {
name: el,
questions: require('../src/database/' + el).questions
questions: require('../src/database/' + el).questions,
};
});
@@ -75,10 +75,10 @@ function welcome(req, res) {
res.render('install/index', {
databases: databases,
skipDatabaseSetup: !!nconf.get('database'),
error: res.locals.error ? true : false,
success: res.locals.success ? true : false,
error: !!res.locals.error,
success: !!res.locals.success,
values: req.body,
minimumPasswordLength: defaults.minimumPasswordLength
minimumPasswordLength: defaults.minimumPasswordLength,
});
}
@@ -90,7 +90,7 @@ function install(req, res) {
}
var child = require('child_process').fork('app', ['--setup'], {
env: process.env
env: process.env,
});
child.on('close', function (data) {
@@ -110,7 +110,7 @@ function launch(req, res) {
var child = require('child_process').spawn('node', ['loader.js'], {
detached: true,
stdio: ['ignore', 'ignore', 'ignore']
stdio: ['ignore', 'ignore', 'ignore'],
});
process.stdout.write('\nStarting NodeBB\n');
@@ -118,45 +118,43 @@ function launch(req, res) {
process.stdout.write(' "./nodebb log" to view server output\n');
process.stdout.write(' "./nodebb restart" to restart NodeBB\n');
child.unref();
process.exit(0);
async.parallel([
async.apply(fs.unlink(path.join(__dirname, '../public/installer.css'))),
async.apply(fs.unlink(path.join(__dirname, '../public/installer.min.js'))),
], function (err) {
if (err) {
winston.warn('Unable to remove installer files');
}
child.unref();
process.exit(0);
});
}
function compileLess(callback) {
if ((nconf.get('from-file') || '').indexOf('less') !== -1) {
winston.info('LESS compilation skipped');
return callback(false);
}
fs.readFile(path.join(__dirname, '../public/less/install.less'), function (err, style) {
if (err) {
return winston.error('Unable to read LESS install file: ', err);
}
less.render(style.toString(), function (err, css) {
if(err) {
if (err) {
return winston.error('Unable to compile LESS: ', err);
}
fs.writeFile(path.join(__dirname, '../public/stylesheet.css'), css.css, callback);
fs.writeFile(path.join(__dirname, '../public/installer.css'), css.css, callback);
});
});
}
function compileJS(callback) {
if ((nconf.get('from-file') || '').indexOf('js') !== -1) {
winston.info('Client-side JS compilation skipped');
return callback(false);
}
var scriptPath = path.join(__dirname, '..');
var result = uglify.minify(scripts.map(function (script) {
return path.join(scriptPath, script);
}));
fs.writeFile(path.join(__dirname, '../public/nodebb.min.js'), result.code, callback);
fs.writeFile(path.join(__dirname, '../public/installer.min.js'), result.code, callback);
}
module.exports = web;
module.exports = web;

161
loader.js
View File

@@ -1,37 +1,30 @@
'use strict';
var nconf = require('nconf'),
fs = require('fs'),
url = require('url'),
path = require('path'),
fork = require('child_process').fork,
var nconf = require('nconf');
var fs = require('fs');
var url = require('url');
var path = require('path');
var fork = require('child_process').fork;
var async = require('async');
var logrotate = require('logrotate-stream');
async = require('async'),
logrotate = require('logrotate-stream'),
file = require('./src/file'),
pkg = require('./package.json');
var file = require('./src/file');
var pkg = require('./package.json');
nconf.argv().env().file({
file: path.join(__dirname, '/config.json')
file: path.join(__dirname, 'config.json'),
});
var pidFilePath = __dirname + '/pidfile',
output = logrotate({ file: __dirname + '/logs/output.log', size: '1m', keep: 3, compress: true }),
silent = nconf.get('silent') === 'false' ? false : nconf.get('silent') !== false,
numProcs,
workers = [],
Loader = {
timesStarted: 0,
js: {
target: {}
},
css: {
cache: undefined,
acpCache: undefined
},
templatesCompiled: false
};
var pidFilePath = path.join(__dirname, 'pidfile');
var outputLogFilePath = path.join(__dirname, 'logs/output.log');
var output = logrotate({ file: outputLogFilePath, size: '1m', keep: 3, compress: true });
var silent = nconf.get('silent') === 'false' ? false : nconf.get('silent') !== false;
var numProcs;
var workers = [];
var Loader = {
timesStarted: 0,
};
var appPath = path.join(__dirname, 'app.js');
Loader.init = function (callback) {
if (silent) {
@@ -58,11 +51,10 @@ Loader.displayStartupMessages = function (callback) {
};
Loader.addWorkerEvents = function (worker) {
worker.on('exit', function (code, signal) {
if (code !== 0) {
if (Loader.timesStarted < numProcs * 3) {
Loader.timesStarted++;
Loader.timesStarted += 1;
if (Loader.crashTimer) {
clearTimeout(Loader.crashTimer);
}
@@ -70,7 +62,7 @@ Loader.addWorkerEvents = function (worker) {
Loader.timesStarted = 0;
}, 10000);
} else {
console.log(numProcs * 3 + ' restarts in 10 seconds, most likely an error on startup. Halting.');
console.log((numProcs * 3) + ' restarts in 10 seconds, most likely an error on startup. Halting.');
process.exit();
}
}
@@ -86,62 +78,13 @@ Loader.addWorkerEvents = function (worker) {
worker.on('message', function (message) {
if (message && typeof message === 'object' && message.action) {
switch (message.action) {
case 'ready':
if (Loader.js.target['nodebb.min.js'] && Loader.js.target['acp.min.js'] && !worker.isPrimary) {
worker.send({
action: 'js-propagate',
data: Loader.js.target
});
}
if (Loader.css.cache && !worker.isPrimary) {
worker.send({
action: 'css-propagate',
cache: Loader.css.cache,
acpCache: Loader.css.acpCache
});
}
if (Loader.templatesCompiled && !worker.isPrimary) {
worker.send({
action: 'templates:compiled'
});
}
case 'restart':
console.log('[cluster] Restarting...');
Loader.restart();
break;
case 'restart':
console.log('[cluster] Restarting...');
Loader.restart();
break;
case 'reload':
console.log('[cluster] Reloading...');
Loader.reload();
break;
case 'js-propagate':
Loader.js.target = message.data;
Loader.notifyWorkers({
action: 'js-propagate',
data: message.data
}, worker.pid);
break;
case 'css-propagate':
Loader.css.cache = message.cache;
Loader.css.acpCache = message.acpCache;
Loader.notifyWorkers({
action: 'css-propagate',
cache: message.cache,
acpCache: message.acpCache
}, worker.pid);
break;
case 'templates:compiled':
Loader.templatesCompiled = true;
Loader.notifyWorkers({
action: 'templates:compiled',
}, worker.pid);
case 'reload':
console.log('[cluster] Reloading...');
Loader.reload();
break;
}
}
@@ -152,7 +95,7 @@ Loader.start = function (callback) {
numProcs = getPorts().length;
console.log('Clustering enabled: Spinning up ' + numProcs + ' process(es).\n');
for (var x = 0; x < numProcs; ++x) {
for (var x = 0; x < numProcs; x += 1) {
forkWorker(x, x === 0);
}
@@ -163,18 +106,19 @@ Loader.start = function (callback) {
function forkWorker(index, isPrimary) {
var ports = getPorts();
var args = [];
if(!ports[index]) {
if (!ports[index]) {
return console.log('[cluster] invalid port for worker : ' + index + ' ports: ' + ports.length);
}
process.env.isPrimary = isPrimary;
process.env.isCluster = ports.length > 1 ? true : false;
process.env.isCluster = ports.length > 1;
process.env.port = ports[index];
var worker = fork('app.js', [], {
var worker = fork(appPath, args, {
silent: silent,
env: process.env
env: process.env,
});
worker.index = index;
@@ -185,7 +129,7 @@ function forkWorker(index, isPrimary) {
Loader.addWorkerEvents(worker);
if (silent) {
var output = logrotate({ file: __dirname + '/logs/output.log', size: '1m', keep: 3, compress: true });
var output = logrotate({ file: outputLogFilePath, size: '1m', keep: 3, compress: true });
worker.stdout.pipe(output);
worker.stderr.pipe(output);
}
@@ -198,7 +142,7 @@ function getPorts() {
process.exit();
}
var urlObject = url.parse(_url);
var port = nconf.get('port') || nconf.get('PORT') || urlObject.port || 4567;
var port = nconf.get('port') || urlObject.port || 4567;
if (!Array.isArray(port)) {
port = [port];
}
@@ -207,15 +151,31 @@ function getPorts() {
Loader.restart = function () {
killWorkers();
var pathToConfig = path.join(__dirname, '/config.json');
nconf.remove('file');
nconf.use('file', { file: path.join(__dirname, '/config.json') });
Loader.start();
nconf.use('file', { file: pathToConfig });
fs.readFile(pathToConfig, { encoding: 'utf-8' }, function (err, configFile) {
if (err) {
console.log('Error reading config : ' + err.message);
process.exit();
}
var conf = JSON.parse(configFile);
nconf.stores.env.readOnly = false;
nconf.set('url', conf.url);
nconf.stores.env.readOnly = true;
Loader.start();
});
};
Loader.reload = function () {
workers.forEach(function (worker) {
worker.send({
action: 'reload'
action: 'reload',
});
});
};
@@ -224,7 +184,7 @@ Loader.stop = function () {
killWorkers();
// Clean up the pidfile
fs.unlinkSync(__dirname + '/pidfile');
fs.unlinkSync(pidFilePath);
};
function killWorkers() {
@@ -262,16 +222,17 @@ fs.open(path.join(__dirname, 'config.json'), 'r', function (err) {
require('daemon')({
stdout: process.stdout,
stderr: process.stderr
stderr: process.stderr,
cwd: process.cwd(),
});
fs.writeFile(__dirname + '/pidfile', process.pid);
fs.writeFileSync(pidFilePath, process.pid);
}
async.series([
Loader.init,
Loader.displayStartupMessages,
Loader.start
Loader.start,
], function (err) {
if (err) {
console.log('[loader] Error during startup: ' + err.message);
@@ -279,6 +240,6 @@ fs.open(path.join(__dirname, 'config.json'), 'r', function (err) {
});
} else {
// No config detected, kickstart web installer
var child = require('child_process').fork('app');
require('child_process').fork('app');
}
});

View File

@@ -1,81 +0,0 @@
"use strict";
var uglifyjs = require('uglify-js');
var async = require('async');
var fs = require('fs');
var file = require('./src/file');
var Minifier = {
js: {}
};
/* Javascript */
Minifier.js.minify = function (scripts, minify, callback) {
scripts = scripts.filter(function (file) {
return file && file.endsWith('.js');
});
async.filter(scripts, function (script, next) {
file.exists(script, function (exists) {
if (!exists) {
console.warn('[minifier] file not found, ' + script);
}
next(exists);
});
}, function (scripts) {
if (minify) {
minifyScripts(scripts, callback);
} else {
concatenateScripts(scripts, callback);
}
});
};
process.on('message', function (payload) {
switch(payload.action) {
case 'js':
Minifier.js.minify(payload.scripts, payload.minify, function (minified/*, sourceMap*/) {
process.send({
type: 'end',
// sourceMap: sourceMap,
minified: minified
});
});
break;
}
});
function minifyScripts(scripts, callback) {
// The portions of code involving the source map are commented out as they're broken in UglifyJS2
// Follow along here: https://github.com/mishoo/UglifyJS2/issues/700
try {
var minified = uglifyjs.minify(scripts, {
// outSourceMap: "nodebb.min.js.map",
compress: false
});
callback(minified.code/*, minified.map*/);
} catch(err) {
process.send({
type: 'error',
message: err.message
});
}
}
function concatenateScripts(scripts, callback) {
async.map(scripts, fs.readFile, function (err, scripts) {
if (err) {
process.send({
type: 'error',
message: err.message
});
return;
}
scripts = scripts.join(require('os').EOL + ';');
callback(scripts);
});
}

856
nodebb
View File

@@ -1,419 +1,539 @@
#!/usr/bin/env node
try {
var colors = require('colors'),
cproc = require('child_process'),
argv = require('minimist')(process.argv.slice(2)),
fs = require('fs'),
path = require('path'),
request = require('request'),
semver = require('semver'),
prompt = require('prompt'),
async = require('async');
} catch (e) {
if (e.code === 'MODULE_NOT_FOUND') {
process.stdout.write('NodeBB could not be started because it\'s dependencies have not been installed.\n');
process.stdout.write('Please ensure that you have executed "npm install --production" prior to running NodeBB.\n\n');
process.stdout.write('For more information, please see: https://docs.nodebb.org/en/latest/installing/os.html\n\n');
process.stdout.write('Could not start: ' + e.code + '\n');
'use strict';
process.exit(1);
var fs = require('fs');
var path = require('path');
var cproc = require('child_process');
// check to make sure dependencies are installed
try {
fs.readFileSync(path.join(__dirname, 'node_modules/async/package.json'));
} catch (e) {
if (e.code === 'ENOENT') {
process.stdout.write('Dependencies not yet installed.\n');
process.stdout.write('Installing them now...\n\n');
cproc.execSync('npm i --production', {
cwd: __dirname,
stdio: [0, 1, 2],
});
} else {
throw e;
}
}
var getRunningPid = function (callback) {
fs.readFile(__dirname + '/pidfile', {
encoding: 'utf-8'
}, function (err, pid) {
if (err) {
return callback(err);
var minimist;
var request;
var semver;
var prompt;
var async;
try {
require('colors');
minimist = require('minimist');
request = require('request');
semver = require('semver');
prompt = require('prompt');
async = require('async');
} catch (e) {
process.stdout.write(
'\x1b[31mNodeBB could not be initialised because there was an error while loading dependencies.\n' +
'Please run "\x1b[33mnpm install --production\x1b[31m" and try again.\x1b[0m\n\n' +
'For more information, please see: https://docs.nodebb.org/en/latest/installing/os.html\n\n'
);
throw e;
}
var args = minimist(process.argv.slice(2));
var loaderPath = path.join(__dirname, 'loader.js');
var appPath = path.join(__dirname, 'app.js');
if (args.dev) {
process.env.NODE_ENV = 'development';
}
function getRunningPid(callback) {
fs.readFile(path.join(__dirname, 'pidfile'), {
encoding: 'utf-8',
}, function (err, pid) {
if (err) {
return callback(err);
}
try {
process.kill(parseInt(pid, 10), 0);
callback(null, parseInt(pid, 10));
} catch (e) {
callback(e);
}
});
}
function getCurrentVersion(callback) {
fs.readFile(path.join(__dirname, 'package.json'), { encoding: 'utf-8' }, function (err, pkg) {
if (err) {
return callback(err);
}
try {
pkg = JSON.parse(pkg);
return callback(null, pkg.version);
} catch (err) {
return callback(err);
}
});
}
function fork(args) {
return cproc.fork(appPath, args, {
cwd: __dirname,
silent: false,
});
}
function getInstalledPlugins(callback) {
async.parallel({
files: async.apply(fs.readdir, path.join(__dirname, 'node_modules')),
deps: async.apply(fs.readFile, path.join(__dirname, 'package.json'), { encoding: 'utf-8' }),
}, function (err, payload) {
if (err) {
return callback(err);
}
var isNbbModule = /^nodebb-(?:plugin|theme|widget|rewards)-[\w-]+$/;
var moduleName;
var isGitRepo;
payload.files = payload.files.filter(function (file) {
return isNbbModule.test(file);
});
try {
payload.deps = JSON.parse(payload.deps).dependencies;
payload.bundled = [];
payload.installed = [];
} catch (err) {
return callback(err);
}
for (moduleName in payload.deps) {
if (isNbbModule.test(moduleName)) {
payload.bundled.push(moduleName);
}
}
// Whittle down deps to send back only extraneously installed plugins/themes/etc
payload.files.forEach(function (moduleName) {
try {
fs.accessSync(path.join(__dirname, 'node_modules/' + moduleName, '.git'));
isGitRepo = true;
} catch (e) {
isGitRepo = false;
}
try {
process.kill(parseInt(pid, 10), 0);
callback(null, parseInt(pid, 10));
} catch(e) {
callback(e);
if (
payload.files.indexOf(moduleName) !== -1 && // found in `node_modules/`
payload.bundled.indexOf(moduleName) === -1 && // not found in `package.json`
!fs.lstatSync(path.join(__dirname, 'node_modules/' + moduleName)).isSymbolicLink() && // is not a symlink
!isGitRepo // .git/ does not exist, so it is not a git repository
) {
payload.installed.push(moduleName);
}
});
},
getCurrentVersion = function (callback) {
fs.readFile(path.join(__dirname, 'package.json'), { encoding: 'utf-8' }, function (err, pkg) {
getModuleVersions(payload.installed, callback);
});
}
function getModuleVersions(modules, callback) {
var versionHash = {};
async.eachLimit(modules, 50, function (module, next) {
fs.readFile(path.join(__dirname, 'node_modules/' + module + '/package.json'), { encoding: 'utf-8' }, function (err, pkg) {
if (err) {
return callback(err);
return next(err);
}
try {
pkg = JSON.parse(pkg);
return callback(null, pkg.version);
} catch(err) {
return callback(err);
}
});
},
fork = function (args) {
cproc.fork('app.js', args, {
cwd: __dirname,
silent: false
});
},
getInstalledPlugins = function (callback) {
async.parallel({
files: async.apply(fs.readdir, path.join(__dirname, 'node_modules')),
deps: async.apply(fs.readFile, path.join(__dirname, 'package.json'), { encoding: 'utf-8' })
}, function (err, payload) {
if (err) {
return callback(err);
}
var isNbbModule = /^nodebb-(?:plugin|theme|widget|rewards)-[\w\-]+$/,
moduleName, isGitRepo;
payload.files = payload.files.filter(function (file) {
return isNbbModule.test(file);
});
try {
payload.deps = JSON.parse(payload.deps).dependencies;
payload.bundled = [];
payload.installed = [];
versionHash[module] = pkg.version;
next();
} catch (err) {
return callback(err);
next(err);
}
for (moduleName in payload.deps) {
if (isNbbModule.test(moduleName)) {
payload.bundled.push(moduleName);
}
}
// Whittle down deps to send back only extraneously installed plugins/themes/etc
payload.files.forEach(function (moduleName) {
try {
fs.accessSync(path.join(__dirname, 'node_modules/' + moduleName, '.git'));
isGitRepo = true;
} catch(e) {
isGitRepo = false;
}
if (
payload.files.indexOf(moduleName) !== -1 // found in `node_modules/`
&& payload.bundled.indexOf(moduleName) === -1 // not found in `package.json`
&& !fs.lstatSync(path.join(__dirname, 'node_modules/' + moduleName)).isSymbolicLink() // is not a symlink
&& !isGitRepo // .git/ does not exist, so it is not a git repository
) {
payload.installed.push(moduleName);
}
});
getModuleVersions(payload.installed, callback);
});
},
getModuleVersions = function (modules, callback) {
var versionHash = {};
}, function (err) {
callback(err, versionHash);
});
}
function checkPlugins(standalone, callback) {
if (standalone) {
process.stdout.write('Checking installed plugins and themes for updates... ');
}
async.eachLimit(modules, 50, function (module, next) {
fs.readFile(path.join(__dirname, 'node_modules/' + module + '/package.json'), { encoding: 'utf-8' }, function (err, pkg) {
async.waterfall([
async.apply(async.parallel, {
plugins: async.apply(getInstalledPlugins),
version: async.apply(getCurrentVersion),
}),
function (payload, next) {
var toCheck = Object.keys(payload.plugins);
if (!toCheck.length) {
process.stdout.write('OK'.green + '\n'.reset);
return next(null, []); // no extraneous plugins installed
}
request({
method: 'GET',
url: 'https://packages.nodebb.org/api/v1/suggest?version=' + payload.version + '&package[]=' + toCheck.join('&package[]='),
json: true,
}, function (err, res, body) {
if (err) {
process.stdout.write('error'.red + '\n'.reset);
return next(err);
}
process.stdout.write('OK'.green + '\n'.reset);
try {
pkg = JSON.parse(pkg);
versionHash[module] = pkg.version;
next();
} catch (err) {
next(err);
if (!Array.isArray(body) && toCheck.length === 1) {
body = [body];
}
var current;
var suggested;
var upgradable = body.map(function (suggestObj) {
current = payload.plugins[suggestObj.package];
suggested = suggestObj.version;
if (suggestObj.code === 'match-found' && semver.gt(suggested, current)) {
return {
name: suggestObj.package,
current: current,
suggested: suggested,
};
}
return null;
}).filter(Boolean);
next(null, upgradable);
});
}, function (err) {
callback(err, versionHash);
});
},
checkPlugins = function (standalone, callback) {
if (standalone) {
process.stdout.write('Checking installed plugins and themes for updates... ');
},
], callback);
}
function upgradePlugins(callback) {
var standalone = false;
if (typeof callback !== 'function') {
callback = function () {};
standalone = true;
}
checkPlugins(standalone, function (err, found) {
if (err) {
process.stdout.write('Warning'.yellow + ': An unexpected error occured when attempting to verify plugin upgradability\n'.reset);
return callback(err);
}
async.waterfall([
async.apply(async.parallel, {
plugins: async.apply(getInstalledPlugins),
version: async.apply(getCurrentVersion)
}),
function (payload, next) {
var toCheck = Object.keys(payload.plugins);
if (!toCheck.length) {
process.stdout.write('OK'.green + '\n'.reset);
return next(null, []); // no extraneous plugins installed
}
request({
method: 'GET',
url: 'https://packages.nodebb.org/api/v1/suggest?version=' + payload.version + '&package[]=' + toCheck.join('&package[]='),
json: true
}, function (err, res, body) {
if (err) {
process.stdout.write('error'.red + '\n'.reset);
return next(err);
}
process.stdout.write('OK'.green + '\n'.reset);
if (!Array.isArray(body) && toCheck.length === 1) {
body = [body];
}
var current, suggested,
upgradable = body.map(function (suggestObj) {
current = payload.plugins[suggestObj.package];
suggested = suggestObj.version;
if (suggestObj.code === 'match-found' && semver.gt(suggested, current)) {
return {
name: suggestObj.package,
current: current,
suggested: suggested
};
} else {
return null;
}
}).filter(Boolean);
next(null, upgradable);
});
if (found && found.length) {
process.stdout.write('\nA total of ' + String(found.length).bold + ' package(s) can be upgraded:\n');
found.forEach(function (suggestObj) {
process.stdout.write(' * '.yellow + suggestObj.name.reset + ' (' + suggestObj.current.yellow + ' -> '.reset + suggestObj.suggested.green + ')\n'.reset);
});
process.stdout.write('\n');
} else {
if (standalone) {
process.stdout.write('\nAll packages up-to-date!'.green + '\n'.reset);
}
], callback);
},
upgradePlugins = function (callback) {
var standalone = false;
if (typeof callback !== 'function') {
callback = function () {};
standalone = true;
};
return callback();
}
checkPlugins(standalone, function (err, found) {
prompt.message = '';
prompt.delimiter = '';
prompt.start();
prompt.get({
name: 'upgrade',
description: 'Proceed with upgrade (y|n)?'.reset,
type: 'string',
}, function (err, result) {
if (err) {
process.stdout.write('\Warning'.yellow + ': An unexpected error occured when attempting to verify plugin upgradability\n'.reset);
return callback(err);
}
if (found && found.length) {
process.stdout.write('\nA total of ' + String(found.length).bold + ' package(s) can be upgraded:\n');
if (['y', 'Y', 'yes', 'YES'].indexOf(result.upgrade) !== -1) {
process.stdout.write('\nUpgrading packages...');
var args = ['i'];
found.forEach(function (suggestObj) {
process.stdout.write(' * '.yellow + suggestObj.name.reset + ' (' + suggestObj.current.yellow + ' -> '.reset + suggestObj.suggested.green + ')\n'.reset);
args.push(suggestObj.name + '@' + suggestObj.suggested);
});
cproc.execFile((process.platform === 'win32') ? 'npm.cmd' : 'npm', args, { stdio: 'ignore' }, function (err) {
if (!err) {
process.stdout.write(' OK\n'.green);
}
callback(err);
});
process.stdout.write('\n');
} else {
if (standalone) {
process.stdout.write('\nAll packages up-to-date!'.green + '\n'.reset);
}
return callback();
process.stdout.write('\nPackage upgrades skipped'.yellow + '. Check for upgrades at any time by running "'.reset + './nodebb upgrade-plugins'.green + '".\n'.reset);
callback();
}
});
});
}
prompt.message = '';
prompt.delimiter = '';
prompt.start();
prompt.get({
name: 'upgrade',
description: 'Proceed with upgrade (y|n)?'.reset,
type: 'string'
}, function (err, result) {
if (err) {
return callback(err);
}
if (['y', 'Y', 'yes', 'YES'].indexOf(result.upgrade) !== -1) {
process.stdout.write('\nUpgrading packages...');
var args = ['npm', 'i'];
found.forEach(function (suggestObj) {
args.push(suggestObj.name + '@' + suggestObj.suggested);
});
require('child_process').execFile('/usr/bin/env', args, { stdio: 'ignore' }, function (err) {
if (!err) {
process.stdout.write(' OK\n'.green);
}
callback(err);
});
var commands = {
status: {
description: 'View the status of the NodeBB server',
usage: 'Usage: ' + './nodebb status'.yellow,
handler: function () {
getRunningPid(function (err, pid) {
if (!err) {
process.stdout.write('\nNodeBB Running '.bold + '(pid '.cyan + pid.toString().cyan + ')\n'.cyan);
process.stdout.write('\t"' + './nodebb stop'.yellow + '" to stop the NodeBB server\n');
process.stdout.write('\t"' + './nodebb log'.yellow + '" to view server output\n');
process.stdout.write('\t"' + './nodebb restart'.yellow + '" to restart NodeBB\n\n');
} else {
process.stdout.write('\nPackage upgrades skipped'.yellow + '. Check for upgrades at any time by running "'.reset + './nodebb upgrade-plugins'.green + '".\n'.reset);
callback();
process.stdout.write('\nNodeBB is not running\n'.bold);
process.stdout.write('\t"' + './nodebb start'.yellow + '" to launch the NodeBB server\n\n'.reset);
}
});
});
};
},
},
start: {
description: 'Start the NodeBB server',
usage: 'Usage: ' + './nodebb start'.yellow,
handler: function () {
process.stdout.write('\nStarting NodeBB\n'.bold);
process.stdout.write(' "' + './nodebb stop'.yellow + '" to stop the NodeBB server\n');
process.stdout.write(' "' + './nodebb log'.yellow + '" to view server output\n');
process.stdout.write(' "' + './nodebb restart'.yellow + '" to restart NodeBB\n\n'.reset);
switch(process.argv[2]) {
case 'status':
getRunningPid(function (err, pid) {
if (!err) {
process.stdout.write('\nNodeBB Running '.bold + '(pid '.cyan + pid.toString().cyan + ')\n'.cyan);
process.stdout.write('\t"' + './nodebb stop'.yellow + '" to stop the NodeBB server\n');
process.stdout.write('\t"' + './nodebb log'.yellow + '" to view server output\n');
process.stdout.write('\t"' + './nodebb restart'.yellow + '" to restart NodeBB\n\n');
} else {
process.stdout.write('\nNodeBB is not running\n'.bold);
process.stdout.write('\t"' + './nodebb start'.yellow + '" to launch the NodeBB server\n\n'.reset);
// Spawn a new NodeBB process
cproc.fork(loaderPath, {
env: process.env,
});
},
},
stop: {
description: 'Stop the NodeBB server',
usage: 'Usage: ' + './nodebb stop'.yellow,
handler: function () {
getRunningPid(function (err, pid) {
if (!err) {
process.kill(pid, 'SIGTERM');
process.stdout.write('Stopping NodeBB. Goodbye!\n');
} else {
process.stdout.write('NodeBB is already stopped.\n');
}
});
},
},
restart: {
description: 'Restart the NodeBB server',
usage: 'Usage: ' + './nodebb restart'.yellow,
handler: function () {
getRunningPid(function (err, pid) {
if (!err) {
process.kill(pid, 'SIGHUP');
process.stdout.write('\nRestarting NodeBB\n'.bold);
} else {
process.stdout.write('NodeBB could not be restarted, as a running instance could not be found.\n');
}
});
},
},
log: {
description: 'Open the output log (useful for debugging)',
usage: 'Usage: ' + './nodebb log'.yellow,
handler: function () {
process.stdout.write('\nHit '.red + 'Ctrl-C '.bold + 'to exit'.red);
process.stdout.write('\n\n'.reset);
cproc.spawn('tail', ['-F', './logs/output.log'], {
cwd: __dirname,
stdio: 'inherit',
});
},
},
slog: {
description: 'Start the NodeBB server and view the live output log',
usage: 'Usage: ' + './nodebb slog'.yellow,
handler: function () {
process.stdout.write('\nStarting NodeBB with logging output\n'.bold);
process.stdout.write('\nHit '.red + 'Ctrl-C '.bold + 'to exit'.red);
process.stdout.write('\n\n'.reset);
// Spawn a new NodeBB process
cproc.fork(loaderPath, {
env: process.env,
});
cproc.spawn('tail', ['-F', './logs/output.log'], {
cwd: __dirname,
stdio: 'inherit',
});
},
},
dev: {
description: 'Start NodeBB in verbose development mode',
usage: 'Usage: ' + './nodebb dev'.yellow,
handler: function () {
process.env.NODE_ENV = 'development';
cproc.fork(loaderPath, ['--no-daemon', '--no-silent'], {
env: process.env,
});
},
},
build: {
description: 'Compile static assets (CSS, Javascript, etc)',
usage: 'Usage: ' + './nodebb build'.yellow + ' [js,clientCSS,acpCSS,tpl,lang]'.red + '\n' +
' e.g. ' + './nodebb build js,tpl'.yellow + '\tbuilds JS and templates\n' +
' ' + './nodebb build'.yellow + '\t\tbuilds all targets\n',
handler: function () {
var arr = ['--build'].concat(process.argv.slice(3));
fork(arr);
},
},
setup: {
description: 'Run the NodeBB setup script',
usage: 'Usage: ' + './nodebb setup'.yellow,
handler: function () {
var arr = ['--setup'].concat(process.argv.slice(3));
fork(arr);
},
},
reset: {
description: 'Disable plugins and restore the default theme',
usage: 'Usage: ' + './nodebb reset '.yellow + '{-t|-p|-w|-s|-a}'.red + '\n' +
' -t <theme>\tuse specified theme\n' +
' -p <plugin>\tdisable specified plugin\n' +
'\n' +
' -t\t\tuse default theme\n' +
' -p\t\tdisable all but core plugins\n' +
' -w\t\twidgets\n' +
' -s\t\tsettings\n' +
' -a\t\tall of the above\n',
handler: function () {
var arr = ['--reset'].concat(process.argv.slice(3));
fork(arr);
},
},
activate: {
description: 'Activate a plugin for the next startup of NodeBB',
usage: 'Usage: ' + './nodebb activate <plugin>'.yellow,
handler: function () {
var name = args._[1];
if (!name) {
process.stdout.write(commands.activate.usage + '\n');
process.exit();
}
});
break;
case 'start':
process.stdout.write('\nStarting NodeBB\n'.bold);
process.stdout.write(' "' + './nodebb stop'.yellow + '" to stop the NodeBB server\n');
process.stdout.write(' "' + './nodebb log'.yellow + '" to view server output\n');
process.stdout.write(' "' + './nodebb restart'.yellow + '" to restart NodeBB\n\n'.reset);
// Spawn a new NodeBB process
cproc.fork(__dirname + '/loader.js', {
env: process.env
});
break;
case 'slog':
process.stdout.write('\nStarting NodeBB with logging output\n'.bold);
process.stdout.write('\nHit '.red + 'Ctrl-C '.bold + 'to exit'.red);
process.stdout.write('\n\n'.reset);
// Spawn a new NodeBB process
cproc.fork(__dirname + '/loader.js', {
env: process.env
});
cproc.spawn('tail', ['-F', './logs/output.log'], {
cwd: __dirname,
stdio: 'inherit'
});
break;
case 'stop':
getRunningPid(function (err, pid) {
if (!err) {
process.kill(pid, 'SIGTERM');
process.stdout.write('Stopping NodeBB. Goodbye!\n');
} else {
process.stdout.write('NodeBB is already stopped.\n');
if (name.startsWith('nodebb-theme')) {
fork(['--reset', '-t', name]);
return;
}
});
break;
var arr = ['--activate=' + name].concat(process.argv.slice(4));
fork(arr);
},
},
plugins: {
description: 'List all installed plugins',
usage: 'Usage: ' + './nodebb plugins'.yellow,
handler: function () {
var arr = ['--plugins'].concat(process.argv.slice(3));
fork(arr);
},
},
upgrade: {
description: 'Run NodeBB upgrade scripts, ensure packages are up-to-date',
usage: 'Usage: ' + './nodebb upgrade'.yellow,
handler: function () {
if (process.argv[3]) {
process.stdout.write('\nUpdating NodeBB data store schema...\n'.yellow);
var arr = ['--upgrade'].concat(process.argv.slice(3));
var upgradeProc = fork(arr);
case 'restart':
getRunningPid(function (err, pid) {
if (!err) {
process.kill(pid, 'SIGHUP');
process.stdout.write('\nRestarting NodeBB\n'.bold);
} else {
process.stdout.write('NodeBB could not be restarted, as a running instance could not be found.\n');
}
});
break;
case 'reload':
getRunningPid(function (err, pid) {
if (!err) {
process.kill(pid, 'SIGUSR2');
} else {
process.stdout.write('NodeBB could not be reloaded, as a running instance could not be found.\n');
}
});
break;
case 'dev':
process.env.NODE_ENV = 'development';
cproc.fork(__dirname + '/loader.js', ['--no-daemon', '--no-silent'], {
env: process.env
});
break;
case 'log':
process.stdout.write('\nHit '.red + 'Ctrl-C '.bold + 'to exit'.red);
process.stdout.write('\n\n'.reset);
cproc.spawn('tail', ['-F', './logs/output.log'], {
cwd: __dirname,
stdio: 'inherit'
});
break;
case 'setup':
cproc.fork('app.js', ['--setup'], {
cwd: __dirname,
silent: false
});
break;
case 'reset':
var args = process.argv.slice(0);
args.unshift('--reset');
fork(args);
break;
case 'activate':
var args = process.argv.slice(0);
args.unshift('--activate=' + process.argv[3]);
fork(args);
break;
case 'plugins':
var args = process.argv.slice(0);
args.unshift('--plugins');
fork(args);
break;
case 'upgrade-plugins':
upgradePlugins();
break;
case 'upgrade':
async.series([
function (next) {
process.stdout.write('1. '.bold + 'Bringing base dependencies up to date... '.yellow);
require('child_process').execFile('/usr/bin/env', ['npm', 'i', '--production'], { stdio: 'ignore' }, next);
},
function (next) {
process.stdout.write('OK\n'.green);
process.stdout.write('2. '.bold + 'Checking installed plugins for updates... '.yellow);
upgradePlugins(next);
},
function (next) {
process.stdout.write('3. '.bold + 'Updating NodeBB data store schema...\n'.yellow);
var upgradeProc = cproc.fork('app.js', ['--upgrade'], {
cwd: __dirname,
silent: false
return upgradeProc.on('close', function (err) {
if (err) {
process.stdout.write('\nError'.red + ': ' + err.message + '\n');
}
});
upgradeProc.on('close', next);
}
], function (err) {
if (err) {
process.stdout.write('\nError'.red + ': ' + err.message + '\n');
} else {
var message = 'NodeBB Upgrade Complete!';
// some consoles will return undefined/zero columns, so just use 2 spaces in upgrade script if we can't get our column count
var columns = process.stdout.columns;
var spaces = columns ? new Array(Math.floor(columns / 2) - (message.length / 2) + 1).join(' ') : " ";
process.stdout.write('OK\n'.green);
process.stdout.write('\n' + spaces + message.green.bold + '\n\n'.reset);
async.series([
function (next) {
process.stdout.write('1. '.bold + 'Bringing base dependencies up to date... '.yellow);
cproc.exec('npm i --production', { cwd: __dirname, stdio: 'ignore' }, next);
},
function (next) {
process.stdout.write('OK\n'.green);
process.stdout.write('2. '.bold + 'Checking installed plugins for updates... '.yellow);
upgradePlugins(next);
},
function (next) {
process.stdout.write('3. '.bold + 'Updating NodeBB data store schema...\n'.yellow);
var arr = ['--upgrade'].concat(process.argv.slice(3));
var upgradeProc = fork(arr);
upgradeProc.on('close', next);
},
], function (err) {
if (err) {
process.stdout.write('\nError'.red + ': ' + err.message + '\n');
} else {
var message = 'NodeBB Upgrade Complete!';
// some consoles will return undefined/zero columns, so just use 2 spaces in upgrade script if we can't get our column count
var columns = process.stdout.columns;
var spaces = columns ? new Array(Math.floor(columns / 2) - (message.length / 2) + 1).join(' ') : ' ';
process.stdout.write('OK\n'.green);
process.stdout.write('\n' + spaces + message.green.bold + '\n\n'.reset);
}
});
},
},
upgradePlugins: {
hidden: true,
description: '',
handler: function () {
upgradePlugins();
},
},
events: {
description: 'Outputs the last ten (10) administrative events recorded by NodeBB',
usage: 'Usage: ' + './nodebb events'.yellow,
handler: function () {
fork(['--events']);
},
},
help: {
description: 'Display the help message for a given command',
usage: 'Usage: ' + './nodebb help <command>'.yellow,
handler: function () {
var command = commands[args._[1]];
if (command) {
process.stdout.write(command.description + '\n'.reset);
process.stdout.write(command.usage + '\n'.reset);
return;
}
});
break;
var keys = Object.keys(commands).filter(function (key) {
return !commands[key].hidden;
});
default:
process.stdout.write('\nWelcome to NodeBB\n\n'.bold);
process.stdout.write('Usage: ./nodebb {start|stop|reload|restart|log|setup|reset|upgrade|dev}\n\n');
process.stdout.write('\t' + 'start'.yellow + '\t\tStart the NodeBB server\n');
process.stdout.write('\t' + 'slog'.yellow + '\t\tStarts the NodeBB server and displays the live output log\n');
process.stdout.write('\t' + 'stop'.yellow + '\t\tStops the NodeBB server\n');
process.stdout.write('\t' + 'reload'.yellow + '\t\tRestarts NodeBB\n');
process.stdout.write('\t' + 'restart'.yellow + '\t\tRestarts NodeBB\n');
process.stdout.write('\t' + 'log'.yellow + '\t\tOpens the logging interface (useful for debugging)\n');
process.stdout.write('\t' + 'setup'.yellow + '\t\tRuns the NodeBB setup script\n');
process.stdout.write('\t' + 'reset'.yellow + '\t\tDisables all plugins, restores the default theme.\n');
process.stdout.write('\t' + 'activate'.yellow + '\tActivates a plugin for the next startup of NodeBB.\n');
process.stdout.write('\t' + 'plugins'.yellow + '\t\tList all plugins that have been installed.\n');
process.stdout.write('\t' + 'upgrade'.yellow + '\t\tRun NodeBB upgrade scripts, ensure packages are up-to-date\n');
process.stdout.write('\t' + 'dev'.yellow + '\t\tStart NodeBB in interactive development mode\n');
process.stdout.write('\n'.reset);
break;
process.stdout.write('\nWelcome to NodeBB\n\n'.bold);
process.stdout.write('Usage: ./nodebb {' + keys.join('|') + '}\n\n');
var usage = keys.map(function (key) {
var line = '\t' + key.yellow + (key.length < 8 ? '\t\t' : '\t');
return line + commands[key].description;
}).join('\n');
process.stdout.write(usage + '\n'.reset);
},
},
};
commands['upgrade-plugins'] = commands.upgradePlugins;
if (!commands[args._[0]]) {
commands.help.handler();
} else {
commands[args._[0]].handler();
}

View File

@@ -1,122 +1 @@
@echo off
rem %1 action
rem %2 subaction
setlocal enabledelayedexpansion
2>nul call :CASE_%1
if ERRORLEVEL 1 call :DEFAULT_CASE
exit /B
:CASE_start
echo Starting NodeBB
echo "nodebb.bat stop" to stop the NodeBB server
echo "nodebb.bat log" to view server output
rem Start the loader daemon
node loader %*
goto END_CASE
:CASE_stop
call :pidexists
if %_result%==0 (
echo NodeBB is already stopped.
) else (
echo Stopping NodeBB. Goodbye!
rem Doing this forcefully is probably not the best method
taskkill /PID !_pid! /f>nul
)
goto END_CASE
:CASE_restart
echo Unsupported
goto END_CASE
:CASE_reload
echo Unsupported
goto END_CASE
:CASE_status
call :pidexists
if %_result%==0 (
echo NodeBB is not running
echo "nodebb.bat start" to launch the NodeBB server
) else (
echo NodeBB Running ^(pid !_pid!^)
echo "nodebb.bat stop" to stop the NodeBB server
echo "nodebb.bat log" to view server output
echo "nodebb.bat restart" to restart NodeBB
)
goto END_CASE
:CASE_log
cls
type .\logs\output.log
goto END_CASE
:CASE_upgrade
call npm install
call npm i nodebb-theme-vanilla nodebb-theme-lavender nodebb-widget-essentials
node app --upgrade
copy /b package.json +,,>nul
goto END_CASE
:CASE_setup
node app --setup %*
goto END_CASE
:CASE_reset
node app --reset --%2
goto END_CASE
:CASE_dev
echo Launching NodeBB in "development" mode.
echo To run the production build of NodeBB, please use "forever".
echo More Information: https://docs.nodebb.org/en/latest/running/index.html
set NODE_ENV=development
node loader --no-daemon %*
goto END_CASE
:CASE_watch
echo Not supported
goto END_CASE
:DEFAULT_CASE
echo Welcome to NodeBB
echo Usage: nodebb.bat ^{start^|stop^|reload^|restart^|log^|setup^|reset^|upgrade^|dev^|watch^}
goto END_CASE
:END_CASE
endlocal
VER > NUL
goto :EOF
:pidexists
if exist %~dp0pidfile (
set /p _pid=<pidfile
for /f "usebackq" %%Z in (`tasklist /nh /fi "PID eq !_pid!"`) do (
if %%Z==INFO: (
del pidfile
set _result=0
) else (
set _result=1
)
)
) else (
set _result=0
)
node ./nodebb %*

View File

@@ -2,7 +2,7 @@
"name": "nodebb",
"license": "GPL-3.0",
"description": "NodeBB Forum",
"version": "1.3.0",
"version": "1.5.3",
"homepage": "http://www.nodebb.org",
"repository": {
"type": "git",
@@ -11,101 +11,105 @@
"main": "app.js",
"scripts": {
"start": "node loader.js",
"lint": "eslint --cache .",
"lint": "eslint --cache ./nodebb .",
"pretest": "npm run lint",
"test": "istanbul cover _mocha test",
"coveralls": "istanbul cover _mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
"test-windows": "_mocha test"
"test": "istanbul cover node_modules/mocha/bin/_mocha -- -R dot",
"coveralls": "istanbul cover _mocha --report lcovonly -- -R dot && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
},
"dependencies": {
"async": "~1.5.0",
"autoprefixer": "^6.2.3",
"bcryptjs": "~2.3.0",
"ace-builds": "^1.2.6",
"async": "2.4.1",
"autoprefixer": "7.1.1",
"bcryptjs": "2.4.3",
"body-parser": "^1.9.0",
"chart.js": "^2.1.0",
"bootstrap": "^3.3.7",
"chart.js": "^2.4.0",
"colors": "^1.1.0",
"compression": "^1.1.0",
"connect-ensure-login": "^0.1.1",
"connect-flash": "^0.1.1",
"connect-mongo": "1.3.2",
"connect-multiparty": "^2.0.0",
"connect-redis": "~3.1.0",
"connect-redis": "3.3.0",
"cookie-parser": "^1.3.3",
"cron": "^1.0.5",
"cropperjs": "^0.8.1",
"csurf": "^1.6.1",
"daemon": "~1.1.0",
"express": "^4.14.0",
"express-session": "^1.8.2",
"express-useragent": "1.0.4",
"html-to-text": "2.1.3",
"ip": "1.1.3",
"jimp": "0.2.27",
"express-useragent": "1.0.7",
"html-to-text": "3.3.0",
"ip": "1.1.5",
"jimp": "0.2.28",
"jquery": "^3.1.0",
"json-2-csv": "^2.0.22",
"less": "^2.0.0",
"lodash": "^4.17.4",
"logrotate-stream": "^0.2.3",
"lru-cache": "4.0.1",
"lru-cache": "4.0.2",
"mime": "^1.3.4",
"minimist": "^1.1.1",
"mkdirp": "~0.5.0",
"mongodb": "2.2.10",
"mongodb": "2.2.27",
"morgan": "^1.3.2",
"mousetrap": "^1.5.3",
"nconf": "~0.8.2",
"nodebb-plugin-composer-default": "4.2.13",
"nodebb-plugin-dbsearch": "1.0.3",
"nodebb-plugin-composer-default": "5.0.5",
"nodebb-plugin-dbsearch": "2.0.6",
"nodebb-plugin-emoji-extended": "1.1.1",
"nodebb-plugin-emoji-one": "1.1.5",
"nodebb-plugin-markdown": "6.0.2",
"nodebb-plugin-mentions": "1.1.3",
"nodebb-plugin-soundpack-default": "0.1.6",
"nodebb-plugin-spam-be-gone": "0.4.10",
"nodebb-plugin-emoji-one": "1.2.1",
"nodebb-plugin-markdown": "8.0.3",
"nodebb-plugin-mentions": "2.1.5",
"nodebb-plugin-soundpack-default": "1.0.0",
"nodebb-plugin-spam-be-gone": "0.5.0",
"nodebb-rewards-essentials": "0.0.9",
"nodebb-theme-lavender": "3.0.15",
"nodebb-theme-persona": "4.1.86",
"nodebb-theme-vanilla": "5.1.56",
"nodebb-widget-essentials": "2.0.13",
"nodebb-theme-lavender": "4.0.5",
"nodebb-theme-persona": "5.0.16",
"nodebb-theme-slick": "1.1.0",
"nodebb-theme-vanilla": "6.0.13",
"nodebb-widget-essentials": "3.0.1",
"nodemailer": "2.6.4",
"nodemailer-sendmail-transport": "1.0.0",
"nodemailer-smtp-transport": "^2.4.1",
"passport": "^0.3.0",
"passport-local": "1.0.0",
"postcss": "^5.0.13",
"postcss-clean": "^1.0.0",
"postcss": "6.0.1",
"postcss-clean": "1.0.2",
"promise-polyfill": "^6.0.2",
"prompt": "^1.0.0",
"redis": "~2.6.2",
"request": "^2.44.0",
"rimraf": "~2.5.0",
"redis": "2.7.1",
"request": "2.81.0",
"rimraf": "2.6.1",
"rss": "^1.0.0",
"sanitize-html": "^1.13.0",
"semver": "^5.1.0",
"serve-favicon": "^2.1.5",
"sitemap": "^1.4.0",
"socket.io": "^1.4.8",
"socket.io-client": "^1.4.0",
"socket.io-redis": "1.1.1",
"socketio-wildcard": "~0.3.0",
"socket.io": "2.0.1",
"socket.io-client": "2.0.1",
"socket.io-redis": "5.0.1",
"socketio-wildcard": "2.0.0",
"string": "^3.0.0",
"templates.js": "0.3.4",
"templates.js": "0.3.11",
"toobusy-js": "^0.5.1",
"uglify-js": "^2.6.0",
"underscore": "^1.8.3",
"underscore.deep": "^0.5.1",
"validator": "^6.1.0",
"uglify-js": "^3.0.11",
"validator": "7.0.0",
"winston": "^2.1.0",
"xregexp": "~3.1.0"
"xml": "^1.0.1",
"xregexp": "3.2.0",
"zxcvbn": "^4.4.2"
},
"devDependencies": {
"coveralls": "^2.11.14",
"eslint": "^3.7.1",
"eslint-config-airbnb": "^12.0.0",
"eslint-plugin-import": "^1.16.0",
"eslint-plugin-jsx-a11y": "^2.2.3",
"eslint-plugin-react": "^6.4.1",
"grunt": "~0.4.5",
"eslint": "^3.12.0",
"eslint-config-airbnb-base": "^11.1.0",
"eslint-plugin-import": "^2.2.0",
"grunt": "~1.0.0",
"grunt-contrib-watch": "^1.0.0",
"istanbul": "^0.4.2",
"mocha": "~3.1.0",
"jsdom": "9.12.0",
"mocha": "~3.2.0",
"mocha-lcov-reporter": "^1.2.0",
"xmlhttprequest": "1.8.0",
"xmlhttprequest-ssl": "1.5.3"
@@ -133,4 +137,4 @@
"url": "https://github.com/barisusakli"
}
]
}
}

58
public/.eslintrc Normal file
View File

@@ -0,0 +1,58 @@
{
"globals": {
"app": true,
"io": true,
"socket": true,
"ajaxify": true,
"config": true,
"RELATIVE_PATH": true,
"utils": true,
"overrides": true,
"componentHandler": true,
"bootbox": true,
"templates": true,
"Visibility": true,
"Tinycon": true,
"Promise": true
},
"env": {
"jquery": true,
"amd": true,
"browser": true,
"es6": false
},
"rules": {
"no-dupe-class-members": "off",
"no-var": "off",
"object-shorthand": "off",
"prefer-arrow-callback": "off",
"prefer-spread": "off",
"prefer-reflect": "off",
"prefer-template": "off"
},
"parserOptions": {
"ecmaVersion": 5,
"ecmaFeatures": {
"arrowFunctions": false,
"classes": false,
"defaultParams": false,
"destructuring": false,
"experimentalObjectRestSpread": false,
"blockBindings": false,
"forOf": false,
"generators": false,
"globalReturn": false,
"jsx": false,
"modules": false,
"objectLiteralComputedProperties": false,
"objectLiteralDuplicateProperties": false,
"objectLiteralShorthandMethods": false,
"objectLiteralShorthandProperties": false,
"impliedStrict": false,
"restParams": false,
"spread": false,
"superInFunctions": false,
"templateStrings": false
}
}
}

84
public/.jshintrc Normal file
View File

@@ -0,0 +1,84 @@
{
"maxerr" : 50, // {int} Maximum error before stopping
// Enforcing
"bitwise" : true, // true: Prohibit bitwise operators (&, |, ^, etc.)
"camelcase" : false, // true: Identifiers must be in camelCase
"curly" : true, // true: Require {} for every new block or scope
"eqeqeq" : true, // true: Require triple equals (===) for comparison
"forin" : true, // true: Require filtering for..in loops with obj.hasOwnProperty()
"immed" : false, // true: Require immediate invocations to be wrapped in parens e.g. `(function () { } ());`
"indent" : 4, // {int} Number of spaces to use for indentation
"latedef" : false, // true: Require variables/functions to be defined before being used
"newcap" : false, // true: Require capitalization of all constructor functions e.g. `new F()`
"noarg" : true, // true: Prohibit use of `arguments.caller` and `arguments.callee`
"noempty" : true, // true: Prohibit use of empty blocks
"nonew" : false, // true: Prohibit use of constructors for side-effects (without assignment)
"plusplus" : false, // true: Prohibit use of `++` & `--`
"quotmark" : false, // Quotation mark consistency:
// false : do nothing (default)
// true : ensure whatever is used is consistent
// "single" : require single quotes
// "double" : require double quotes
"undef" : true, // true: Require all non-global variables to be declared (prevents global leaks)
"unused" : true, // true: Require all defined variables be used
"strict" : true, // true: Requires all functions run in ES5 Strict Mode
"trailing" : false, // true: Prohibit trailing whitespaces
"maxparams" : false, // {int} Max number of formal params allowed per function
"maxdepth" : false, // {int} Max depth of nested blocks (within functions)
"maxstatements" : false, // {int} Max number statements per function
"maxcomplexity" : false, // {int} Max cyclomatic complexity per function
"maxlen" : false, // {int} Max number of characters per line
// Relaxing
"asi" : false, // true: Tolerate Automatic Semicolon Insertion (no semicolons)
"boss" : false, // true: Tolerate assignments where comparisons would be expected
"debug" : false, // true: Allow debugger statements e.g. browser breakpoints.
"eqnull" : false, // true: Tolerate use of `== null`
"es5" : false, // true: Allow ES5 syntax (ex: getters and setters)
"esnext" : false, // true: Allow ES.next (ES6) syntax (ex: `const`)
"moz" : false, // true: Allow Mozilla specific syntax (extends and overrides esnext features)
// (ex: `for each`, multiple try/catch, function expression…)
"evil" : false, // true: Tolerate use of `eval` and `new Function()`
"expr" : false, // true: Tolerate `ExpressionStatement` as Programs
"funcscope" : false, // true: Tolerate defining variables inside control statements"
"globalstrict" : false, // true: Allow global "use strict" (also enables 'strict')
"iterator" : false, // true: Tolerate using the `__iterator__` property
"lastsemic" : false, // true: Tolerate omitting a semicolon for the last statement of a 1-line block
"laxbreak" : false, // true: Tolerate possibly unsafe line breakings
"laxcomma" : false, // true: Tolerate comma-first style coding
"loopfunc" : false, // true: Tolerate functions being defined in loops
"multistr" : false, // true: Tolerate multi-line strings
"proto" : false, // true: Tolerate using the `__proto__` property
"scripturl" : false, // true: Tolerate script-targeted URLs
"smarttabs" : false, // true: Tolerate mixed tabs/spaces when used for alignment
"shadow" : false, // true: Allows re-define variables later in code e.g. `var x=1; x=2;`
"sub" : false, // true: Tolerate using `[]` notation when it can still be expressed in dot notation
"supernew" : false, // true: Tolerate `new function () { ... };` and `new Object;`
"validthis" : false, // true: Tolerate using this in a non-constructor function
"globals": {
"app": true,
"io": true,
"socket": true,
"ajaxify": true,
"config": true,
"RELATIVE_PATH": true,
"utils": true,
"overrides": true,
"componentHandler": true,
"bootbox": true,
"templates": true,
"Visibility": true,
"Tinycon": true,
"require": true,
"define": true,
"ace": true,
"Sortable": true,
"Slideout": true,
"NProgress": true
},
"jquery": true,
"browser": true
}

View File

@@ -0,0 +1,7 @@
{
"alert.confirm-reload": "Are you sure you wish to reload NodeBB?",
"alert.confirm-restart": "Are you sure you wish to restart NodeBB?",
"acp-title": "%1 | NodeBB Admin Control Panel",
"settings-header-contents": "Contents"
}

View File

@@ -0,0 +1,11 @@
{
"post-cache": "Post Cache",
"posts-in-cache": "Posts in Cache",
"average-post-size": "Average Post Size",
"length-to-max": "Length / Max",
"percent-full": "%1% Full",
"post-cache-size": "Post Cache Size",
"items-in-cache": "Items in Cache",
"control-panel": "Control Panel",
"update-settings": "Update Cache Settings"
}

View File

@@ -0,0 +1,36 @@
{
"x-b": "%1 b",
"x-mb": "%1 mb",
"x-gb": "%1 gb",
"uptime-seconds": "Uptime in Seconds",
"uptime-days": "Uptime in Days",
"mongo": "Mongo",
"mongo.version": "MongoDB Version",
"mongo.storage-engine": "Storage Engine",
"mongo.collections": "Collections",
"mongo.objects": "Objects",
"mongo.avg-object-size": "Avg. Object Size",
"mongo.data-size": "Data Size",
"mongo.storage-size": "Storage Size",
"mongo.index-size": "Index Size",
"mongo.file-size": "File Size",
"mongo.resident-memory": "Resident Memory",
"mongo.virtual-memory": "Virtual Memory",
"mongo.mapped-memory": "Mapped Memory",
"mongo.raw-info": "MongoDB Raw Info",
"redis": "Redis",
"redis.version": "Redis Version",
"redis.connected-clients": "Connected Clients",
"redis.connected-slaves": "Connected Slaves",
"redis.blocked-clients": "Blocked Clients",
"redis.used-memory": "Used Memory",
"redis.memory-frag-ratio": "Memory Fragmentation Ratio",
"redis.total-connections-recieved": "Total Connections Received",
"redis.total-commands-processed": "Total Commands Processed",
"redis.iops": "Instantaneous Ops. Per Second",
"redis.keyspace-hits": "Keyspace Hits",
"redis.keyspace-misses": "Keyspace Misses",
"redis.raw-info": "Redis Raw Info"
}

View File

@@ -0,0 +1,14 @@
{
"figure-x": "Figure %1",
"error-events-per-day": "<code>%1</code> events per day",
"error.404": "404 Not Found",
"error.503": "503 Service Unavailable",
"manage-error-log": "Manage Error Log",
"export-error-log": "Export Error Log (CSV)",
"clear-error-log": "Clear Error Log",
"route": "Route",
"count": "Count",
"no-routes-not-found": "Hooray! No 404 errors!",
"clear404-confirm": "Are you sure you wish to clear the 404 error logs?",
"clear404-success": "\"404 Not Found\" errors cleared"
}

View File

@@ -0,0 +1,6 @@
{
"events": "Events",
"no-events": "There are no events",
"control-panel": "Events Control Panel",
"delete-events": "Delete Events"
}

View File

@@ -0,0 +1,7 @@
{
"logs": "Logs",
"control-panel": "Logs Control Panel",
"reload": "Reload Logs",
"clear": "Clear Logs",
"clear-success": "Logs Cleared!"
}

View File

@@ -0,0 +1,12 @@
{
"custom-css": "Custom CSS",
"custom-css.description": "Enter your own CSS declarations here, which will be applied after all other styles.",
"custom-css.enable": "Enable Custom CSS",
"custom-header": "Custom Header",
"custom-header.description": "Enter custom HTML here (ex. JavaScript, Meta Tags, etc.), which will be appended to the <code>&lt;head&gt;</code> section of your forum's markup.",
"custom-header.enable": "Enable Custom Header",
"custom-css.livereload": "Enable Live Reload",
"custom-css.livereload.description": "Enable this to force all sessions on every device under your account to refresh whenever you click save"
}

View File

@@ -0,0 +1,9 @@
{
"loading": "Loading Skins...",
"homepage": "Homepage",
"select-skin": "Select Skin",
"current-skin": "Current Skin",
"skin-updated": "Skin Updated",
"applied-success": "%1 skin was succesfully applied",
"revert-success": "Skin reverted to base colours"
}

View File

@@ -0,0 +1,11 @@
{
"checking-for-installed": "Checking for installed themes...",
"homepage": "Homepage",
"select-theme": "Select Theme",
"current-theme": "Current Theme",
"no-themes": "No installed themes found",
"revert-confirm": "Are you sure you wish to restore the default NodeBB theme?",
"theme-changed": "Theme Changed",
"revert-success": "You have successfully reverted your NodeBB back to it's default theme.",
"restart-to-activate": "Please restart your NodeBB to fully activate this theme"
}

View File

@@ -0,0 +1,18 @@
{
"you-are-on": "Info - You are on <strong>%1:%2</strong>",
"nodes-responded": "%1 nodes responded within %2ms!",
"host": "host",
"pid": "pid",
"nodejs": "nodejs",
"online": "online",
"git": "git",
"memory": "memory",
"load": "load",
"uptime": "uptime",
"registered": "Registered",
"sockets": "Sockets",
"guests": "Guests",
"info": "Info"
}

View File

@@ -0,0 +1,12 @@
{
"logger-settings": "Logger Settings",
"description": "By enabling the check boxes, you will receive logs to your terminal. If you specify a path, logs will then be saved to a file instead. HTTP logging is useful for collecting statistics about who, when, and what people access on your forum. In addition to logging HTTP requests, we can also log socket.io events. Socket.io logging, in combination with redis-cli monitor, can be very helpful for learning NodeBB's internals.",
"explanation": "Simply check/uncheck the logging settings to enable or disable logging on the fly. No restart needed.",
"enable-http": "Enable HTTP logging",
"enable-socket": "Enable socket.io event logging",
"file-path": "Path to log file",
"file-path-placeholder": "/path/to/log/file.log ::: leave blank to log to your terminal",
"control-panel": "Logger Control Panel",
"update-settings": "Update Logger Settings"
}

View File

@@ -0,0 +1,47 @@
{
"installed": "Installed",
"active": "Active",
"inactive": "Inactive",
"out-of-date": "Out of Date",
"none-found": "No plugins found.",
"none-active": "No Active Plugins",
"find-plugins": "Find Plugins",
"plugin-search": "Plugin Search",
"plugin-search-placeholder": "Search for plugin...",
"reorder-plugins": "Re-order Plugins",
"order-active": "Order Active Plugins",
"dev-interested": "Interested in writing plugins for NodeBB?",
"docs-info": "Full documentation regarding plugin authoring can be found in the <a target=\"_blank\" href=\"https://docs.nodebb.org/development/plugins/\">NodeBB Docs Portal</a>.",
"order.description": "Certain plugins work ideally when they are initialised before/after other plugins.",
"order.explanation": "Plugins load in the order specified here, from top to bottom",
"plugin-item.themes": "Themes",
"plugin-item.deactivate": "Deactivate",
"plugin-item.activate": "Activate",
"plugin-item.install": "Install",
"plugin-item.uninstall": "Uninstall",
"plugin-item.settings": "Settings",
"plugin-item.installed": "Installed",
"plugin-item.latest": "Latest",
"plugin-item.upgrade": "Upgrade",
"plugin-item.more-info": "For more information:",
"plugin-item.unknown": "Unknown",
"plugin-item.unknown-explanation": "The state of this plugin could not be determined, possibly due to a misconfiguration error.",
"alert.enabled": "Plugin Enabled",
"alert.disabled": "Plugin Disabled",
"alert.upgraded": "Plugin Upgraded",
"alert.installed": "Plugin Installed",
"alert.uninstalled": "Plugin Uninstalled",
"alert.activate-success": "Please restart your NodeBB to fully activate this plugin",
"alert.deactivate-success": "Plugin successfully deactivated",
"alert.upgrade-success": "Please reload your NodeBB to fully upgrade this plugin",
"alert.install-success": "Plugin successfully installed, please activate the plugin.",
"alert.uninstall-success": "The plugin has been successfully deactivated and uninstalled.",
"alert.suggest-error": "<p>NodeBB could not reach the package manager, proceed with installation of latest version?</p><div class=\"alert alert-danger\"><strong>Server returned (%1)</strong>: %2</div>",
"alert.package-manager-unreachable": "<p>NodeBB could not reach the package manager, an upgrade is not suggested at this time.</p>",
"alert.incompatible": "<p>Your version of NodeBB (v%1) is only cleared to upgrade to v%2 of this plugin. Please update your NodeBB if you wish to install a newer version of this plugin.</p>",
"alert.possibly-incompatible": "<div class=\"alert alert-warning\"><p><strong>No Compatibility Information Found</strong></p><p>This plugin did not specify a specific version for installation given your NodeBB version. Full compatibility cannot be guaranteed, and may cause your NodeBB to no longer start properly.</p></div><p>In the event that NodeBB cannot boot properly:</p><pre><code>$ ./nodebb reset plugin=\"%1\"</code></pre><p>Continue installation of latest version of this plugin?</p>"
}

View File

@@ -0,0 +1,17 @@
{
"rewards": "Rewards",
"condition-if-users": "If User's",
"condition-is": "Is:",
"condition-then": "Then:",
"max-claims": "Amount of times reward is claimable",
"zero-infinite": "Enter 0 for infinite",
"delete": "Delete",
"enable": "Enable",
"disable": "Disable",
"control-panel": "Rewards Control",
"new-reward": "New Reward",
"alert.delete-success": "Successfully deleted reward",
"alert.no-inputs-found": "Illegal reward - no inputs found!",
"alert.save-success": "Successfully saved rewards"
}

View File

@@ -0,0 +1,19 @@
{
"available": "Available Widgets",
"explanation": "Select a widget from the dropdown menu and then drag and drop it into a template's widget area on the left.",
"none-installed": "No widgets found! Activate the essential widgets plugin in the <a href=\"%1\">plugins</a> control panel.",
"containers.available": "Available Containers",
"containers.explanation": "Drag and drop on top of any active widget",
"containers.none": "None",
"container.well": "Well",
"container.jumbotron": "Jumbotron",
"container.panel": "Panel",
"container.panel-header": "Panel Header",
"container.panel-body": "Panel Body",
"container.alert": "Alert",
"alert.confirm-delete": "Are you sure you wish to delete this widget?",
"alert.updated": "Widgets Updated",
"alert.update-success": "Successfully updated widgets"
}

View File

@@ -0,0 +1,69 @@
{
"forum-traffic": "Forum Traffic",
"page-views": "Page Views",
"unique-visitors": "Unique Visitors",
"users": "Users",
"posts": "Posts",
"topics": "Topics",
"page-views-seven": "Last 7 Days",
"page-views-thirty": "Last 30 Days",
"page-views-last-day": "Last 24 hours",
"page-views-custom": "Custom Date Range",
"page-views-custom-start": "Range Start",
"page-views-custom-end": "Range End",
"page-views-custom-help": "Enter a date range of page views you would like to view. If no date picker is available, the accepted format is <code>YYYY-MM-DD</code>",
"page-views-custom-error": "Please enter a valid date range in the format <code>YYYY-MM-DD</code>",
"stats.day": "Day",
"stats.week": "Week",
"stats.month": "Month",
"stats.all": "All Time",
"updates": "Updates",
"running-version": "You are running <strong>NodeBB v<span id=\"version\">%1</span></strong>.",
"keep-updated": "Always make sure that your NodeBB is up to date for the latest security patches and bug fixes.",
"up-to-date": "<p>You are <strong>up-to-date</strong> <i class=\"fa fa-check\"></i></p>",
"upgrade-available": "<p>A new version (v%1) has been released. Consider <a href=\"https://docs.nodebb.org/configuring/upgrade/\">upgrading your NodeBB</a>.</p>",
"prerelease-upgrade-available": "<p>This is an outdated pre-release version of NodeBB. A new version (v%1) has been released. Consider <a href=\"https://docs.nodebb.org/configuring/upgrade/\">upgrading your NodeBB</a>.</p>",
"prerelease-warning": "<p>This is a <strong>pre-release</strong> version of NodeBB. Unintended bugs may occur. <i class=\"fa fa-exclamation-triangle\"></i></p>",
"running-in-development": "<span>Forum is running in development mode. The forum may be open to potential vulnerabilities; please contact your system administrator.</span>",
"notices": "Notices",
"restart-not-required": "Restart not required",
"restart-required": "Restart required",
"search-plugin-installed": "Search Plugin installed",
"search-plugin-not-installed": "Search Plugin not installed",
"search-plugin-tooltip": "Install a search plugin from the plugin page in order to activate search functionality",
"control-panel": "System Control",
"reload": "Reload",
"restart": "Restart",
"restart-warning": "Reloading or Restarting your NodeBB will drop all existing connections for a few seconds.",
"maintenance-mode": "Maintenance Mode",
"maintenance-mode-title": "Click here to set up maintenance mode for NodeBB",
"realtime-chart-updates": "Realtime Chart Updates",
"active-users": "Active Users",
"active-users.users": "Users",
"active-users.guests": "Guests",
"active-users.total": "Total",
"active-users.connections": "Connections",
"anonymous-registered-users": "Anonymous vs Registered Users",
"anonymous": "Anonymous",
"registered": "Registered",
"user-presence": "User Presence",
"on-categories": "On categories list",
"reading-posts": "Reading posts",
"browsing-topics": "Browsing topics",
"recent": "Recent",
"unread": "Unread",
"high-presence-topics": "High Presence Topics",
"graphs.page-views": "Page Views",
"graphs.unique-visitors": "Unique Visitors",
"graphs.registered-users": "Registered Users",
"graphs.anonymous-users": "Anonymous Users"
}

View File

@@ -0,0 +1,7 @@
{
"home-page": "Home Page",
"description": "Choose what page is shown when users navigate to the root URL of your forum.",
"home-page-route": "Home Page Route",
"custom-route": "Custom Route",
"allow-user-home-pages": "Allow User Home Pages"
}

View File

@@ -0,0 +1,6 @@
{
"language-settings": "Language Settings",
"description": "The default language determines the language settings for all users who are visiting your forum. <br />Individual users can override the default language on their account settings page.",
"default-language": "Default Language",
"auto-detect": "Auto Detect Language Setting for Guests"
}

View File

@@ -0,0 +1,27 @@
{
"icon": "Icon:",
"change-icon": "change",
"route": "Route:",
"tooltip": "Tooltip:",
"text": "Text:",
"text-class": "Text Class: <small>optional</small>",
"id": "ID: <small>optional</small>",
"properties": "Properties:",
"only-admins": "Only display to Admins",
"only-global-mods-and-admins": "Only display to Global Moderators and Admins",
"only-logged-in": "Only display to logged in users",
"open-new-window": "Open in a new window",
"installed-plugins-required": "Installed Plugins Required:",
"search-plugin": "Search plugin",
"btn.delete": "Delete",
"btn.disable": "Disable",
"btn.enable": "Enable",
"available-menu-items": "Available Menu Items",
"custom-route": "Custom Route",
"core": "core",
"plugin": "plugin"
}

View File

@@ -0,0 +1,5 @@
{
"post-sharing": "Post Sharing",
"info-plugins-additional": "Plugins can add additional networks for sharing posts.",
"save-success": "Successfully saved Post Sharing Networks!"
}

View File

@@ -0,0 +1,9 @@
{
"notifications": "Notifications",
"chat-messages": "Chat Messages",
"play-sound": "Play",
"incoming-message": "Incoming Message",
"outgoing-message": "Outgoing Message",
"upload-new-sound": "Upload New Sound",
"saved": "Settings Saved"
}

View File

@@ -0,0 +1,69 @@
{
"settings": "Category Settings",
"privileges": "Privileges",
"name": "Category Name",
"description": "Category Description",
"bg-color": "Background Colour",
"text-color": "Text Colour",
"bg-image-size": "Background Image Size",
"custom-class": "Custom Class",
"num-recent-replies": "# of Recent Replies",
"ext-link": "External Link",
"is-section": "Treat this category as a section",
"upload-image": "Upload Image",
"delete-image": "Remove",
"category-image": "Category Image",
"parent-category": "Parent Category",
"optional-parent-category": "(Optional) Parent Category",
"parent-category-none": "(None)",
"copy-settings": "Copy Settings From",
"optional-clone-settings": "(Optional) Clone Settings From Category",
"purge": "Purge Category",
"enable": "Enable",
"disable": "Disable",
"edit": "Edit",
"select-category": "Select Category",
"set-parent-category": "Set Parent Category",
"privileges.description": "You can configure the access control privileges for this category in this section. Privileges can be granted on a per-user or a per-group basis. You can add a new user to this table by searching for them in the form below.",
"privileges.warning": "<strong>Note</strong>: Privilege settings take effect immediately. It is not necessary to save the category after adjusting these settings.",
"privileges.section-viewing": "Viewing Privileges",
"privileges.section-posting": "Posting Privileges",
"privileges.section-moderation": "Moderation Privileges",
"privileges.section-user": "User",
"privileges.search-user": "Add User",
"privileges.no-users": "No user-specific privileges in this category.",
"privileges.section-group": "Group",
"privileges.group-private": "This group is private",
"privileges.search-group": "Add Group",
"privileges.copy-to-children": "Copy to Children",
"privileges.copy-from-category": "Copy from Category",
"privileges.inherit": "If the <code>registered-users</code> group is granted a specific privilege, all other groups receive an <strong>implicit privilege</strong>, even if they are not explicitly defined/checked. This implicit privilege is shown to you because all users are part of the <code>registered-users</code> user group, and so, privileges for additional groups need not be explicitly granted.",
"analytics.back": "Back to Categories List",
"analytics.title": "Analytics for \"%1\" category",
"analytics.pageviews-hourly": "<strong>Figure 1</strong> &ndash; Hourly page views for this category</small>",
"analytics.pageviews-daily": "<strong>Figure 2</strong> &ndash; Daily page views for this category</small>",
"analytics.topics-daily": "<strong>Figure 3</strong> &ndash; Daily topics created in this category</small>",
"analytics.posts-daily": "<strong>Figure 4</strong> &ndash; Daily posts made in this category</small>",
"alert.created": "Created",
"alert.create-success": "Category successfully created!",
"alert.none-active": "You have no active categories.",
"alert.create": "Create a Category",
"alert.confirm-moderate": "<strong>Are you sure you wish to grant the moderation privilege to this user group?</strong> This group is public, and any users can join at will.",
"alert.confirm-purge": "<p class=\"lead\">Do you really want to purge this category \"%1\"?</p><h5><strong class=\"text-danger\">Warning!</strong> All topics and posts in this category will be purged!</h5> <p class=\"help-block\">Purging a category will remove all topics and posts, and delete the category from the database. If you want to remove a category <em>temporarily</em>, you'll want to \"disable\" the category instead.</p>",
"alert.purge-success": "Category purged!",
"alert.copy-success": "Settings Copied!",
"alert.set-parent-category": "Set Parent Category",
"alert.updated": "Updated Categories",
"alert.updated-success": "Category IDs %1 successfully updated.",
"alert.upload-image": "Upload category image",
"alert.find-user": "Find a User",
"alert.user-search": "Search for a user here...",
"alert.find-group": "Find a Group",
"alert.group-search": "Search for a group here..."
}

View File

@@ -0,0 +1,35 @@
{
"name": "Group Name",
"description": "Group Description",
"member-count": "Member Count",
"system": "System Group",
"edit": "Edit",
"search-placeholder": "Search",
"create": "Create Group",
"description-placeholder": "A short description about your group",
"create-button": "Create",
"alerts.create-failure": "<strong>Uh-Oh</strong><p>There was a problem creating your group. Please try again later!</p>",
"alerts.confirm-delete": "Are you sure you wish to delete this group?",
"edit.name": "Name",
"edit.description": "Description",
"edit.user-title": "Title of Members",
"edit.icon": "Group Icon",
"edit.label-color": "Group Label Color",
"edit.show-badge": "Show Badge",
"edit.private-details": "If enabled, joining of groups requires approval from a group owner.",
"edit.private-override": "Warning: Private groups is disabled at system level, which overrides this option.",
"edit.disable-requests": "Disable join requests",
"edit.hidden": "Hidden",
"edit.hidden-details": "If enabled, this group will not be found in the groups listing, and users will have to be invited manually",
"edit.add-user": "Add User to Group",
"edit.add-user-search": "Search Users",
"edit.members": "Member List",
"control-panel": "Groups Control Panel",
"revert": "Revert",
"edit.no-users-found": "No Users Found",
"edit.confirm-remove-user": "Are you sure you want to remove this user?",
"edit.save-success": "Changes saved!"
}

View File

@@ -0,0 +1,15 @@
{
"lead": "Configure your IP blacklist here.",
"description": "Occasionally, a user account ban is not enough of a deterrant. Other times, restricting access to the forum to a specific IP or a range of IPs is the best way to protect a forum. In these scenarios, you can add troublesome IP addresses or entire CIDR blocks to this blacklist, and they will be prevented from logging in to or registering a new account.",
"active-rules": "Active Rules",
"validate": "Validate Blacklist",
"apply": "Apply Blacklist",
"hints": "Syntax Hints",
"hint-1": "Define a single IP addresses per line. You can add IP blocks as long as they follow the CIDR format (e.g. <code>192.168.100.0/22</code>).",
"hint-2": "You can add in comments by starting lines with the <code>#</code> symbol.",
"validate.x-valid": "<strong>%1</strong> out of <strong>%2</strong> rule(s) valid.",
"validate.x-invalid": "The following <strong>%1</strong> rules are invalid:",
"alerts.applied-success": "Blacklist Applied"
}

View File

@@ -0,0 +1,20 @@
{
"queue": "Queue",
"description": "There are no users in the registration queue. <br> To enable this feature, go to <a href=\"%1\">Settings &rarr; User &rarr; User Registration</a> and set <strong>Registration Type</strong> to \"Admin Approval\".",
"list.name": "Name",
"list.email": "Email",
"list.ip": "IP",
"list.time": "Time",
"list.username-spam": "Frequency: %1 Appears: %2 Confidence: %3",
"list.email-spam": "Frequency: %1 Appears: %2",
"list.ip-spam": "Frequency: %1 Appears: %2",
"invitations": "Invitations",
"invitations.description": "Below is a complete list of invitations sent. Use ctrl-f to search through the list by email or username. <br><br>The username will be displayed to the right of the emails for users who have redeemed their invitations.",
"invitations.inviter-username": "Inviter Username",
"invitations.invitee-email": "Invitee Email",
"invitations.invitee-username": "Invitee Username (if registered)",
"invitations.confirm-delete": "Are you sure you wish to delete this invitation?"
}

View File

@@ -0,0 +1,18 @@
{
"none": "Your forum does not have any topics with tags yet.",
"bg-color": "Background Colour",
"text-color": "Text Colour",
"create-modify": "Create & Modify Tags",
"description": "Select tags via clicking and/or dragging, use shift to select multiple.",
"create": "Create Tag",
"modify": "Modify Tags",
"delete": "Delete Selected Tags",
"search": "Search for tags...",
"settings": "Click <a href=\"%1\">here</a> to visit the tag settings page.",
"name": "Tag Name",
"alerts.editing-multiple": "Editing multiple tags",
"alerts.editing-x": "Editing \"%1\" tag",
"alerts.confirm-delete": "Do you want to delete the selected tags?",
"alerts.update-success": "Tag Updated!"
}

View File

@@ -0,0 +1,91 @@
{
"users": "Users",
"edit": "Edit",
"make-admin": "Make Admin",
"remove-admin": "Remove Admin",
"validate-email": "Validate Email",
"send-validation-email": "Send Validation Email",
"password-reset-email": "Send Password Reset Email",
"ban": "Ban User(s)",
"temp-ban": "Ban User(s) Temporarily",
"unban": "Unban User(s)",
"reset-lockout": "Reset Lockout",
"reset-flags": "Reset Flags",
"delete": "Delete User(s)",
"purge": "Delete User(s) and Content",
"download-csv": "Download CSV",
"invite": "Invite",
"new": "New User",
"pills.latest": "Latest Users",
"pills.unvalidated": "Not Validated",
"pills.no-posts": "No Posts",
"pills.top-posters": "Top Posters",
"pills.top-rep": "Most Reputation",
"pills.inactive": "Inactive",
"pills.flagged": "Most Flagged",
"pills.banned": "Banned",
"pills.search": "User Search",
"search.username": "By User Name",
"search.username-placeholder": "Enter a username to search",
"search.email": "By Email",
"search.email-placeholder": "Enter a email to search",
"search.ip": "By IP Address",
"search.ip-placeholder": "Enter an IP Address to search",
"search.not-found": "User not found!",
"inactive.3-months": "3 months",
"inactive.6-months": "6 months",
"inactive.12-months": "12 months",
"users.uid": "uid",
"users.username": "username",
"users.email": "email",
"users.postcount": "postcount",
"users.reputation": "reputation",
"users.flags": "flags",
"users.joined": "joined",
"users.last-online": "last online",
"users.banned": "banned",
"create.username": "User Name",
"create.email": "Email",
"create.email-placeholder": "Email of this user",
"create.password": "Password",
"create.password-confirm": "Confirm Password",
"temp-ban.length": "Ban Length",
"temp-ban.reason": "Reason <span class=\"text-muted\">(Optional)</span>",
"temp-ban.hours": "Hours",
"temp-ban.days": "Days",
"temp-ban.explanation": "Enter the length of time for the ban. Note that a time of 0 will be a considered a permanent ban.",
"alerts.confirm-ban": "Do you really want to ban this user <strong>permanently</strong>?",
"alerts.confirm-ban-multi": "Do you really want to ban these users <strong>permanently</strong>?",
"alerts.ban-success": "User(s) banned!",
"alerts.button-ban-x": "Ban %1 user(s)",
"alerts.unban-success": "User(s) unbanned!",
"alerts.lockout-reset-success": "Lockout(s) reset!",
"alerts.flag-reset-success": "Flags(s) reset!",
"alerts.no-remove-yourself-admin": "You can't remove yourself as Administrator!",
"alerts.make-admin-success": "User(s) are now administrators.",
"alerts.confirm-remove-admin": "Do you really want to remove admins?",
"alerts.remove-admin-success": "User(s) are no longer administrators.",
"alerts.confirm-validate-email": "Do you want to validate email(s) of these user(s)?",
"alerts.validate-email-success": "Emails validated",
"alerts.password-reset-confirm": "Do you want to send password reset email(s) to these user(s)?",
"alerts.confirm-delete": "<b>Warning!</b><br/>Do you really want to delete user(s)?<br/> This action is not reversable! Only the user account will be deleted, their posts and topics will remain.",
"alerts.delete-success": "User(s) Deleted!",
"alerts.confirm-purge": "<b>Warning!</b><br/>Do you really want to delete user(s) and their content?<br/> This action is not reversable! All user data and content will be erased!",
"alerts.create": "Create User",
"alerts.button-create": "Create",
"alerts.button-cancel": "Cancel",
"alerts.error-passwords-different": "Passwords must match!",
"alerts.error-x": "<strong>Error</strong><p>%1</p>",
"alerts.create-success": "User created!",
"alerts.prompt-email": "Email: ",
"alerts.email-sent-to": "An invitation email has been sent to %1",
"alerts.x-users-found": "%1 user(s) found! Search took %2 ms."
}

View File

@@ -0,0 +1,74 @@
{
"section-general": "General",
"general/dashboard": "Dashboard",
"general/homepage": "Home Page",
"general/navigation": "Navigation",
"general/languages": "Languages",
"general/sounds": "Sounds",
"general/social": "Social",
"section-manage": "Manage",
"manage/categories": "Categories",
"manage/tags": "Tags",
"manage/users": "Users",
"manage/registration": "Registration Queue",
"manage/groups": "Groups",
"manage/ip-blacklist": "IP Blacklist",
"section-settings": "Settings",
"settings/general": "General",
"settings/reputation": "Reputation",
"settings/email": "Email",
"settings/user": "User",
"settings/group": "Group",
"settings/guest": "Guests",
"settings/uploads": "Uploads",
"settings/post": "Post",
"settings/chat": "Chat",
"settings/pagination": "Pagination",
"settings/tags": "Tags",
"settings/notifications": "Notifications",
"settings/cookies": "Cookies",
"settings/web-crawler": "Web Crawler",
"settings/sockets": "Sockets",
"settings/advanced": "Advanced",
"settings.page-title": "%1 Settings",
"section-appearance": "Appearance",
"appearance/themes": "Themes",
"appearance/skins": "Skins",
"appearance/customise": "Custom HTML & CSS",
"section-extend": "Extend",
"extend/plugins": "Plugins",
"extend/widgets": "Widgets",
"extend/rewards": "Rewards",
"section-social-auth": "Social Authentication",
"section-plugins": "Plugins",
"extend/plugins.install": "Install Plugins",
"section-advanced": "Advanced",
"advanced/database": "Database",
"advanced/events": "Events",
"advanced/logs": "Logs",
"advanced/errors": "Errors",
"advanced/cache": "Cache",
"development/logger": "Logger",
"development/info": "Info",
"reload-forum": "Reload Forum",
"restart-forum": "Restart Forum",
"logout": "Log out",
"view-forum": "View Forum",
"search.placeholder": "Search...",
"search.no-results": "No results...",
"search.search-forum": "Search the forum for <strong></strong>",
"search.keep-typing": "Type more to see results...",
"search.start-typing": "Start typing to see results...",
"connection-lost": "Connection to %1 has been lost, attempting to reconnect..."
}

View File

@@ -0,0 +1,19 @@
{
"maintenance-mode": "Maintenance Mode",
"maintenance-mode.help": "When the forum is in maintenance mode, all requests will be redirected to a static holding page. Administrators are exempt from this redirection, and are able to access the site normally.",
"maintenance-mode.message": "Maintenance Message",
"headers": "Headers",
"headers.allow-from": "Set ALLOW-FROM to Place NodeBB in an iFrame",
"headers.powered-by": "Customise the \"Powered By\" header sent by NodeBB",
"headers.acao": "Access-Control-Allow-Origin",
"headers.acao-help": "To deny access to all sites, leave empty",
"headers.acam": "Access-Control-Allow-Methods",
"headers.acah": "Access-Control-Allow-Headers",
"traffic-management": "Traffic Management",
"traffic.help": "NodeBB deploys equipped with a module that automatically denies requests in high-traffic situations. You can tune these settings here, although the defaults are a good starting point.",
"traffic.enable": "Enable Traffic Management",
"traffic.event-lag": "Event Loop Lag Threshold (in milliseconds)",
"traffic.event-lag-help": "Lowering this value decreases wait times for page loads, but will also show the \"excessive load\" message to more users. (Restart required)",
"traffic.lag-check-interval": "Check Interval (in milliseconds)",
"traffic.lag-check-interval-help": "Lowering this value causes NodeBB to become more sensitive to spikes in load, but may also cause the check to become too sensitive. (Restart required)"
}

View File

@@ -0,0 +1,9 @@
{
"chat-settings": "Chat Settings",
"disable": "Disable chat",
"disable-editing": "Disable chat message editing/deletion",
"disable-editing-help": "Administrators and global moderators are exempt from this restriction",
"max-length": "Maximum length of chat messages",
"max-room-size": "Maximum number of users in chat rooms",
"delay": "Time between chat messages in milliseconds"
}

View File

@@ -0,0 +1,11 @@
{
"eu-consent": "EU Consent",
"consent.enabled": "Enabled",
"consent.message": "Notification message",
"consent.acceptance": "Acceptance message",
"consent.link-text": "Policy Link Text",
"consent.blank-localised-default": "Leave blank to use NodeBB localised defaults",
"settings": "Settings",
"cookie-domain": "Session cookie domain",
"blank-default": "Leave blank for default"
}

View File

@@ -0,0 +1,25 @@
{
"email-settings": "Email Settings",
"address": "Email Address",
"address-help": "The following email address refers to the email that the recipient will see in the \"From\" and \"Reply To\" fields.",
"from": "From Name",
"from-help": "The from name to display in the email.",
"gmail-routing": "Gmail Routing",
"gmail-routing-help1": "There have been reports of Gmail Routing not working on accounts with heightened security. In those scenarios, you will have to <a href=\"https://www.google.com/settings/security/lesssecureapps\">configure your GMail account to allow less secure apps</a>.",
"gmail-routing-help2": "For more information about this workaround, <a href=\"https://nodemailer.com/using-gmail/\">please consult this NodeMailer article on the issue.</a> An alternative would be to utilise a third-party emailer plugin such as SendGrid, Mailgun, etc. <a href=\"{config.relative_path}/admin/extend/plugins\">Browse available plugins here</a>.",
"gmail-transport": "Route emails through a Gmail/Google Apps account",
"gmail-transport.username": "Username",
"gmail-transport.username-help": "Enter the full email address here, especially if you are using a Google Apps managed domain.",
"gmail-transport.password": "Password",
"template": "Edit Email Template",
"template.select": "Select Email Template",
"template.revert": "Revert to Original",
"testing": "Email Testing",
"testing.select": "Select Email Template",
"testing.send": "Send Test Email",
"testing.send-help": "The test email will be sent to the currently logged in user's email address.",
"subscriptions": "Email Subscriptions",
"subscriptions.disable": "Disable subscriber notification emails",
"subscriptions.hour": "Digest Hour",
"subscriptions.hour-help": "Please enter a number representing the hour to send scheduled email digests (e.g. <code>0</code> for midnight, <code>17</code> for 5:00pm). Keep in mind that this is the hour according to the server itself, and may not exactly match your system clock.<br /> The approximate server time is: <span id=\"serverTime\"></span><br /> The next daily digest is scheduled to be sent <span id=\"nextDigestTime\"></span>"
}

View File

@@ -0,0 +1,32 @@
{
"site-settings": "Site Settings",
"title": "Site Title",
"title.name": "Your Community Name",
"title.show-in-header": "Show Site Title in Header",
"browser-title": "Browser Title",
"browser-title-help": "If no browser title is specified, the site title will be used",
"title-layout": "Title Layout",
"title-layout-help": "Define how the browser title will be structured ie. &#123;pageTitle&#125; | &#123;browserTitle&#125;",
"description.placeholder": "A short description about your community",
"description": "Site Description",
"keywords": "Site Keywords",
"keywords-placeholder": "Keywords describing your community, comma-separated",
"logo": "Site Logo",
"logo.image": "Image",
"logo.image-placeholder": "Path to a logo to display on forum header",
"logo.upload": "Upload",
"logo.url": "URL",
"logo.url-placeholder": "The URL of the site logo",
"logo.url-help": "When the logo is clicked, send users to this address. If left blank, user will be sent to the forum index.",
"logo.alt-text": "Alt Text",
"log.alt-text-placeholder": "Alternative text for accessibility",
"favicon": "Favicon",
"favicon.upload": "Upload",
"touch-icon": "Homescreen/Touch Icon",
"touch-icon.upload": "Upload",
"touch-icon.help": "Recommended size and format: 192x192, PNG format only. If no touch icon is specified, NodeBB will fall back to using the favicon.",
"outgoing-links": "Outgoing Links",
"outgoing-links.warning-page": "Use Outgoing Links Warning Page",
"search-default-sort-by": "Search default sort by",
"outgoing-links.whitelist": "Domains to whitelist for bypassing the warning page"
}

View File

@@ -0,0 +1,12 @@
{
"general": "General",
"private-groups": "Private Groups",
"private-groups.help": "If enabled, joining of groups requires the approval of the group owner <em>(Default: enabled)</em>",
"private-groups.warning": "<strong>Beware!</strong> If this option is disabled and you have private groups, they automatically become public.",
"allow-creation": "Allow Group Creation",
"allow-creation-help": "If enabled, users can create groups <em>(Default: disabled)</em>",
"max-name-length": "Maximum Group Name Length",
"cover-image": "Group Cover Image",
"default-cover": "Default Cover Images",
"default-cover-help": "Add comma-separated default cover images for groups that don't have an uploaded cover image"
}

View File

@@ -0,0 +1,8 @@
{
"handles": "Guest Handles",
"handles.enabled": "Allow guest handles",
"handles.enabled-help": "This option exposes a new field that allows guests to pick a name to associate with each post they make. If disabled, they will simply be called \"Guest\"",
"privileges": "Guest Privileges",
"privileges.can-search": "Allow guests to search without logging in",
"privileges.can-search-users": "Allow guests to search users without logging in"
}

View File

@@ -0,0 +1,5 @@
{
"notifications": "Notifications",
"welcome-notification": "Welcome Notification",
"welcome-notification-link": "Welcome Notification Link"
}

View File

@@ -0,0 +1,9 @@
{
"pagination": "Pagination Settings",
"enable": "Paginate topics and posts instead of using infinite scroll.",
"topics": "Topic Pagination",
"posts-per-page": "Posts per Page",
"categories": "Category Pagination",
"topics-per-page": "Topics per Page",
"initial-num-load": "Initial Number of Topics to Load on Unread, Recent, and Popular"
}

View File

@@ -0,0 +1,46 @@
{
"sorting": "Post Sorting",
"sorting.post-default": "Default Post Sorting",
"sorting.oldest-to-newest": "Oldest to Newest",
"sorting.newest-to-oldest": "Newest to Oldest",
"sorting.most-votes": "Most Votes",
"sorting.topic-default": "Default Topic Sorting",
"restrictions": "Posting Restrictions",
"restrictions.seconds-between": "Seconds between Posts",
"restrictions.seconds-between-new": "Seconds between Posts for New Users",
"restrictions.rep-threshold": "Reputation threshold before this restriction is lifted",
"restrictions.seconds-defore-new": "Seconds before new user can post",
"restrictions.seconds-edit-after": "Number of seconds users are allowed to edit posts after posting. (0 disabled)",
"restrictions.seconds-delete-after": "Number of seconds users are allowed to delete posts after posting. (0 disabled)",
"restrictions.replies-no-delete": "Number of replies after users are disallowed to delete their own topics. (0 disabled)",
"restrictions.min-title-length": "Minimum Title Length",
"restrictions.max-title-length": "Maximum Title Length",
"restrictions.min-post-length": "Minimum Post Length",
"restrictions.max-post-length": "Maximum Post Length",
"restrictions.days-until-stale": "Days until Topic is considered stale",
"restrictions.stale-help": "If a topic is considered \"stale\", then a warning will be shown to users who attempt to reply to that topic.",
"timestamp": "Timestamp",
"timestamp.cut-off": "Date cut-off (in days)",
"timestamp.cut-off-help": "Dates &amp; times will be shown in a relative manner (e.g. \"3 hours ago\" / \"5 days ago\"), and localised into various\n\t\t\t\t\tlanguages. After a certain point, this text can be switched to display the localised date itself\n\t\t\t\t\t(e.g. 5 Nov 2016 15:30).<br /><em>(Default: <code>30</code>, or one month). Set to 0 to always display dates, leave blank to always display relative times.</em>",
"teaser": "Teaser Post",
"teaser.last-post": "Last &ndash; Show the latest post, including the original post, if no replies",
"teaser.last-reply": "Last &ndash; Show the latest reply, or a \"No replies\" placeholder if no replies",
"teaser.first": "First",
"unread": "Unread Settings",
"unread.cutoff": "Unread cutoff days",
"unread.min-track-last": "Minimum posts in topic before tracking last read",
"recent": "Recent Settings",
"recent.categoryFilter.disable": "Disable filtering of topics in ignored categories on the /recent page",
"signature": "Signature Settings",
"signature.disable": "Disable signatures",
"signature.no-links": "Disable links in signatures",
"signature.no-images": "Disable images in signatures",
"signature.max-length": "Maximum Signature Length",
"composer": "Composer Settings",
"composer-help": "The following settings govern the functionality and/or appearance of the post composer shown\n\t\t\t\tto users when they create new topics, or reply to existing topics.",
"composer.show-help": "Show \"Help\" tab",
"composer.enable-plugin-help": "Allow plugins to add content to the help tab",
"composer.custom-help": "Custom Help Text",
"ip-tracking": "IP Tracking",
"ip-tracking.each-post": "Track IP Address for each post"
}

View File

@@ -0,0 +1,9 @@
{
"reputation": "Reputation Settings",
"disable": "Disable Reputation System",
"disable-down-voting": "Disable Down Voting",
"votes-are-public": "All Votes Are Public",
"thresholds": "Activity Thresholds",
"min-rep-downvote": "Minimum reputation to downvote posts",
"min-rep-flag": "Minimum reputation to flag posts"
}

View File

@@ -0,0 +1,6 @@
{
"reconnection": "Reconnection Settings",
"max-attempts": "Max Reconnection Attempts",
"default-placeholder": "Default: %1",
"delay": "Reconnection Delay"
}

View File

@@ -0,0 +1,12 @@
{
"tag": "Tag Settings",
"min-per-topic": "Minimum Tags per Topic",
"max-per-topic": "Maximum Tags per Topic",
"min-length": "Minimum Tag Length",
"max-length": "Maximum Tag Length",
"goto-manage": "Click here to visit the tag management page.",
"privacy": "Privacy",
"list-private": "Make the tags list private",
"related-topics": "Related Topics",
"max-related-topics": "Maximum related topics to display (if supported by theme)"
}

View File

@@ -0,0 +1,28 @@
{
"posts": "Posts",
"allow-files": "Allow users to upload regular files",
"private": "Make uploaded files private",
"max-image-width": "Resize images down to specified width (in pixels)",
"max-image-width-help": "(in pixels, default: 760 pixels, set to 0 to disable)",
"max-file-size": "Maximum File Size (in KiB)",
"max-file-size-help": "(in kibibytes, default: 2048 KiB)",
"allow-topic-thumbnails": "Allow users to upload topic thumbnails",
"topic-thumb-size": "Topic Thumb Size",
"allowed-file-extensions": "Allowed File Extensions",
"allowed-file-extensions-help": "Enter comma-separated list of file extensions here (e.g. <code>pdf,xls,doc</code>). An empty list means all extensions are allowed.",
"profile-avatars": "Profile Avatars",
"allow-profile-image-uploads": "Allow users to upload profile images",
"convert-profile-image-png": "Convert profile image uploads to PNG",
"default-avatar": "Custom Default Avatar",
"upload": "Upload",
"profile-image-dimension": "Profile Image Dimension",
"profile-image-dimension-help": "(in pixels, default: 128 pixels)",
"max-profile-image-size": "Maximum Profile Image File Size",
"max-profile-image-size-help": "(in kibibytes, default: 256 KiB)",
"max-cover-image-size": "Maximum Cover Image File Size",
"max-cover-image-size-help": "(in kibibytes, default: 2,048 KiB)",
"keep-all-user-images": "Keep old versions of avatars and profile covers on the server",
"profile-covers": "Profile Covers",
"default-covers": "Default Cover Images",
"default-covers-help": "Add comma-separated default cover images for accounts that don't have an uploaded cover image"
}

View File

@@ -0,0 +1,62 @@
{
"authentication": "Authentication",
"allow-local-login": "Allow local login",
"require-email-confirmation": "Require Email Confirmation",
"email-confirm-interval": "User may not resend a confirmation email until",
"email-confirm-email2": "minutes have elapsed",
"allow-login-with": "Allow login with",
"allow-login-with.username-email": "Username or Email",
"allow-login-with.username": "Username Only",
"allow-login-with.email": "Email Only",
"account-settings": "Account Settings",
"disable-username-changes": "Disable username changes",
"disable-email-changes": "Disable email changes",
"disable-password-changes": "Disable password changes",
"allow-account-deletion": "Allow account deletion",
"user-info-private": "Make user info private",
"themes": "Themes",
"disable-user-skins": "Prevent users from choosing a custom skin",
"account-protection": "Account Protection",
"login-attempts": "Login attempts per hour",
"login-attempts-help": "If login attempts to a user&apos;s account exceeds this threshold, that account will be locked for a pre-configured amount of time",
"lockout-duration": "Account Lockout Duration (minutes)",
"login-days": "Days to remember user login sessions",
"password-expiry-days": "Force password reset after a set number of days",
"registration": "User Registration",
"registration-type": "Registration Type",
"registration-type.normal": "Normal",
"registration-type.admin-approval": "Admin Approval",
"registration-type.admin-approval-ip": "Admin Approval for IPs",
"registration-type.invite-only": "Invite Only",
"registration-type.admin-invite-only": "Admin Invite Only",
"registration-type.disabled": "No registration",
"registration-type.help": "Normal - Users can register from the /register page.<br/>\nAdmin Approval - User registrations are placed in an <a href=\"%1/admin/manage/registration\">approval queue</a> for administrators.<br/>\nAdmin Approval for IPs - Normal for new users, Admin Approval for IP addresses that already have an account.<br/>\nInvite Only - Users can invite others from the <a href=\"%1/users\" target=\"_blank\">users</a> page.<br/>\nAdmin Invite Only - Only administrators can invite others from <a href=\"%1/users\" target=\"_blank\">users</a> and <a href=\"%1/admin/manage/users\">admin/manage/users</a> pages.<br/>\nNo registration - No user registration.<br/>",
"registration.max-invites": "Maximum Invitations per User",
"max-invites": "Maximum Invitations per User",
"max-invites-help": "0 for no restriction. Admins get infinite invitations<br>Only applicable for \"Invite Only\"",
"invite-expiration": "Invite expiration",
"invite-expiration-help": "# of days invitations expire in.",
"min-username-length": "Minimum Username Length",
"max-username-length": "Maximum Username Length",
"min-password-length": "Minimum Password Length",
"min-password-strength": "Minimum Password Strength",
"max-about-me-length": "Maximum About Me Length",
"terms-of-use": "Forum Terms of Use <small>(Leave blank to disable)</small>",
"user-search": "User Search",
"user-search-results-per-page": "Number of results to display",
"default-user-settings": "Default User Settings",
"show-email": "Show email",
"show-fullname": "Show fullname",
"restrict-chat": "Only allow chat messages from users I follow",
"outgoing-new-tab": "Open outgoing links in new tab",
"topic-search": "Enable In-Topic Searching",
"digest-freq": "Subscribe to Digest",
"digest-freq.off": "Off",
"digest-freq.daily": "Daily",
"digest-freq.weekly": "Weekly",
"digest-freq.monthly": "Monthly",
"email-chat-notifs": "Send an email if a new chat message arrives and I am not online",
"email-post-notif": "Send an email when replies are made to topics I am subscribed to",
"follow-created-topics": "Follow topics you create",
"follow-replied-topics": "Follow topics that you reply to"
}

View File

@@ -0,0 +1,10 @@
{
"crawlability-settings": "Crawlability Settings",
"robots-txt": "Custom Robots.txt <small>Leave blank for default</small>",
"sitemap-feed-settings": "Sitemap & Feed Settings",
"disable-rss-feeds": "Disable RSS Feeds",
"disable-sitemap-xml": "Disable Sitemap.xml",
"sitemap-topics": "Number of Topics to display in the Sitemap",
"clear-sitemap-cache": "Clear Sitemap Cache",
"view-sitemap": "View Sitemap"
}

View File

@@ -32,5 +32,9 @@
"notif.post.unsub.info": "تم إشعارك بهذه المشاركة بناءً على الخيارات التي سبق وأن حددتها.",
"test.text1": "هذه رسالة تجريبية للتأكد من صحة إعدادت الرسائل الإلكترونية في منتدى NodeBB خاصتك.",
"unsub.cta": "انقر هنا لتغيير تلك الإعدادات",
"banned.subject": "You have been banned from %1",
"banned.text1": "The user %1 has been banned from %2.",
"banned.text2": "This ban will last until %1.",
"banned.text3": "This is the reason why you have been banned:",
"closing": "شكرًا لك!"
}

View File

@@ -1,5 +1,6 @@
{
"invalid-data": "بيانات غير صحيحة",
"invalid-json": "Invalid JSON",
"not-logged-in": "لم تقم بتسجيل الدخول",
"account-locked": "تم حظر حسابك مؤقتًا.",
"search-requires-login": "البحث في المنتدى يتطلب حساب - الرجاء تسجيل الدخول أو التسجيل",
@@ -12,6 +13,7 @@
"invalid-title": "عنوان غير صحيح",
"invalid-user-data": "بيانات المستخدم غير صحيحة",
"invalid-password": "كلمة السر غير مقبولة",
"invalid-login-credentials": "Invalid login credentials",
"invalid-username-or-password": "المرجود تحديد اسم مستخدم و كلمة مرور",
"invalid-search-term": "كلمة البحث غير صحيحة",
"csrf-invalid": "لم تتمكن من تسجيل الدخول. هنالك أحتمال ان جلستك انتهت. رجاءًا حاول مرة اخرى.",
@@ -30,6 +32,7 @@
"password-too-long": "كلمة السر طويلة ",
"user-banned": "المستخدم محظور",
"user-banned-reason": "Sorry, this account has been banned (Reason: %1)",
"user-banned-reason-until": "Sorry, this account has been banned until %1 (Reason: %2)",
"user-too-new": "عذرا, يجب أن تنتظر 1% ثواني قبل قيامك بأول مشاركة",
"blacklisted-ip": "نأسف، لقد تم حظرك من استخدام وتصفح المنتدى. إذا كنت تعتقد أن هذا خطأ رجاءًا اتصل بالإدارة. ",
"ban-expiry-missing": "رجاءًا ضع تاريخ نهاية الحظر. ",
@@ -104,7 +107,7 @@
"chat-disabled": "نظام المحادثة معطل.",
"too-many-messages": "لقد أرسلت الكثير من الرسائل، الرجاء اﻹنتظار قليلاً",
"invalid-chat-message": "الرسالة غير صالحة.",
"chat-message-too-long": "الرسالة طويلة.",
"chat-message-too-long": "Chat messages can not be longer than %1 characters.",
"cant-edit-chat-message": "غير مصرح لك بتعديل الرسالة.",
"cant-remove-last-user": "لأيمكنك إزالت اخر مستخدم.",
"cant-delete-chat-message": "غير مصرح لك بحذف الرسالة.",

View File

@@ -0,0 +1,60 @@
{
"state": "State",
"reporter": "Reporter",
"reported-at": "Reported At",
"description": "Description",
"no-flags": "Hooray! No flags found.",
"assignee": "Assignee",
"update": "Update",
"updated": "Updated",
"target-purged": "The content this flag referred to has been purged and is no longer available.",
"quick-filters": "Quick Filters",
"filter-active": "There are one or more filters active in this list of flags",
"filter-reset": "Remove Filters",
"filters": "Filter Options",
"filter-reporterId": "Reporter UID",
"filter-targetUid": "Flagged UID",
"filter-type": "Flag Type",
"filter-type-all": "All Content",
"filter-type-post": "Post",
"filter-state": "State",
"filter-assignee": "Assignee UID",
"filter-cid": "Category",
"filter-quick-mine": "Assigned to me",
"filter-cid-all": "All categories",
"apply-filters": "Apply Filters",
"quick-links": "Quick Links",
"flagged-user": "Flagged User",
"view-profile": "View Profile",
"start-new-chat": "Start New Chat",
"go-to-target": "View Flag Target",
"user-view": "View Profile",
"user-edit": "Edit Profile",
"notes": "Flag Notes",
"add-note": "Add Note",
"no-notes": "No shared notes.",
"history": "Flag History",
"back": "Back to Flags List",
"no-history": "No flag history.",
"state-all": "All states",
"state-open": "New/Open",
"state-wip": "Work in Progress",
"state-resolved": "Resolved",
"state-rejected": "Rejected",
"no-assignee": "Not Assigned",
"note-added": "Note Added",
"modal-title": "Report Inappropriate Content",
"modal-body": "Please specify your reason for flagging %1 %2 for review. Alternatively, use one of the quick report buttons if applicable.",
"modal-reason-spam": "Spam",
"modal-reason-offensive": "Offensive",
"modal-reason-custom": "Reason for reporting this content...",
"modal-submit": "Submit Report",
"modal-submit-success": "Content has been flagged for moderation."
}

View File

@@ -102,5 +102,8 @@
"play": "Play",
"cookies.message": "This website uses cookies to ensure you get the best experience on our website.",
"cookies.accept": "Got it!",
"cookies.learn_more": "Learn More"
"cookies.learn_more": "Learn More",
"edited": "Edited",
"disabled": "Disabled",
"select": "Select"
}

View File

@@ -27,6 +27,7 @@
"details.disableJoinRequests": "Disable join requests",
"details.grant": "منح/سحب المِلكية",
"details.kick": "طرد",
"details.kick_confirm": "Are you sure you want to remove this member from the group?",
"details.owner_options": "إدارة المجموعة",
"details.group_name": "اسم المجموعة",
"details.member_count": "عدد اﻷعضاء",
@@ -52,5 +53,6 @@
"new-group.group_name": "اسم المجموعة",
"upload-group-cover": "Upload group cover",
"bulk-invite-instructions": "Enter a list of comma separated usernames to invite to this group",
"bulk-invite": "Bulk Invite"
"bulk-invite": "Bulk Invite",
"remove_group_cover_confirm": "Are you sure you want to remove the cover picture?"
}

View File

@@ -13,12 +13,14 @@
"chat.contacts": "الأصدقاء",
"chat.message-history": "تاريخ الرسائل",
"chat.pop-out": "افتح الدردشة في نافذة خاصة",
"chat.minimize": "Minimize",
"chat.maximize": "تكبير",
"chat.seven_days": "7 أيام",
"chat.thirty_days": "30 يومًا",
"chat.three_months": "3 أشهر",
"chat.delete_message_confirm": "هل أنت متأكد من أنك تريد حذف هذه الرسالة؟",
"chat.add-users-to-room": "Add users to room",
"chat.confirm-chat-with-dnd-user": "This user has set their status to DnD(Do not disturb). Do you still want to chat with them?",
"composer.compose": "اكتب",
"composer.show_preview": "عرض المعاينة",
"composer.hide_preview": "إخفاء المعاينة",

View File

@@ -10,6 +10,15 @@
"return_to": "عودة إى %1",
"new_notification": "تنبيه جديد",
"you_have_unread_notifications": "لديك تنبيهات غير مقروءة.",
"all": "All",
"topics": "Topics",
"replies": "Replies",
"chat": "Chats",
"follows": "Follows",
"upvote": "Upvotes",
"new-flags": "New Flags",
"my-flags": "Flags assigned to me",
"bans": "Bans",
"new_message_from": "رسالة جديدة من <strong>%1</strong>",
"upvoted_your_post_in": "<strong>%1</strong> أضاف صوتًا إيجابيا إلى مشاركتك في <strong>%2</strong>.",
"upvoted_your_post_in_dual": "<strong>%1</strong> and <strong>%2</strong> have upvoted your post in <strong>%3</strong>.",
@@ -19,6 +28,9 @@
"user_flagged_post_in": "<strong>%1</strong> أشعَرَ بمشاركة مخلة في <strong>%2</strong>",
"user_flagged_post_in_dual": "<strong>%1</strong> and <strong>%2</strong> flagged a post in <strong>%3</strong>",
"user_flagged_post_in_multiple": "<strong>%1</strong> and %2 others flagged a post in <strong>%3</strong>",
"user_flagged_user": "<strong>%1</strong> flagged a user profile (%2)",
"user_flagged_user_dual": "<strong>%1</strong> and <strong>%2</strong> flagged a user profile (%3)",
"user_flagged_user_multiple": "<strong>%1</strong> and %2 others flagged a user profile (%3)",
"user_posted_to": "<strong>%1</strong> أضاف ردا إلى: <strong>%2</strong>",
"user_posted_to_dual": "<strong>%1</strong> and <strong>%2</strong> have posted replies to: <strong>%3</strong>",
"user_posted_to_multiple": "<strong>%1</strong> and %2 others have posted replies to: <strong>%3</strong>",
@@ -28,6 +40,7 @@
"user_started_following_you_multiple": "<strong>%1</strong> and %2 others started following you.",
"new_register": "<strong>%1</strong> sent a registration request.",
"new_register_multiple": "There are <strong>%1</strong> registration requests awaiting review.",
"flag_assigned_to_you": "<strong>Flag %1</strong> has been assigned to you",
"email-confirmed": "تم التحقق من عنوان البريد الإلكتروني",
"email-confirmed-message": "شكرًا على إثبات صحة عنوان بريدك الإلكتروني. صار حسابك مفعلًا بالكامل.",
"email-confirm-error-message": "حدث خطأ أثناء التحقق من عنوان بريدك الإلكتروني. ربما رمز التفعيل خاطئ أو انتهت صلاحيته.",

View File

@@ -6,7 +6,7 @@
"popular-month": "المواضيع الشائعة هذا الشهر",
"popular-alltime": "المواضيع الشائعة منذ القدم",
"recent": "المواضيع الحديثة",
"flagged-posts": "Flagged Posts",
"flagged-content": "Flagged Content",
"ip-blacklist": "IP Blacklist",
"users/online": "اﻷعضاء المتصلون",
"users/latest": "أحدث اﻷعضاء",
@@ -27,6 +27,8 @@
"group": "%1 مجموعة",
"chats": "محادثات",
"chat": "Chatting with %1",
"flags": "Flags",
"flag-details": "Flag %1 Details",
"account/edit": "Editing \"%1\"",
"account/edit/password": "Editing password of \"%1\"",
"account/edit/username": "Editing username of \"%1\"",

View File

@@ -8,9 +8,11 @@
"posted-by": "مشاركة من طرف",
"in-categories": "في الفئات",
"search-child-categories": "بحث في الفئات الفرعية",
"has-tags": "Has tags",
"reply-count": "عدد المشاركات",
"at-least": "على اﻷقل",
"at-most": "على اﻷكثر",
"relevance": "Relevance",
"post-time": "تاريخ المشاركة",
"newer-than": "أحدث من",
"older-than": "أقدم من",

View File

@@ -13,7 +13,9 @@
"notify_me": "تلق تنبيهات بالردود الجديدة في هذا الموضوع",
"quote": "اقتبس",
"reply": "رد",
"replies_to_this_post": "Replies: %1",
"replies_to_this_post": "%1 Replies",
"one_reply_to_this_post": "1 Reply",
"last_reply_time": "Last reply",
"reply-as-topic": "رد بموضوع",
"guest-login-reply": "يجب عليك تسجيل الدخول للرد",
"edit": "تعديل",
@@ -25,28 +27,11 @@
"link": "رابط",
"share": "نشر",
"tools": "أدوات",
"flag": "تبليغ",
"locked": "مقفل",
"pinned": "مثبت",
"moved": "منقول",
"bookmark_instructions": "اضغط هنا للعودة لأخر مشاركة مقروءة في الموضوع",
"flag_title": "إشعار بمشاركة مخلة.",
"flag_success": "تم الإشعار بهذه المشاركة على أنها مخلة",
"flag_manage_title": "Flagged post in %1",
"flag_manage_history": "Action History",
"flag_manage_no_history": "No event history to report",
"flag_manage_assignee": "Assignee",
"flag_manage_state": "State",
"flag_manage_state_open": "New/Open",
"flag_manage_state_wip": "Work in Progress",
"flag_manage_state_resolved": "Resolved",
"flag_manage_state_rejected": "Rejected",
"flag_manage_notes": "Shared Notes",
"flag_manage_update": "Update Flag Status",
"flag_manage_history_assignee": "Assigned to %1",
"flag_manage_history_state": "Updated state to %1",
"flag_manage_history_notes": "Updated flag notes",
"flag_manage_saved": "Flag Details Updated",
"deleted_message": "هذه المشاركة محذوفة. فقط من لهم صلاحية الإشراف على ا لمشاركات يمكنهم معاينتها.",
"following_topic.message": "ستستلم تنبيها عند كل مشاركة جديدة في هذا الموضوع.",
"not_following_topic.message": "You will see this topic in the unread topics list, but you will not receive notifications when somebody posts to this topic.",
@@ -74,6 +59,7 @@
"thread_tools.unlock": "إلغاء إقفال الموضوع",
"thread_tools.move": "نقل الموضوع",
"thread_tools.move_all": "نقل الكل",
"thread_tools.select_category": "Select Category",
"thread_tools.fork": "إنشاء فرع الموضوع",
"thread_tools.delete": "حذف الموضوع",
"thread_tools.delete-posts": "مشاركات محذوفة",
@@ -87,7 +73,6 @@
"post_restore_confirm": "هل أنت متأكد أنك تريد استعادة هذه المشاركة؟",
"post_purge_confirm": "هل أنت متأكد أنك تريد تطهير هذه المشاركة؟",
"load_categories": "تحميل الفئات",
"disabled_categories_note": "الفئات المعطلة رمادية",
"confirm_move": "انقل",
"confirm_fork": "فرع",
"bookmark": "Bookmark",
@@ -99,7 +84,6 @@
"move_post": "نقل المشاركة",
"post_moved": "تم نقل المشاركة",
"fork_topic": "فرع الموضوع",
"topic_will_be_moved_to": "هذا الموضوع سوف ينقل إلى فئة",
"fork_topic_instruction": "إضغط على المشاركات التي تريد تفريعها",
"fork_no_pids": "لم تختر أي مشاركة",
"fork_pid_count": "1% مشاركة محددة",
@@ -131,8 +115,5 @@
"stale.warning": "The topic you are replying to is quite old. Would you like to create a new topic instead, and reference this one in your reply?",
"stale.create": "موضوع جديد",
"stale.reply_anyway": "الرد على هذا الموضوع ",
"link_back": "رد: [%1](%2)",
"spam": "سبام",
"offensive": "مسيئ",
"custom-flag-reason": "أدخل سبب التبليغ"
"link_back": "رد: [%1](%2)"
}

View File

@@ -31,7 +31,9 @@
"signature": "توقيع",
"birthday": "عيد ميلاد",
"chat": "محادثة",
"chat_with": "Chat with %1",
"chat_with": "Continue chat with %1",
"new_chat_with": "Start new chat with %1",
"flag-profile": "Flag Profile",
"follow": "تابع",
"unfollow": "إلغاء المتابعة",
"more": "المزيد",
@@ -58,10 +60,14 @@
"username_taken_workaround": "اسم المستخدم الذي اخترته سبق أخذه، لذا تم تغييره قليلا. أن الآن مسجل تحت الاسم <strong>%1</strong>",
"password_same_as_username": "Your password is the same as your username, please select another password.",
"password_same_as_email": "Your password is the same as your email, please select another password.",
"weak_password": "Weak password.",
"upload_picture": "ارفع الصورة",
"upload_a_picture": "رفع صورة",
"remove_uploaded_picture": "Remove Uploaded Picture",
"upload_cover_picture": "Upload cover picture",
"remove_cover_picture_confirm": "Are you sure you want to remove the cover picture?",
"crop_picture": "Crop picture",
"upload_cropped_picture": "Crop and upload",
"settings": "خيارات",
"show_email": "أظهر بريدي الإلكتروني",
"show_fullname": "أظهر اسمي الكامل",
@@ -125,5 +131,6 @@
"info.username-history": "Username History",
"info.email-history": "Email History",
"info.moderation-note": "Moderation Note",
"info.moderation-note.success": "Moderation note saved"
"info.moderation-note.success": "Moderation note saved",
"info.moderation-note.add": "Add note"
}

View File

@@ -0,0 +1,7 @@
{
"alert.confirm-reload": "Наистина ли искате да презаредите NodeBB?",
"alert.confirm-restart": "Наистина ли искате да рестартирате NodeBB?",
"acp-title": "%1 | Контролен панел за администратори на NodeBB",
"settings-header-contents": "Съдържание"
}

View File

@@ -0,0 +1,11 @@
{
"post-cache": "Кеш за публикации",
"posts-in-cache": "Публикации в кеша",
"average-post-size": "Среден обем на публикация",
"length-to-max": "Дължина / максимум",
"percent-full": "Запълненост: %1%",
"post-cache-size": "Размер на кеша за публикации",
"items-in-cache": "Елементи в кеша",
"control-panel": "Контролен панел",
"update-settings": "Обновяване на настройките на кеша"
}

View File

@@ -0,0 +1,36 @@
{
"x-b": "%1 Б",
"x-mb": "%1 МБ",
"x-gb": "%1 ГБ",
"uptime-seconds": "Активно време в секунди",
"uptime-days": "Активно време в дни",
"mongo": "Mongo",
"mongo.version": "Версия на MongoDB",
"mongo.storage-engine": "Система за съхранение",
"mongo.collections": "Колекции",
"mongo.objects": "Обекти",
"mongo.avg-object-size": "Среден размер на обект",
"mongo.data-size": "Размер на данните",
"mongo.storage-size": "Размер на съхраненото",
"mongo.index-size": "Размер на индексите",
"mongo.file-size": "Размер на файловете",
"mongo.resident-memory": "Текущо активна памет",
"mongo.virtual-memory": "Виртуална памет",
"mongo.mapped-memory": "Заделена памет",
"mongo.raw-info": "Сурови данни от MongoDB",
"redis": "Redis",
"redis.version": "Версия на Redis",
"redis.connected-clients": "Свързани клиенти",
"redis.connected-slaves": "Свързани второстепенни сървъри",
"redis.blocked-clients": "Блокирани клиенти",
"redis.used-memory": "Използвана памет",
"redis.memory-frag-ratio": "Коефициент на фрагментиране на паметта",
"redis.total-connections-recieved": "Общо получени свързвания",
"redis.total-commands-processed": "Общо обработени команди",
"redis.iops": "Едновременни операции в секунда",
"redis.keyspace-hits": "Успешни търсения на ключове",
"redis.keyspace-misses": "Неуспешни търсения на ключове",
"redis.raw-info": "Сурови данни от Redis"
}

View File

@@ -0,0 +1,14 @@
{
"figure-x": "Фигура %1",
"error-events-per-day": "<code>%1</code> събития на ден",
"error.404": "Страницата не е намерена (Грешка 404)",
"error.503": "Услугата е недостъпна (Грешка 503)",
"manage-error-log": "Управление на журнала за грешки",
"export-error-log": "Изнасяне на журнала за грешки (CSV)",
"clear-error-log": "Изчистване на журнала за грешки",
"route": "Маршрут",
"count": "Брой",
"no-routes-not-found": "Ура! Няма грешки от вида „404“!",
"clear404-confirm": "Наистина ли искате да изчистите журналите за грешки от вида 404?",
"clear404-success": "Грешките от вида „Страницата не е намерена (Грешка 404)“ бяха изчистени."
}

View File

@@ -0,0 +1,6 @@
{
"events": "Събития",
"no-events": "Няма събития",
"control-panel": "Контролен панел за събитията",
"delete-events": "Изтриване на събитията"
}

View File

@@ -0,0 +1,7 @@
{
"logs": "Журнали",
"control-panel": "Контролен панел за журналите",
"reload": "Презареждане на журналите",
"clear": "Изчистване на журналите",
"clear-success": "Журналите са изчистени!"
}

View File

@@ -0,0 +1,12 @@
{
"custom-css": "Персонализиран CSS",
"custom-css.description": "Въведете своите собствени декларации за стилове, те ще бъдат приложени след всички останали стилове.",
"custom-css.enable": "Включване на персонализиран CSS",
"custom-header": "Персонализирана заглавна част",
"custom-header.description": "Въведете своя персонализиран код HTML тук (напр. JavaScript, елементи „meta“ и т.н.), те ще бъдат добавени към секцията <code>&lt;head&gt;</code> в кода на Вашия форум.",
"custom-header.enable": "Включване на персонализирана заглавна част",
"custom-css.livereload": "Включване на моменталното презареждане",
"custom-css.livereload.description": "Ако включите това, всички сесии на всяко устройство, където използвате акаунта си, ще се презареждат, когато натискате „Запазване“."
}

View File

@@ -0,0 +1,9 @@
{
"loading": "Зареждане на облиците…",
"homepage": "Начална страница",
"select-skin": "Изберете облик",
"current-skin": "Текущ облик",
"skin-updated": "Обликът е променен",
"applied-success": "Обликът „%1“ беше успешно приложен",
"revert-success": "Обликът е върнат към основните цветове."
}

View File

@@ -0,0 +1,11 @@
{
"checking-for-installed": "Проверяване за инсталирани теми…",
"homepage": "Начална страница",
"select-theme": "Изберете тема",
"current-theme": "Текуща тема",
"no-themes": "Няма намерени инсталирани теми",
"revert-confirm": "Наистина ли искате да възстановите стандартната тема на NodeBB?",
"theme-changed": "Темата е променена",
"revert-success": "Вие възстановихте успешно стандартната тема на NodeBB.",
"restart-to-activate": "Моля, рестартирайте NodeBB, за да може тази тема да влезе в сила напълно."
}

View File

@@ -0,0 +1,18 @@
{
"you-are-on": "Информация — Вие сте на <strong>%1:%2</strong>",
"nodes-responded": "%1 възела отговориха в рамките на %2мсек!",
"host": "сървър",
"pid": "ид. на процеса",
"nodejs": "nodejs",
"online": "на линия",
"git": "git",
"memory": "памет",
"load": "натоварване",
"uptime": "активно време",
"registered": "Регистрирани",
"sockets": "Сокети",
"guests": "Гости",
"info": "Информация"
}

View File

@@ -0,0 +1,12 @@
{
"logger-settings": "Настройки на журнала",
"description": "Ако поставите отметки тук, Вие ще виждате журнала в терминала си. Ако посочите пътечка, то вместо това журналите ще бъдат записвани във файл. Журналът чрез HTTP е удобен за получаване на статистика за това кога, кои и какви хора посещават форума Ви. В допълнение към следенето на заявките чрез HTTP, можем също да следим и събитията на socket.io. Журналът на Socket.io, в комбинация с redis-cli, може да Ви бъде много полезно, ако искате да разучите как работи NodeBB.",
"explanation": "За да включите или изключите журналите в реално време, просто поставете или премахнете отметките в настройките на журнала. Няма нужда от рестартиране.",
"enable-http": "Включване на журнала чрез HTTP",
"enable-socket": "Включване на журналите за събития на socket.io",
"file-path": "Път до файла на журнала",
"file-path-placeholder": "/път/до/файла/на/журнала.log ::: ако е празно, журналът ще се извежда в терминала",
"control-panel": "Контролен панел за журнала",
"update-settings": "Промяна на настройките на журнала"
}

View File

@@ -0,0 +1,47 @@
{
"installed": "Инсталирани",
"active": "Включени",
"inactive": "Изключени",
"out-of-date": "Остарели",
"none-found": "Няма намерени добавки.",
"none-active": "Няма включени добавки.",
"find-plugins": "Търсене на добавки",
"plugin-search": "Търсене на добавки",
"plugin-search-placeholder": "Търсене на добавка…",
"reorder-plugins": "Пренареждане на добавките",
"order-active": "Подреждане на включените добавки",
"dev-interested": "Искате ли да пишете добавки за NodeBB?",
"docs-info": "Пълната документация относно създаването на добавки може да бъде намерена в <a target=\"_blank\" href=\"https://docs.nodebb.org/development/plugins/\">портала за документация на NodeBB</a>.",
"order.description": "Някои добавки работят най-добре, ако бъдат инсталирани преди или след други добавки.",
"order.explanation": "Добавките се зареждат в реда, посочен тук, от горе надолу.",
"plugin-item.themes": "Теми",
"plugin-item.deactivate": "Изключване",
"plugin-item.activate": "Включване",
"plugin-item.install": "Инсталиране",
"plugin-item.uninstall": "Деинсталиране",
"plugin-item.settings": "Настройки",
"plugin-item.installed": "Инсталирани",
"plugin-item.latest": "Най-нови",
"plugin-item.upgrade": "Обновяване",
"plugin-item.more-info": "За повече информация",
"plugin-item.unknown": "Неизвестно",
"plugin-item.unknown-explanation": "Състоянието на тази добавка не може да бъде определено, може би поради грешка в конфигурацията.",
"alert.enabled": "Добавката е включена",
"alert.disabled": "Добавката е изключена",
"alert.upgraded": "Добавката е обновена",
"alert.installed": "Добавката е инсталирана",
"alert.uninstalled": "Добавката е деинсталирана",
"alert.activate-success": "Моля, рестартирайте NodeBB, за да включите тази добавка напълно.",
"alert.deactivate-success": "Добавката е изключена успешно.",
"alert.upgrade-success": "Моля, презаредете NodeBB, за да обновите тази добавка напълно.",
"alert.install-success": "Добавката е инсталирана успешно, моля, включете я",
"alert.uninstall-success": "Добавката беше изключена и деинсталирана успешно.",
"alert.suggest-error": "<p>NodeBB не може да се свърже с пакетния мениджър. Искате ли да продължите с инсталацията на най-новата версия?</p><div class=\"alert alert-danger\"><strong>Сървърът върна (%1)</strong>: %2</div>",
"alert.package-manager-unreachable": "<p>NodeBB не може да се свърже с пакетния мениджър. Не се препоръчва обновяване в момента.</p>",
"alert.incompatible": "<p>Вашата версия на NodeBB (версия %1) може да използва най-много версия %2 на тази добавка. Моля, обновете NodeBB, ако искате да инсталирате по-нова версия на тази добавка.</p>",
"alert.possibly-incompatible": "<div class=\"alert alert-warning\"><p><strong>Няма информация за съвместимостта</strong></p><p>Тази добавка не е посочила конкретна версия за инсталация, съвместима с Вашата версия на NodeBB. Не можем да гарантираме пълна съвместимост и има възможност Вашият NodeBB да не може да стартира правилно.</p></div><p>Ако NodeBB не може да стартира, използвайте следната команда:</p><pre><code>$ ./nodebb reset plugin=\"%1\"</code></pre><p>Искате ли да продължите с инсталацията на най-новата версия на тази добавка?</p>"
}

View File

@@ -0,0 +1,17 @@
{
"rewards": "Награди",
"condition-if-users": "Ако потребителският(ата/ото)",
"condition-is": "Е:",
"condition-then": "Тогава:",
"max-claims": "Колко пъти може да бъде получавана наградата",
"zero-infinite": "0 = безкраен брой пъти",
"delete": "Изтриване",
"enable": "Включване",
"disable": "Изключване",
"control-panel": "Управление на наградите",
"new-reward": "Нова награда",
"alert.delete-success": "Наградата е изтрита успешно",
"alert.no-inputs-found": "Неправомерна награда — няма нищо въведено!",
"alert.save-success": "Наградите са запазени успешно"
}

View File

@@ -0,0 +1,19 @@
{
"available": "Налични джаджи",
"explanation": "Изберете джаджа от падащото меню, а след това я завлачете и пуснете в областта за джаджи в някой от шаблоните вляво.",
"none-installed": "Няма намерени джаджи! Включете добавката с основните джаджи в контролния панел за <a href=\"%1\">добавките</a>.",
"containers.available": "Налични контейнери",
"containers.explanation": "Завлачете и пуснете върху някоя активна джаджа",
"containers.none": "Няма",
"container.well": "Кладенец",
"container.jumbotron": "Джъмботрон",
"container.panel": "Панел",
"container.panel-header": "Заглавна част на панел",
"container.panel-body": "Основна част на панел",
"container.alert": "Предупреждение",
"alert.confirm-delete": "Наистина ли искате да изтриете джаджата?",
"alert.updated": "Джаджите са обновени",
"alert.update-success": "Джаджите са обновени успешно"
}

View File

@@ -0,0 +1,69 @@
{
"forum-traffic": "Трафик на форума",
"page-views": "Преглеждания на страниците",
"unique-visitors": "Уникални посетители",
"users": "Потребители",
"posts": "Публикации",
"topics": "Теми",
"page-views-seven": "Последните 7 дни",
"page-views-thirty": "Последните 30 дни",
"page-views-last-day": "Последните 24 часа",
"page-views-custom": "Интервал по избор",
"page-views-custom-start": "Начална дата",
"page-views-custom-end": "Крайна дата",
"page-views-custom-help": "Въведете интервал от дати, за които искате да видите преглежданията на страниците. Ако не се появи календар за избор, можете да въведете датите във формат: <code>ГГГГ-ММ-ДД</code>",
"page-views-custom-error": "Моля, въведете правилен интервал от дати във формата: <code>ГГГГ-ММ-ДД</code>",
"stats.day": "Ден",
"stats.week": "Седмица",
"stats.month": "Месец",
"stats.all": "От началото",
"updates": "Обновления",
"running-version": "Вие използвате <strong>NodeBB версия <span id=\"version\">%1</span></strong>.",
"keep-updated": "Стремете се винаги да използвате най-новата версия на NodeBB, за да се възползвате от последните подобрения на сигурността и поправки на проблеми.",
"up-to-date": "<p>Вие използвате <strong>най-новата версия</strong> <i class=\"fa fa-check\"></i></p>",
"upgrade-available": "<p>Има нова версия (версия %1). Ако имате възможност, <a href=\"https://docs.nodebb.org/configuring/upgrade/\">обновете NodeBB</a>.</p>",
"prerelease-upgrade-available": "<p>Това е остаряла предварителна версия на NodeBB. Има нова версия (версия %1). Ако имате възможност, <a href=\"https://docs.nodebb.org/configuring/upgrade/\">обновете NodeBB</a>.</p>",
"prerelease-warning": "<p>Това е версия за <strong>предварителен преглед</strong> на NodeBB. Възможно е да има неочаквани неизправности. <i class=\"fa fa-exclamation-triangle\"></i></p>",
"running-in-development": "<span>Форумът работи в режим за разработчици, така че може да бъде уязвим. Моля, свържете се със системния си администратор.</span>",
"notices": "Забележки",
"restart-not-required": "Не се изисква рестартиране",
"restart-required": "Изисква се рестартиране",
"search-plugin-installed": "Добавката за търсене е инсталирана",
"search-plugin-not-installed": "Добавката за търсене не е инсталирана",
"search-plugin-tooltip": "Инсталирайте добавка за търсене от страницата с добавките, за да включите функционалността за търсене",
"control-panel": "Системен контрол",
"reload": "Презареждане",
"restart": "Рестартиране",
"restart-warning": "Презареждането и рестартирането на NodeBB ще прекъсне всички връзки за няколко секунди.",
"maintenance-mode": "Режим на профилактика",
"maintenance-mode-title": "Щракнете тук, за да зададете режим на профилактика на NodeBB",
"realtime-chart-updates": "Актуализации на таблиците в реално време",
"active-users": "Дейни потребители",
"active-users.users": "Потребители",
"active-users.guests": "Гости",
"active-users.total": "Общо",
"active-users.connections": "Връзки",
"anonymous-registered-users": "Анонимни към регистрирани потребители",
"anonymous": "Анонимни",
"registered": "Регистрирани",
"user-presence": "Присъствие на потребителите ",
"on-categories": "В списъка с категории",
"reading-posts": "Четящи публикации",
"browsing-topics": "Разглеждащи теми",
"recent": "Скорошни",
"unread": "Непрочетени",
"high-presence-topics": "Теми с най-голяма присъственост",
"graphs.page-views": "Преглеждания на страниците",
"graphs.unique-visitors": "Уникални посетители",
"graphs.registered-users": "Регистрирани потребители",
"graphs.anonymous-users": "Анонимни потребители"
}

View File

@@ -0,0 +1,7 @@
{
"home-page": "Начална страница",
"description": "Изберете коя страница да бъде показана, когато потребителите отидат на главния адрес на форума.",
"home-page-route": "Път на началната страница",
"custom-route": "Персонализиран път",
"allow-user-home-pages": "Разрешаване на потребителските начални страници"
}

View File

@@ -0,0 +1,6 @@
{
"language-settings": "Езикови настройки",
"description": "Езикът по подразбиране определя езиковите настройки за всички потребители, които посещават Вашия форум. <br />Отделните потребители могат да сменят езика си от страницата с настройки на профила си.",
"default-language": "Език по подразбиране",
"auto-detect": "Автоматично разпознаване на езика за гостите"
}

View File

@@ -0,0 +1,27 @@
{
"icon": "Иконка:",
"change-icon": "промяна",
"route": "Маршрут:",
"tooltip": "Подсказка:",
"text": "Текст:",
"text-class": "Текстов клас: <small>незадължително</small>",
"id": "Идентификатор: <small>незадължително</small>",
"properties": "Свойства:",
"only-admins": "Да е видимо само за администраторите",
"only-global-mods-and-admins": "Да е видимо само за глобалните модератори и администраторите",
"only-logged-in": "Да е видимо само за вписаните потребители",
"open-new-window": "Отваряне в нов прозорец",
"installed-plugins-required": "Нужни инсталирани добавки:",
"search-plugin": "Търсене на добавката",
"btn.delete": "Изтриване",
"btn.disable": "Изключване",
"btn.enable": "Включване",
"available-menu-items": "Налични елементи за менюто",
"custom-route": "Персонализиран маршрут",
"core": "ядро",
"plugin": "добавка"
}

View File

@@ -0,0 +1,5 @@
{
"post-sharing": "Споделяне на публикации",
"info-plugins-additional": "Добавките могат да добавят допълнителни мрежи за споделяне на публикации.",
"save-success": "Мрежите за споделяне на публикации са запазени успешно!"
}

View File

@@ -0,0 +1,9 @@
{
"notifications": "Известия",
"chat-messages": "Съобщения в разговори",
"play-sound": "Пускане",
"incoming-message": "Входящо съобщение",
"outgoing-message": "Изходящо съобщение",
"upload-new-sound": "Качване на нов звук",
"saved": "Настройките са запазени"
}

View File

@@ -0,0 +1,69 @@
{
"settings": "Настройки на категорията",
"privileges": "Правомощия",
"name": "Име на категорията",
"description": "Описание на категорията",
"bg-color": "Цвят на фона",
"text-color": "Цвят на текста",
"bg-image-size": "Размер на фоновото изображение",
"custom-class": "Персонализиран клас",
"num-recent-replies": "Брой на скорошните отговори",
"ext-link": "Външна връзка",
"is-section": "Използване на тази категория като раздел",
"upload-image": "Качване на изображение",
"delete-image": "Премахване",
"category-image": "Изображение на категорията",
"parent-category": "Базова категория",
"optional-parent-category": "(Незадължително) Базова категория",
"parent-category-none": "(Няма)",
"copy-settings": "Копиране на настройките от",
"optional-clone-settings": "(Незадължително) Копиране на настройките от категория",
"purge": "Изтриване на категорията",
"enable": "Включване",
"disable": "Изключване",
"edit": "Редактиране",
"select-category": "Изберете категория",
"set-parent-category": "Задайте базова категория",
"privileges.description": "В тази секция можете да настроите правомощията за достъп до тази категория. Правомощията могат да бъдат давани на отделни потребители или на цели групи. Можете да добавите нов потребител в тази таблица като го потърсите чрез формуляра по-долу.",
"privileges.warning": "<strong>Забележка</strong>: Настройките за правомощията влизат в сила моментално. Не е нужно да запазвате категорията след като промените тези настройки.",
"privileges.section-viewing": "Правомощия за преглед",
"privileges.section-posting": "Правомощия за публикуване",
"privileges.section-moderation": "Правомощия за модериране",
"privileges.section-user": "Потребител",
"privileges.search-user": "Добавяне на потребител",
"privileges.no-users": "В тази категория няма правомощия за отделни потребители.",
"privileges.section-group": "Група",
"privileges.group-private": "Тази група е частна",
"privileges.search-group": "Добавяне на група",
"privileges.copy-to-children": "Копиране в наследниците",
"privileges.copy-from-category": "Копиране от категория",
"privileges.inherit": "Ако групата на <code>регистрираните потребители</code> получи дадено правомощие, всички останали групи го получават като <strong>подразбиращо се правомощие</strong>, дори то да не им е специално дадено. Вие виждате това подразбиращо се правомощие, защото всички потребители са членове на групата на <code>регистрираните потребители</code>, така че няма нужда да се дават едни и същи правомощия на още групи.",
"analytics.back": "Назад към списъка с категориите",
"analytics.title": "Аналитични данни за категорията „%1“",
"analytics.pageviews-hourly": "<strong>Фигура 1</strong> &ndash; Преглеждания на час за тази категория</small>",
"analytics.pageviews-daily": "<strong>Фигура 2</strong> &ndash; Преглеждания на ден за тази категория</small>",
"analytics.topics-daily": "<strong>Фигура 3</strong> &ndash; Брой теми в тази категория на ден</small>",
"analytics.posts-daily": "<strong>Фигура 4</strong> &ndash; Брой публикации в тази категория на ден</small>",
"alert.created": "Създадена",
"alert.create-success": "Категорията е създадена успешно!",
"alert.none-active": "Нямате активни категории.",
"alert.create": "Създаване на категория",
"alert.confirm-moderate": "<strong>Наистина ли искате да дадете правомощието за модериране на тази потребителска група?</strong> Тази група е публична и всеки може свободно да се присъедини към нея.",
"alert.confirm-purge": "<p class=\"lead\">Наистина ли искате да изтриете категорията „%1“?</p><h5><strong class=\"text-danger\">Внимание!</strong> Всички теми и публикации в тази категория ще бъдат изтрити!</h5> <p class=\"help-block\">Изтриването на категорията ще премахне всички теми и публикации, и ще изтрие категорията от базата данни. Ако искате да премахнете категорията <em>временно</em>, можете просто да я „изключите“.</p>",
"alert.purge-success": "Категорията е изтрита!",
"alert.copy-success": "Настройките са копирани!",
"alert.set-parent-category": "Задаване на базова категория",
"alert.updated": "Обновени категории",
"alert.updated-success": "Категориите с идентификатори %1 са обновени успешно.",
"alert.upload-image": "Качване на изображение за категорията",
"alert.find-user": "Търсене на потребител",
"alert.user-search": "Потърсете потребител тук…",
"alert.find-group": "Търсене на група",
"alert.group-search": "Потърсете група тук…"
}

View File

@@ -0,0 +1,35 @@
{
"name": "Име на групата",
"description": "Описание на групата",
"member-count": "Брой на членовете",
"system": "Системна група",
"edit": "Редактиране",
"search-placeholder": "Търсене",
"create": "Създаване на група",
"description-placeholder": "Кратко описание на групата",
"create-button": "Създаване",
"alerts.create-failure": "<strong>Опа!</strong><p>Възникна проблем при създаването на групата. Моля, опитайте отново по-късно!</p>",
"alerts.confirm-delete": "Наистина ли искате да изтриете тази група?",
"edit.name": "Име",
"edit.description": "Описание",
"edit.user-title": "Звание на членовете",
"edit.icon": "Иконка на групата",
"edit.label-color": "Цвята за етикета на групата",
"edit.show-badge": "Показване на емблема",
"edit.private-details": "Ако е включено, присъединяването към група ще изисква одобрение от собственик на групата.",
"edit.private-override": "Внимание: Частните групи са изключени на системно ниво, това пренебрегва тази настройка.",
"edit.disable-requests": "Изключване на заявките за присъединяване",
"edit.hidden": "Скрита",
"edit.hidden-details": "Ако е включено, групата няма да е видима в списъка с групи и ще трябва потребителите да бъдат поканени специално.",
"edit.add-user": "Добавяне на потребител към групата",
"edit.add-user-search": "Търсене на потребители",
"edit.members": "Списък на членовете",
"control-panel": "Контролен панел за групите",
"revert": "Отмяна",
"edit.no-users-found": "Няма намерени потребители",
"edit.confirm-remove-user": "Наистина ли искате да премахнете този потребител?",
"edit.save-success": "Промените са запазени!"
}

Some files were not shown because too many files have changed in this diff Show More