Compare commits

...

485 Commits

Author SHA1 Message Date
Julian Lam
74786a32ac 0.3.0 2014-01-21 16:58:06 -05:00
Julian Lam
308110db49 adding lavender to dependencies 2014-01-21 16:57:28 -05:00
psychobunny
3b4f0a8f4e updating motd for incoming theme 2014-01-21 16:51:04 -05:00
Julian Lam
53a1474785 second pass for #773, blocked for now 2014-01-21 15:29:34 -05:00
Julian Lam
bafc8caaf5 first pass at #773 2014-01-21 15:17:41 -05:00
Julian Lam
397861c3cc Merge branch 'master' of github.com:designcreateplay/NodeBB 2014-01-21 14:01:38 -05:00
Julian Lam
0020f278a5 stopped using unnecessary regex in user search 2014-01-21 13:59:03 -05:00
Baris Soner Usakli
56c789ed61 Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2014-01-21 12:35:41 -05:00
Baris Soner Usakli
aa2978976c notif fix 2014-01-21 12:35:34 -05:00
Julian Lam
73d9d6e1d3 Merge branch 'master' of github.com:designcreateplay/NodeBB 2014-01-21 12:33:22 -05:00
Julian Lam
92706a6550 fixed #826 2014-01-21 12:33:11 -05:00
Baris Soner Usakli
74ccfd1e4d moved islatin out too 2014-01-21 12:02:46 -05:00
Baris Soner Usakli
8f8ea4de92 slug fix 2014-01-21 12:01:09 -05:00
Baris Soner Usakli
104ec7de6e last poster is visible, slugify check for latin #777 2014-01-21 11:48:56 -05:00
Baris Soner Usakli
a1149b8f8d notif unread class 2014-01-21 10:38:20 -05:00
Baris Soner Usakli
f107803550 fix 2014-01-21 10:07:24 -05:00
Baris Soner Usakli
039f02456d if user is in the topic when a new post comes in mark the topic read 2014-01-21 10:06:13 -05:00
Baris Soner Usakli
9400e5bcc9 motd 2014-01-21 01:27:39 -05:00
Baris Soner Usakli
4cae491438 last one for the night 2014-01-21 00:47:33 -05:00
Baris Soner Usakli
93534832b9 small 2014-01-21 00:21:59 -05:00
Baris Soner Usakli
9cd2b36c97 minor fix to topic.tpl 2014-01-21 00:16:35 -05:00
Baris Soner Usakli
a0b80e4061 shouldnt be in template 2014-01-20 23:25:27 -05:00
Baris Soner Usakli
ccc62a202b dont go to top on search icon click 2014-01-20 21:41:04 -05:00
Baris Soner Usakli
0a1d45b0b9 default panle 2014-01-20 21:33:13 -05:00
Baris Soner Usakli
56fcae1cb2 Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2014-01-20 21:29:22 -05:00
Baris Soner Usakli
7c16a8be31 recent reply fix 2014-01-20 21:29:14 -05:00
Julian Lam
cc236c1f72 Merge branch 'master' of github.com:designcreateplay/NodeBB 2014-01-20 21:15:55 -05:00
Julian Lam
39d9dd76dc removed preview button from ACP/themes 2014-01-20 21:15:52 -05:00
Baris Soner Usakli
f282dcd677 Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2014-01-20 21:00:21 -05:00
Baris Soner Usakli
55d4a5fe3a template fixes closes #825 2014-01-20 21:00:10 -05:00
Julian Lam
affa51856b closed #801 pending explanation 2014-01-20 19:05:19 -05:00
Baris Soner Usakli
12a5b6b4c6 body margin for composer 2014-01-20 16:50:39 -05:00
Barış Soner Uşaklı
94f38d0622 Merge pull request #822 from BitBangersCode/admin-fix
Confirmation when removing user from a group
2014-01-20 13:18:52 -08:00
Josh
f7a290d0b3 removed function
removed function that did not work
2014-01-20 20:55:53 +00:00
Josh
a86ff15f7b Removed code for yourid
removed code that will give the current user id in a var called yourid
2014-01-20 20:54:19 +00:00
Baris Soner Usakli
030cfbffa4 Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2014-01-20 15:35:17 -05:00
Baris Soner Usakli
ed1c276739 only drag chat modal from header 2014-01-20 15:35:10 -05:00
Josh
f14ad11dd0 add remove user from group confirmation
Added confirmation request when removing user from a group.
2014-01-20 20:28:46 +00:00
Julian Lam
9c9fadb5a1 upping mentions minver 2014-01-20 14:53:09 -05:00
Julian Lam
663aff4b24 fixed #723 - bootswatch now using BootstrapCDN, scheme-independant URL 2014-01-20 13:41:46 -05:00
Julian Lam
2654a8e86a added cache buster to ACP theme 2014-01-20 13:22:03 -05:00
Julian Lam
cef54fbf6d Merge branch 'master' of github.com:designcreateplay/NodeBB 2014-01-20 13:17:17 -05:00
Julian Lam
f9e8178d25 fixed timeagago for zh_cn 2014-01-20 13:16:23 -05:00
Baris Soner Usakli
71888adb09 closes #815, closes #816 2014-01-20 12:56:09 -05:00
Julian Lam
e2960e3ed6 Merge pull request #819 from BitBangersCode/mongo-fix
Add callback to mongo.searchRemove, fixes infinite schema update
2014-01-20 08:28:23 -08:00
MrWaffle
e4d8ddcf1b Add callback to mongo.removeSearch, fixes infinite schema update 2014-01-20 17:21:45 +01:00
Julian Lam
d6ae91312e Merge branch 'master' of github.com:TheRealDrZ/NodeBB into TheRealDrZ-master
Conflicts:
	public/templates/composer.tpl
2014-01-20 11:15:16 -05:00
Julian Lam
e1a9fe9691 Merge branch 'WindowsFix' of github.com:BitBangersCode/NodeBB into BitBangersCode-WindowsFix
Conflicts:
	src/webserver.js
2014-01-20 11:08:41 -05:00
Julian Lam
33c84d4684 Merge branch 'akhoury-master' 2014-01-20 11:04:10 -05:00
Julian Lam
95355f9036 added 'dir' value into language.json, added support for translator to add dir attribute to html element if necessary 2014-01-20 11:04:06 -05:00
Julian Lam
938b78786e closed #818 - case insensitive user search 2014-01-20 10:55:29 -05:00
Julian Lam
895bff9b62 Merge branch 'master' of github.com:akhoury/NodeBB into akhoury-master 2014-01-20 10:48:06 -05:00
Julian Lam
cf69b9fcb3 fixed #817 - issue where the bootswatch theme was loaded before vanilla, causing default bootstrap to override the bootswatch loaded bootstrap 2014-01-20 10:46:49 -05:00
akhoury
58525bd09c f'in arabs 2014-01-20 01:39:11 -05:00
Baris Soner Usakli
5a069f1076 Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2014-01-19 22:44:16 -05:00
Baris Soner Usakli
84aa1ab527 motd string and class 2014-01-19 22:44:13 -05:00
Julian Lam
2cfe59f124 Merge branch 'master' of github.com:designcreateplay/NodeBB 2014-01-19 22:29:36 -05:00
Julian Lam
ee6ac77f8b new upgrade directive 2014-01-19 22:29:28 -05:00
Julian Lam
b6aa31b245 removed references to Reds user search 2014-01-19 22:11:34 -05:00
Julian Lam
e542da1f52 added alphanumeric user search (instead of using reds), and exposed a proper socket call for user searching for non-admins 2014-01-19 22:07:29 -05:00
Baris Soner Usakli
f7aa808fa7 Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2014-01-19 22:06:33 -05:00
Baris Soner Usakli
050ab738e4 fixed drop area top 2014-01-19 22:06:25 -05:00
Julian Lam
483ad87c1d first pass 2014-01-19 21:46:39 -05:00
Julian Lam
cfe46f38ee Merge branch 'master' of github.com:designcreateplay/NodeBB 2014-01-19 18:35:23 -05:00
Baris Soner Usakli
d1ccc692ae pull right dropdowns 2014-01-19 18:35:18 -05:00
Julian Lam
0c0ae6560a re: #808 -- removed upgrade directives for v0.2.x branch, and added minSchemaDate check so that if you try to upgrade without doing all upgrades in a previous branch, it will abort. 2014-01-19 18:34:11 -05:00
Baris Soner Usakli
c9f43a60b9 Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2014-01-19 18:18:55 -05:00
Baris Soner Usakli
3d30c0bd87 tmp fix for nested if 2014-01-19 18:18:47 -05:00
Julian Lam
3624717d84 Merge branch 'master' of github.com:designcreateplay/NodeBB 2014-01-19 18:02:07 -05:00
Julian Lam
07b286650c adding cache buster to ACP, removing bootstrap css in ACP 2014-01-19 18:02:03 -05:00
Baris Soner Usakli
4273fc4d23 added check for valid field 2014-01-19 18:02:01 -05:00
Baris Soner Usakli
32adbc8c77 close modal on error 2014-01-19 17:49:16 -05:00
Baris Soner Usakli
7310fe82d3 Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2014-01-19 17:28:15 -05:00
Baris Soner Usakli
189e69284e fixes for post privileges 2014-01-19 17:28:08 -05:00
Julian Lam
0ccb8a77ba Merge pull request #811 from BitBangersCode/alternate_title_fix
Only alternate title when not focused
2014-01-19 14:25:15 -08:00
Julian Lam
e8d6df22cb Merge branch 'master' of github.com:designcreateplay/NodeBB 2014-01-19 17:18:18 -05:00
Julian Lam
5861630dec - removed autocomplete in composer core (now entirely in mentions)
- upped jQuery UI to 1.10.4
2014-01-19 17:17:40 -05:00
MrWaffle
c1fea52a93 Only alternate title when not focused 2014-01-19 22:38:44 +01:00
Baris Soner Usakli
1980e945da fixed admin page active sockets 2014-01-19 14:42:47 -05:00
Baris Soner Usakli
16a42619b5 closes #809 2014-01-19 14:27:07 -05:00
Baris Soner Usakli
54c05f9027 title is no longer centered in composer 2014-01-19 12:59:45 -05:00
Baris Soner Usakli
9879f645f6 added check for undefined, null empty string 2014-01-18 23:28:13 -05:00
Baris Soner Usakli
bbac361670 fixed crash if empty topic was loaded without ajaxify 2014-01-18 23:18:58 -05:00
Baris Soner Usakli
84cbcc5a97 closes #798 2014-01-18 22:23:25 -05:00
Baris Soner Usakli
8c1c844007 closes #806 2014-01-18 21:57:06 -05:00
Baris Soner Usakli
1dddd77ae1 Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2014-01-18 19:15:17 -05:00
Baris Soner Usakli
72447c9b9c grouped post buttons in dropdowns 2014-01-18 19:15:07 -05:00
psychobunny
025e1293fa removed deprecated cssSrc, replaced with optional bootswatchCSS 2014-01-18 16:13:01 -05:00
psychobunny
df53d836e5 fixed dependency check for cerulean 2014-01-18 16:01:14 -05:00
Baris Soner Usakli
e83e7870ce Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2014-01-18 16:00:12 -05:00
Baris Soner Usakli
d8e14acbbf closes #799 2014-01-18 16:00:05 -05:00
psychobunny
4ef5ffe7fd upped minver of cerulean to 0.0.12 - please upgrade 2014-01-18 15:59:39 -05:00
Baris Soner Usakli
5072b9c8a5 Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2014-01-18 15:35:58 -05:00
Baris Soner Usakli
959e6e83ea closes #796 2014-01-18 15:35:51 -05:00
psychobunny
1528c70a30 deleted BS css files from core - please update vanilla 2014-01-18 15:12:49 -05:00
psychobunny
6af143900a upped minver of vanilla to 0.0.13 - please update 2014-01-18 15:12:35 -05:00
Dr.Z
43cc975ff7 Add Simplized Chinese.
Just modified the .json in language folder and some .tpl in the
templates folder(except the admin folder). Noted there are a lot of
front-end related code in the .js files, I’ll move on to them.
2014-01-19 01:04:12 +08:00
Julian Lam
0397773b22 Merge pull request #802 from tedr56/master
Fr translation Updates
2014-01-18 06:30:26 -08:00
MrWaffle
5ed77b032e Fix plugin CSS files on Windows 2014-01-18 14:58:20 +01:00
TedVJ
b5ed7b8b72 Fr translation fixes 2014-01-18 14:47:41 +01:00
TedVJ
a2165403a7 Fr translation for fd92d7b02a 2014-01-18 14:33:25 +01:00
Baris Soner Usakli
324bec41c4 chain 2014-01-17 20:10:09 -05:00
Baris Soner Usakli
0db6423c26 closes #792, fixes multiple composers 2014-01-17 19:42:20 -05:00
Baris Soner Usakli
dc27638ca8 sitemap fix 2014-01-17 18:58:38 -05:00
Baris Soner Usakli
c00bd0b8d0 oops fixed 2014-01-17 18:14:00 -05:00
Baris Soner Usakli
22e1b0f22e check result for null 2014-01-17 18:12:56 -05:00
Baris Soner Usakli
e6a9f5a704 error check 2014-01-17 18:11:36 -05:00
Baris Soner Usakli
fd92d7b02a can mark topic unread for all 2014-01-17 17:26:07 -05:00
Baris Soner Usakli
25b50323fa markdown text in composer 2014-01-17 17:07:09 -05:00
Baris Soner Usakli
7752d24b21 Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2014-01-17 16:30:12 -05:00
Baris Soner Usakli
00c6fc17ac removed console.log 2014-01-17 16:27:17 -05:00
psychobunny
4e5dfbc1c9 find .post-row instead of any li 2014-01-17 16:26:32 -05:00
Baris Soner Usakli
24ceb0f083 Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2014-01-17 16:16:07 -05:00
Baris Soner Usakli
48eb6a3f22 composer changeS 2014-01-17 16:16:00 -05:00
Julian Lam
123f92ca1e fixed #711 2014-01-17 15:36:10 -05:00
Julian Lam
917dfe74e6 removing console log and removing a bit of code that would cause infinite loader to take 2.5s extra each round :P 2014-01-17 14:52:43 -05:00
Julian Lam
d8c4609ee0 fixed #649 - Once you hit the end, infinite loader will stop for good. If infinite loader is active when the browser hits the bottom, updateHeader will not assume 100%. 2014-01-17 14:47:18 -05:00
Julian Lam
962955f06a fixed bug with search (getTopicsByTids became error-first) 2014-01-17 14:29:46 -05:00
Julian Lam
51abf60b3a Merge branch 'socketAL-fix' 2014-01-17 14:15:56 -05:00
Julian Lam
48c22567c2 fixed #791 2014-01-17 14:13:23 -05:00
Julian Lam
17f98804c6 commented out "remember me" checkbox because it actually does nothing... :x 2014-01-17 14:08:12 -05:00
Baris Soner Usakli
e884ff1f59 modules fixes 2014-01-17 12:55:38 -05:00
Baris Soner Usakli
a34775a6c2 meta fixes 2014-01-17 12:52:04 -05:00
Baris Soner Usakli
c0712583f2 fixed category sockets 2014-01-17 12:49:21 -05:00
Baris Soner Usakli
d72926a5bb Merge branch 'socketAL-fix' of https://github.com/designcreateplay/NodeBB into socketAL-fix 2014-01-17 12:42:26 -05:00
Baris Soner Usakli
a802dc4b68 admin.js socket fixes 2014-01-17 12:42:19 -05:00
Julian Lam
af6eb5359e Merge branch 'master' into socketAL-fix
Conflicts:
	public/language/cs/global.json
	public/language/fr/global.json
	src/routes/api.js
2014-01-17 12:10:49 -05:00
Julian Lam
727ad4b651 added cache buster to nodebb.min.js even if it has not changed 2014-01-17 12:07:33 -05:00
Julian Lam
5e695d3222 fixed incorrect language string used in fb button in default motd 2014-01-17 12:02:12 -05:00
Julian Lam
55c296a229 Merge pull request #790 from tedr56/master
Fr Translation Update
2014-01-17 08:33:15 -08:00
TedVJ
27762c2ab9 Fr Translation update #3 2014-01-17 16:41:04 +01:00
TedVJ
f63ab0faeb Fr Translation update #2 2014-01-17 16:35:32 +01:00
TedVJ
cfbbc238f6 Fr Translation Update 2014-01-17 16:16:51 +01:00
Julian Lam
2b32ede4d8 fixed czech welcome message 2014-01-17 09:09:43 -05:00
Julian Lam
04da0447b5 fixed global:motd.get in es 2014-01-17 08:58:53 -05:00
Julian Lam
45ce0566e7 added translation to default MOTD 2014-01-17 08:58:46 -05:00
Julian Lam
14b31cf4c8 hiding fork button on xs/sm devices (default motd) 2014-01-17 08:58:40 -05:00
Julian Lam
c1c9438220 patching translator to ignore non-js files 2014-01-17 08:58:33 -05:00
Julian Lam
13ae2e9401 fixed global:motd.get in es 2014-01-17 08:54:34 -05:00
Julian Lam
beec96416f added translation to default MOTD 2014-01-17 08:53:23 -05:00
Julian Lam
253913f8d9 hiding fork button on xs/sm devices (default motd) 2014-01-17 08:12:30 -05:00
Julian Lam
7e9d344487 patching translator to ignore non-js files 2014-01-17 08:04:23 -05:00
Baris Soner Usakli
cfaa6556d6 pass err 2014-01-17 00:07:02 -05:00
Baris Soner Usakli
b062af2c4b fixed user pwd reset 2014-01-16 23:46:08 -05:00
Baris Soner Usakli
b7f0c90bf7 more fixes 2014-01-16 22:44:34 -05:00
Baris Soner Usakli
b3816b98a1 more post fixes 2014-01-16 22:06:23 -05:00
Baris Soner Usakli
9e6f7fa960 reset 2014-01-16 21:19:57 -05:00
Baris Soner Usakli
31d353ab0e more fixes 2014-01-16 21:19:29 -05:00
Barış Soner Uşaklı
3a57c3b6d8 removed disabled attrib from reset button 2014-01-16 20:59:01 -05:00
Baris Soner Usakli
8740cc0fc7 Merge branch 'socketAL-fix' of https://github.com/designcreateplay/NodeBB into socketAL-fix 2014-01-16 20:53:42 -05:00
Baris Soner Usakli
ae76bb3928 lots of err first fixeS 2014-01-16 20:53:32 -05:00
Julian Lam
111776d878 notifications socket callbacks 2014-01-16 20:29:11 -05:00
Julian Lam
e95da77fe8 Merge branch 'socketAL-fix' of github.com:designcreateplay/NodeBB into socketAL-fix 2014-01-16 20:14:19 -05:00
Julian Lam
bc48ba874d fixed module.js callback format 2014-01-16 20:14:09 -05:00
Baris Soner Usakli
ced37044ca Merge branch 'socketAL-fix' of https://github.com/designcreateplay/NodeBB into socketAL-fix 2014-01-16 19:59:03 -05:00
Baris Soner Usakli
426d3e871f more fixes 2014-01-16 19:58:57 -05:00
Julian Lam
cbb630fd6b fixed categories.js socket callbacks 2014-01-16 19:57:28 -05:00
Julian Lam
8041bee9fd Merge branch 'socketAL-fix' of github.com:designcreateplay/NodeBB into socketAL-fix 2014-01-16 19:10:30 -05:00
Baris Soner Usakli
6da6baa213 more crash fixes to socketS 2014-01-16 18:50:45 -05:00
Baris Soner Usakli
ba8e98520c added data checks to user calls 2014-01-16 18:18:42 -05:00
Baris Soner Usakli
ddb9a4a60e fixed user load more 2014-01-16 18:12:31 -05:00
Baris Soner Usakli
4366c11ec0 users.js fix 2014-01-16 18:10:38 -05:00
Baris Soner Usakli
39b631a3a8 more fixes 2014-01-16 18:06:19 -05:00
Baris Soner Usakli
e061978bd5 more fixes 2014-01-16 17:52:46 -05:00
Baris Soner Usakli
2515ba9455 Merge branch 'socketAL-fix' of https://github.com/designcreateplay/NodeBB into socketAL-fix 2014-01-16 17:32:45 -05:00
Baris Soner Usakli
afe97233aa more fixes 2014-01-16 17:32:33 -05:00
Julian Lam
8b1ed1297b linting 2014-01-16 17:25:14 -05:00
Julian Lam
765402a2a0 fixed ACP online count 2014-01-16 17:22:11 -05:00
Baris Soner Usakli
e5c8caf5ff more fixes 2014-01-16 17:15:00 -05:00
Baris Soner Usakli
1ec21c2bfd metatitle 2014-01-16 17:11:27 -05:00
Baris Soner Usakli
7470c1bbd9 more fixes 2014-01-16 17:07:34 -05:00
Baris Soner Usakli
2893693d17 Merge branch 'socketAL-fix' of https://github.com/designcreateplay/NodeBB into socketAL-fix 2014-01-16 16:50:48 -05:00
Baris Soner Usakli
0b132cadcf user fixes 2014-01-16 16:50:41 -05:00
Julian Lam
3177fdfa74 partially fixed acp active users 2014-01-16 16:26:47 -05:00
Julian Lam
08f97efcd4 Merge branch 'socketAL-fix' of github.com:designcreateplay/NodeBB into socketAL-fix 2014-01-16 16:11:30 -05:00
Julian Lam
71f1f7137a fixes 2014-01-16 16:11:23 -05:00
Baris Soner Usakli
220b40ff9c topics.js 2014-01-16 16:10:23 -05:00
Julian Lam
97eff9c8a1 fixing index call and meta.js 2014-01-16 15:57:13 -05:00
Baris Soner Usakli
adf4a5c407 user.js changes 2014-01-16 15:46:37 -05:00
Julian Lam
42d6880ac4 migrating posts to new socketAL format 2014-01-16 15:34:43 -05:00
Julian Lam
35aa06c230 migrating notifications to new socketAL format 2014-01-16 15:31:57 -05:00
Julian Lam
be3284e05e migrating modules.js to new socketAL style 2014-01-16 15:28:21 -05:00
Baris Soner Usakli
8bb24fa034 fixed update header 2014-01-16 15:25:04 -05:00
Julian Lam
2235dbd2a0 migrating meta.js to new socketAL format 2014-01-16 15:19:07 -05:00
Baris Soner Usakli
f6bd52014e fixed conflict 2014-01-16 15:18:13 -05:00
Baris Soner Usakli
accde93fff removed api: from server 2014-01-16 15:17:25 -05:00
Julian Lam
69a9570186 migrated catefories.js to new socketAL format 2014-01-16 15:16:12 -05:00
Julian Lam
c215e61541 fixed up admin.js 2014-01-16 15:13:22 -05:00
Baris Soner Usakli
67799eac95 removed api: from client side socket calls 2014-01-16 15:10:37 -05:00
Julian Lam
4184574164 WIP admin.js socket underping 2014-01-16 15:00:49 -05:00
Baris Soner Usakli
d234dbdca2 first set of changes 2014-01-16 14:57:03 -05:00
Julian Lam
dfd2df99e6 removed "mark all as read" language strings and removed button from notifications page -- fixes #785 2014-01-16 14:25:46 -05:00
Julian Lam
b32887f2ce Merge branch 'master' of github.com:designcreateplay/NodeBB 2014-01-16 12:35:18 -05:00
Julian Lam
a48a7acd51 fixing issue where after a user changed their username, the new name was not reindexed by Reds 2014-01-16 12:34:48 -05:00
Baris Soner Usakli
8f9f5b2849 added user images to profile button in mobile view 2014-01-16 02:37:55 -05:00
Baris Soner Usakli
72fd78ac26 fixed indent in chat.tpl 2014-01-15 19:22:11 -05:00
Baris Soner Usakli
16aeb2d09d added fb to motd default 2014-01-15 18:58:31 -05:00
Baris Soner Usakli
2d87ba534c can paste images directly from clipboard 2014-01-15 18:44:09 -05:00
Baris Soner Usakli
e671f0343e closes #782 2014-01-15 17:36:06 -05:00
Baris Soner Usakli
e16c3f3f80 added try catch to socket calls 2014-01-15 13:23:53 -05:00
Baris Soner Usakli
b303fdcfd7 removed inline css 2014-01-15 12:58:43 -05:00
MrWaffle
b78dc3eca8 Chat now supports markdown 2014-01-15 18:20:05 +01:00
Baris Soner Usakli
1bf3d33765 prevent clicks on autocomplete to scroll window to the top 2014-01-15 03:22:49 -05:00
Baris Soner Usakli
cd4cb240c8 upload file icon in composer was visible even when uploads were disabled 2014-01-15 02:33:20 -05:00
Baris Soner Usakli
82bc0aec6b Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2014-01-14 19:23:33 -05:00
Baris Soner Usakli
c94da47ae8 added profile func, shorter getRecentReplies 2014-01-14 19:23:27 -05:00
Julian Lam
7de540dc74 Merge branch 'master' of github.com:designcreateplay/NodeBB 2014-01-14 19:01:53 -05:00
Julian Lam
b3f23d41d3 fixed #744 2014-01-14 19:01:12 -05:00
Baris Soner Usakli
466c02a886 removed teaser_text 2014-01-14 19:00:18 -05:00
Baris Soner Usakli
265d1f6331 Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2014-01-14 18:05:02 -05:00
Baris Soner Usakli
dcf47f558e limit search in db 2014-01-14 18:04:54 -05:00
Julian Lam
facacc65aa Merge branch 'master' of github.com:designcreateplay/NodeBB 2014-01-14 17:03:13 -05:00
Julian Lam
442c543d27 fixed #776 2014-01-14 17:02:54 -05:00
psychobunny
8c5a458798 fixed 403 redirect from logged out /admin 2014-01-14 14:33:43 -05:00
psychobunny
98d42b0ade moving social sharing parsing code from server side to client side & cleaned up templates 2014-01-14 14:30:14 -05:00
Baris Soner Usakli
75850bd315 closes #772 2014-01-14 13:10:31 -05:00
Julian Lam
5efc1e5de8 Merge branch 'master' of github.com:designcreateplay/NodeBB 2014-01-14 12:34:54 -05:00
Julian Lam
d48e749d54 removed confirmation prompt in upgrade option in nodebb executable 2014-01-14 12:34:29 -05:00
psychobunny
6f129d9c68 allow password fields to be saved in ACP 2014-01-14 12:25:27 -05:00
Julian Lam
acc390f6ef added timeago locales, fixed timeago template error in ACP. 2014-01-14 11:13:58 -05:00
Julian Lam
c8a514aa37 updated new timeago path 2014-01-14 11:03:49 -05:00
Julian Lam
0ea09972b4 fixed issue where outgoing links warning page would intercept clicks to the search button in the headerbar (thanks @dove)
- linted some files
2014-01-14 10:31:21 -05:00
Julian Lam
3837841882 removed automatic "visible-xs-inline" on links added by static-page or -42 2014-01-14 10:13:12 -05:00
Julian Lam
a05d2d44e9 fixed cerulean version 2014-01-14 09:31:24 -05:00
Julian Lam
ebcf8eb03b upping cerulean minver 2014-01-14 09:28:44 -05:00
Julian Lam
bc407ee59c fixing topic moving 2014-01-14 09:19:33 -05:00
Julian Lam
a32aee60c2 reversing accidentally committed code to socket.io/index 2014-01-14 08:54:42 -05:00
Julian Lam
0266c5516c Merge branch 'master' of github.com:designcreateplay/NodeBB 2014-01-14 08:53:25 -05:00
Julian Lam
32470efb22 fixing upgrade script console.log and missing sessionData for topic moving 2014-01-14 08:53:10 -05:00
Baris Soner Usakli
bbcc2312db better redis info parser from node-redis 2014-01-14 08:20:41 -05:00
Baris Soner Usakli
07085f1ff2 fixed sockettopics.post 2014-01-14 07:39:01 -05:00
Baris Soner Usakli
0198024db0 parseInt uid 2014-01-14 07:36:01 -05:00
Baris Soner Usakli
bc835f59d4 mongo getListRange fix 2014-01-13 20:46:43 -05:00
Baris Soner Usakli
a97ee201d8 makes recent unread and category pages a lot faster, added logging when a user changes their username 2014-01-13 18:02:06 -05:00
Baris Soner Usakli
c07bf466b2 added back search limiting 2014-01-13 15:45:50 -05:00
Baris Soner Usakli
3475ed59c8 removed reds from install.js 2014-01-13 15:38:27 -05:00
Baris Soner Usakli
93292e701d added error check to setOnEmpty 2014-01-13 14:28:05 -05:00
Baris Soner Usakli
243cb5af61 fixed mobile search link 2014-01-13 14:19:08 -05:00
Baris Soner Usakli
26274bd75a closes #767 2014-01-13 13:50:33 -05:00
Julian Lam
97cc6cde67 closed #733 - after upgrade script, all users will be in a system "registered users" group 2014-01-13 13:32:49 -05:00
Julian Lam
619fe74fc0 moved groups admin socket calls into admin file instead of standalone groups file 2014-01-13 12:09:13 -05:00
Julian Lam
4453d055ea linted socket/admin.js 2014-01-13 12:05:13 -05:00
Julian Lam
aa689a7a29 fixed active users socket calls in ACP 2014-01-13 12:01:42 -05:00
Julian Lam
3fb44d7693 who needs recursion, bitch?
- enhanced socket abs layer so that a method call of infinite depth is supported (theoretically).
2014-01-13 11:40:08 -05:00
Julian Lam
5db9ff11d5 linting and adding missing require'd dep 2014-01-13 11:23:21 -05:00
Julian Lam
5e538ef051 fixed #710 - added labels to the top bar (update vanilla!)
merged "loading" and "more_posts" in topic i18n data, changed behaviour so that on mobile, only the spinner shows.
2014-01-13 10:47:48 -05:00
Julian Lam
2078fa25f8 added classname to chat dropdown if there are no chats 2014-01-13 10:11:23 -05:00
Julian Lam
b86ae3f7f0 fixed #756 - sequestering Notifications and Chat DOM functions in their module, and not in footer 2014-01-13 10:06:00 -05:00
Julian Lam
e36f92b18e closed #764 2014-01-13 09:50:29 -05:00
Barış Soner Uşaklı
dea43ee008 Merge pull request #763 from bdharrington7/master
added login register selectors to close the nav when clicked
2014-01-12 15:22:07 -08:00
Baris Soner Usakli
6053a8caa5 search icon should be hidden-xs 2014-01-12 18:21:00 -05:00
bdharrington7
bf96903d6e removed submenu for login / register in guest menu options 2014-01-12 15:10:10 -08:00
bdharrington7
e8c7860f12 Merge branch 'master' of https://github.com/bdharrington7/NodeBB 2014-01-12 14:15:14 -08:00
bdharrington7
2b63b2c52a fixed bug that hid the login menu option 2014-01-12 13:45:27 -08:00
bdharrington7
0ad1f1576b Fix: login / register collapses on click, Search unavailable if not allowed 2014-01-12 13:45:27 -08:00
Baris Soner Usakli
5febb3dc23 clicking the pagination block no longer sends page to top 2014-01-12 13:45:27 -08:00
Baris Soner Usakli
a885444740 fixes toggle_mod_tools undefined error 2014-01-12 13:45:27 -08:00
bdharrington7
d60151a6cc excluding .DS_Store 2014-01-12 13:45:26 -08:00
bdharrington7
3ccc11d53c fixed bug that hid the login menu option 2014-01-12 13:36:15 -08:00
bdharrington7
cfda0a93c4 Fix: login / register collapses on click, Search unavailable if not allowed 2014-01-12 13:12:13 -08:00
Baris Soner Usakli
92894277a9 clicking the pagination block no longer sends page to top 2014-01-12 15:52:44 -05:00
Baris Soner Usakli
1580226757 fixes toggle_mod_tools undefined error 2014-01-12 15:37:33 -05:00
bdharrington7
ffa1f1703d Merge branch 'master' of https://github.com/bdharrington7/NodeBB 2014-01-12 12:32:48 -08:00
bdharrington7
99dc989c39 excluding .DS_Store 2014-01-12 12:32:18 -08:00
Julian Lam
8d71098a0f fixed detection for admin client-side scripts 2014-01-12 14:38:54 -05:00
Lumir Mrkva
bd0d09584b added czech translation 2014-01-12 19:24:02 +01:00
Baris Soner Usakli
1e59147d64 closes #760 2014-01-12 00:04:02 -05:00
Julian Lam
3da96faa12 fixed email exists error... weird. 2014-01-11 22:14:20 -05:00
Julian Lam
98e4257939 Merge branch 'master' of github.com:designcreateplay/NodeBB 2014-01-11 22:09:30 -05:00
Julian Lam
eb974ec1d8 fixing user register socket calls 2014-01-11 22:09:23 -05:00
Baris Soner Usakli
30ad852492 closes #758 2014-01-11 17:48:24 -05:00
Baris Soner Usakli
8bc0096b00 dont closed composer if callback isn't called 2014-01-11 16:15:50 -05:00
Baris Soner Usakli
f73c81d6c3 closes #755 2014-01-11 15:33:58 -05:00
Julian Lam
ee963e0c2a moved reconnected socket call to SocketsMeta 2014-01-11 14:03:50 -05:00
Julian Lam
99af660e48 adding missing modules.json files in languages 2014-01-11 14:03:28 -05:00
Julian Lam
6d300e1110 updated chat i18n strings to use new modules.json file, added said files to language dirs 2014-01-11 12:12:04 -05:00
Julian Lam
b61614f87b fixed htmlentities in italian translation 2014-01-11 11:52:43 -05:00
Francesco
fd83769bde added italian language files 2014-01-11 11:44:08 -05:00
Julian Lam
eabe3ada6f upped mentions minver to 0.2 2014-01-11 11:29:05 -05:00
Julian Lam
3264658269 Merge remote-tracking branch 'origin/master' into socketAL 2014-01-11 11:26:52 -05:00
Julian Lam
73cbde4098 removed websockets.js wooo 2014-01-11 11:26:44 -05:00
bdharrington7
e5fc0819b4 excluding .DS_Store 2014-01-10 20:22:17 -08:00
psychobunny
97ec312c72 console.log 2014-01-10 17:08:01 -05:00
psychobunny
05edfdc9c1 templates.js - if custom theme is missing a template, render default template 2014-01-10 17:06:56 -05:00
Julian Lam
067a7a544b Merge remote-tracking branch 'origin/master' into socketAL 2014-01-10 16:09:04 -05:00
Julian Lam
a150691b5e that's the last of it!! :D 2014-01-10 16:00:03 -05:00
Baris Soner Usakli
b8d858ccca Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2014-01-10 14:12:04 -05:00
Baris Soner Usakli
ee1ac1b2c3 fixes post move 2014-01-10 14:11:55 -05:00
Julian Lam
a2329980c8 Merge remote-tracking branch 'origin/master' into socketAL 2014-01-10 13:28:11 -05:00
Julian Lam
ea8aa3fff2 admin stuff, removed deprecated install templates, blah blah 2014-01-10 13:27:50 -05:00
Julian Lam
c5d8a5a6b2 thread tools (phew!) -- sessionData is getting larger :P 2014-01-10 10:50:05 -05:00
psychobunny
ef01717562 allow themes to set path to a frameworkCSS so you can include a customized BS or another framework altogether 2014-01-10 03:08:46 -05:00
Julian Lam
8dd8412ae3 so far so good... user, meta, notifications, categories 2014-01-09 22:47:07 -05:00
Julian Lam
5a589c885a Merge remote-tracking branch 'origin/master' into socketAL 2014-01-09 21:27:57 -05:00
Julian Lam
dfa9f203e6 crashing a lot less now, heh 2014-01-09 21:27:50 -05:00
Julian Lam
adb8f80b86 interim commit - removed calls to websockets.js, beginning porting to namespaced files 2014-01-09 20:13:17 -05:00
Baris Soner Usakli
92ca739002 center on load 2014-01-09 20:04:50 -05:00
Baris Soner Usakli
c19d3e8063 closes #738 2014-01-09 19:34:51 -05:00
Baris Soner Usakli
30624d4ad8 tabbified the admin settings page 2014-01-09 17:51:26 -05:00
Baris Soner Usakli
9c60182da4 closes #749 2014-01-09 15:58:31 -05:00
psychobunny
1caaa8c20a re-initialize translator when language is changed in ACP 2014-01-09 14:21:58 -05:00
Julian Lam
c2a1cd94d0 addressing issue for #728 where existing NodeBBs don't have a defaultLang set 2014-01-09 13:42:35 -05:00
Julian Lam
df4c6ca1c8 integrating client side translator into new languages tab in ACP 2014-01-09 13:37:25 -05:00
Julian Lam
cd6af45afb added icons to all h1s in admin panel
languages tab in ACP
each language now also has a "language.json"
2014-01-09 13:29:41 -05:00
Julian Lam
119079ace5 added missing link, numRecentReplies, and class values to category.create... fixed #754, fixed #751 2014-01-09 11:50:24 -05:00
Baris Soner Usakli
dff10045da removed my console.logs as usual 2014-01-08 22:55:33 -05:00
Baris Soner Usakli
dda4586a2f Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2014-01-08 22:54:03 -05:00
Baris Soner Usakli
dabd2f29af closes #747 2014-01-08 22:53:55 -05:00
Julian Lam
029b91a323 Merge branch 'master' of github.com:designcreateplay/NodeBB 2014-01-08 21:50:26 -05:00
Julian Lam
ac04e04016 fixed #719 2014-01-08 21:50:19 -05:00
Baris Soner Usakli
3a6db04be5 Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2014-01-08 21:47:16 -05:00
Baris Soner Usakli
eb65c5ad1b reindex user name after change, #745 2014-01-08 21:47:09 -05:00
Julian Lam
c2c1632c0e Merge branch 'master' of github.com:designcreateplay/NodeBB 2014-01-08 21:25:11 -05:00
Julian Lam
2495b5b89b refactored group category permissions, removed getCategoryAccess method call 2014-01-08 21:25:01 -05:00
Baris Soner Usakli
176ac54cdf closes #745 2014-01-08 21:19:32 -05:00
Baris Soner Usakli
e07c848da7 closes #737 2014-01-08 16:30:27 -05:00
Baris Soner Usakli
6b8f7dba4f Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2014-01-08 16:11:59 -05:00
Baris Soner Usakli
825e4cca5a closes #744 2014-01-08 16:11:47 -05:00
Julian Lam
ab16b1184d fixing issue where nojs mode of a private category would show the category topics, even if the requesting user was not allowed inside 2014-01-08 15:09:24 -05:00
Julian Lam
127261100e fixed #698 - ajaxify.go will now cancel any active API requests when it is called 2014-01-08 14:53:32 -05:00
Baris Soner Usakli
67f8af7e3e #744 2014-01-08 06:19:22 -05:00
Baris Soner Usakli
d2c0aa9949 fixed auto complete for insertion in the middle, 6am commits FTW 2014-01-08 06:15:48 -05:00
Baris Soner Usakli
0d26b21a2c prevent double res.send/json if error occurs in profile image upload 2014-01-08 02:59:14 -05:00
Baris Soner Usakli
2d384a68d2 oops extra $ 2014-01-08 02:39:50 -05:00
Baris Soner Usakli
414eaea413 username mention auto completes 2014-01-08 02:39:06 -05:00
Baris Soner Usakli
a4ae9c70df closes #742, closes #741 2014-01-07 17:30:29 -05:00
Baris Soner Usakli
6f94acd0f2 Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2014-01-07 15:00:12 -05:00
Baris Soner Usakli
8e6606fb5a move post 2014-01-07 15:00:05 -05:00
psychobunny
cfa4256df5 admin - download emails.csv, thanks to @akhoury for the gist 2014-01-07 14:01:32 -05:00
Baris Soner Usakli
4912b8a893 fixed language regex 2014-01-07 00:14:20 -05:00
Baris Soner Usakli
f75e55aa11 fixed path 2014-01-06 23:45:31 -05:00
Baris Soner Usakli
88305b3350 Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2014-01-06 23:44:39 -05:00
Baris Soner Usakli
d6333a3969 fixed plugin css files for relative path 2014-01-06 23:44:32 -05:00
Julian Lam
538bb3e871 Merge branch 'master' of github.com:designcreateplay/NodeBB 2014-01-06 19:24:24 -05:00
Julian Lam
649d8af36b updated help doc for executable 2014-01-06 19:24:09 -05:00
Baris Soner Usakli
faf5ea2122 check if we have edit permission on the pids that we want to move 2014-01-06 19:20:01 -05:00
Baris Soner Usakli
291aa872c4 cant fork if not logged in 2014-01-06 19:12:34 -05:00
Baris Soner Usakli
2e575bb2d8 closes #524 2014-01-06 17:37:42 -05:00
psychobunny
7c8c735e05 i8n - if translation not present, use a readable key 2014-01-06 02:49:41 -05:00
psychobunny
b21a202142 my data went on a date and found out we have out of date data 2014-01-06 00:14:33 -05:00
psychobunny
032d46465d closes #551 2014-01-05 23:57:43 -05:00
psychobunny
6f120ff34a closes #732, custom robots.txt 2014-01-05 23:19:52 -05:00
psychobunny
0e5358a701 closes #698 2014-01-05 23:09:28 -05:00
psychobunny
7be16eab06 closes #722 2014-01-05 23:02:19 -05:00
Baris Soner Usakli
58580bd866 closes #716, also moved chat to its own template 2014-01-05 22:09:13 -05:00
Baris Soner Usakli
be316ff602 fixed mongo listRemoveAll 2014-01-05 20:44:06 -05:00
Baris Soner Usakli
dfc8aacbae closes #735, removed create collection calls 2014-01-05 19:08:36 -05:00
Baris Soner Usakli
8c04e8e56c Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2014-01-05 18:30:21 -05:00
Baris Soner Usakli
cd6750a38d minor fix 2014-01-05 18:30:14 -05:00
Julian Lam
71681b936f fixed #731 2014-01-05 18:27:13 -05:00
Julian Lam
4923c79496 tweaking upgrade script 2014-01-05 14:17:37 -05:00
Julian Lam
3f0f5a09a0 new upgrade directive to re-slugify usernames again 2014-01-05 14:07:26 -05:00
Julian Lam
f7b7af3004 so xregexp uses double backslashes... 2014-01-05 13:59:02 -05:00
Julian Lam
5a88a5ca60 allow underscores in slugs 2014-01-05 12:55:39 -05:00
Julian Lam
6567819294 commented out "language" directive in executable (didn't do anything anyway), and added "upgrade" directive 2014-01-05 12:15:23 -05:00
Baris Soner Usakli
e69611fa22 if email didnt change dont update and dont log 2014-01-05 01:53:01 -05:00
Baris Soner Usakli
48074ea93b redirect if category is accessed directly 2014-01-05 01:39:33 -05:00
Baris Soner Usakli
4dc8f2c2e1 closes #665 2014-01-05 01:26:23 -05:00
psychobunny
b131dacf39 set external link for categories 2014-01-05 01:16:39 -05:00
Baris Soner Usakli
32f17d5e13 closes #729 2014-01-05 00:39:15 -05:00
Julian Lam
bee3c06a07 clicking 'quote' now shows the quoted username before said quote 2014-01-04 21:41:22 -05:00
Julian Lam
8aa227b052 added note re: third-party emailer pluginses 2014-01-04 21:09:21 -05:00
Julian Lam
eaf25c4a5f removing SMTP settings fields in email settings portion of settings tab in ACP 2014-01-04 21:07:10 -05:00
Julian Lam
f90beca449 Merge branch 'master' of github.com:designcreateplay/NodeBB 2014-01-04 20:09:03 -05:00
Julian Lam
724dcb88c0 added translator integration to emailer 2014-01-04 20:08:59 -05:00
Baris Soner Usakli
e5ec5242c6 added relative_path 2014-01-04 19:35:02 -05:00
Baris Soner Usakli
c3f7faffd3 added relative_path in admin site templaets 2014-01-04 19:30:09 -05:00
Baris Soner Usakli
43a1ce66a1 added relative_path to recent_replies and browsing users 2014-01-04 19:20:59 -05:00
Baris Soner Usakli
9da165c1a7 added relative_path to templates 2014-01-04 19:08:09 -05:00
Baris Soner Usakli
02e550d3ad Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2014-01-04 18:28:01 -05:00
Baris Soner Usakli
680fac0674 added relative_path to header.tpl 2014-01-04 18:27:54 -05:00
psychobunny
ea49295774 some translator methods useful for plugins that wish to support i8n 2014-01-04 18:15:10 -05:00
Baris Soner Usakli
0edb895c2c indent 2014-01-04 18:09:43 -05:00
Baris Soner Usakli
981719dee1 Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2014-01-04 18:05:22 -05:00
Baris Soner Usakli
1466e68aa1 ssl support 101 2014-01-04 18:05:15 -05:00
Julian Lam
f1412193ef Merge branch 'master' of github.com:designcreateplay/NodeBB 2014-01-04 18:04:12 -05:00
Julian Lam
b6fdc5595d removed handlebars dependency for emailer, using ANDREWBARS now 2014-01-04 18:03:54 -05:00
psychobunny
fda68bc5dd added templates.setGlobal - allows you to add default template vars that are sent to all tpls upon parsing; added relative_path as global 2014-01-04 17:44:13 -05:00
Baris Soner Usakli
487281cc7a Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2014-01-04 17:11:04 -05:00
Baris Soner Usakli
751dc73ebe fixes login/register and auth routes in relative path install 2014-01-04 17:10:56 -05:00
psychobunny
7f8836daa4 simplified filter:server.create_routes - routes no longer require you to pass in req, res, name, route (the latter two was a mistake)
tl;dr - just content is all that is required. see
http://www.github.com/psychobunny/nodebb-plugin-static-page for more
info
2014-01-04 17:01:01 -05:00
Julian Lam
5c048ac20a closed #727 2014-01-04 14:24:50 -05:00
Julian Lam
11ed9e8c85 tweaks to emailer, implemented emailer hook for password reset 2014-01-04 11:55:41 -05:00
Julian Lam
0ac9ec6001 Merge remote-tracking branch 'origin/master' into email-revamp 2014-01-04 11:19:23 -05:00
Baris Soner Usakli
ecb64a0aa2 removed extra , 2014-01-04 02:10:37 -05:00
Baris Soner Usakli
8626122679 category active users are stored in a sorted set now 2014-01-04 01:15:41 -05:00
Baris Soner Usakli
8ab539b518 0.2.1 2014-01-04 00:50:23 -05:00
Baris Soner Usakli
9078c2a536 0.2.0 2014-01-04 00:49:10 -05:00
Baris Soner Usakli
fd20e4a400 5% more 2014-01-04 00:41:25 -05:00
Baris Soner Usakli
1a64e40b21 upgrade check 2014-01-04 00:38:43 -05:00
Julian Lam
cbfba4b45b 0.2.1 2014-01-04 00:04:37 -05:00
Baris Soner Usakli
f21a98f37f first pass, #524, #667 2014-01-03 21:33:41 -05:00
psychobunny
0edd6985ec templates.js added support for !@first and !@last conditionals 2014-01-03 21:23:08 -05:00
psychobunny
98a646fa62 changed numRecentTopics to numRecentReplies, that makes more sense now 2014-01-03 20:37:29 -05:00
psychobunny
1d69436b44 fix to getRecentReplies causing count = 0 to return unlimited 2014-01-03 20:36:00 -05:00
psychobunny
d6c7551120 pull # of recent replies based on settings 2014-01-03 20:29:09 -05:00
psychobunny
fb53e89023 upgrade.js - categories.numRecentTopics 2014-01-03 20:20:23 -05:00
psychobunny
d28beaa4dc admin - add "# recent topics to display" to categories 2014-01-03 20:17:55 -05:00
psychobunny
ac06567617 admin - add custom class to categories (forgot to commit this) 2014-01-03 20:14:26 -05:00
Baris Soner Usakli
d0a2c077ff refactored posts.create to use waterfall 2014-01-03 19:32:52 -05:00
psychobunny
ebf07626de use categories.class instead of hardcoded columns 2014-01-03 17:22:37 -05:00
psychobunny
9ef8bb4cdc woops, fail at iteration 2014-01-03 17:22:23 -05:00
psychobunny
bc8a53aadd upgrade.js - adding categories.class and categories.link 2014-01-03 17:09:19 -05:00
psychobunny
03c4a1bc73 remove console.log(file) - no more exploding terminals 2014-01-03 15:59:49 -05:00
Julian Lam
d93163896f Merge pull request #701 from aonz1982/install_automated_setup
Install automated setup
2014-01-02 18:47:38 -08:00
Julian Lam
08bdbc0bcc cleanup of PR - fixed some logic bugs and linted 2014-01-02 21:44:13 -05:00
Julian Lam
35d6a99775 Merge branch 'AdminButton' of github.com:genderup/NodeBB into genderup-AdminButton 2014-01-02 21:34:03 -05:00
Julian Lam
cdb0b4b49e Merge branch 'master' into email-revamp 2014-01-02 18:14:07 -05:00
Julian Lam
e45e86fcc1 fixed width icons in ACP. Also, who uses single quotes in HTML? ARGH 2014-01-02 18:13:46 -05:00
Julian Lam
24944762d7 fixing 'back to nodebb' ext, and revamping email confirm logic 2014-01-02 16:26:56 -05:00
Baris Soner Usakli
9589d340b9 removed console.log 2014-01-02 16:00:24 -05:00
Baris Soner Usakli
91afbf106e removed console.log 2014-01-02 16:00:05 -05:00
Baris Soner Usakli
aff11359ae Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2014-01-02 15:59:34 -05:00
Baris Soner Usakli
aff8cef5f3 closes #717 2014-01-02 15:59:25 -05:00
Julian Lam
d6e0625fc8 Merge remote-tracking branch 'origin/master' into email-revamp 2014-01-02 15:21:59 -05:00
Julian Lam
879855744d Merge branch 'master' of github.com:designcreateplay/NodeBB 2014-01-02 15:21:00 -05:00
Julian Lam
b5ab0c9097 updated minvers for markdown and mentions 2014-01-02 15:20:54 -05:00
psychobunny
2c398f81d2 fixed the twitter link to @NodeBB 2014-01-02 15:06:08 -05:00
Baris Soner Usakli
520fcadd3f closes #456 2014-01-02 14:53:27 -05:00
Baris Soner Usakli
e8eb9f91b9 Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2014-01-02 14:26:30 -05:00
Baris Soner Usakli
8bfb338eee #712 2014-01-02 14:26:08 -05:00
Julian Lam
bbb655abdd Merge branch 'master' of github.com:designcreateplay/NodeBB 2014-01-02 02:17:55 -05:00
Julian Lam
095e5527e3 upping markdown minver 2014-01-02 02:17:47 -05:00
Barış Soner Uşaklı
4eb8c34855 Merge pull request #715 from cmastudios/age
Calculate age based on days instead of years
2014-01-01 18:35:47 -08:00
cmastudios
e3185b9560 Calculate age based on days instead of years
Calculating the age based on the year only caused issues in the display of the age because it was off. Example: Person who was born in march of 1999 is displayed as 15 instead of 14 after the turn of the year.
2014-01-01 19:46:11 -05:00
Julian Lam
449adfae59 Merge branch 'master' of github.com:designcreateplay/NodeBB 2014-01-01 15:31:32 -05:00
Julian Lam
714e61b137 upping markdown minver 2014-01-01 15:31:27 -05:00
Baris Soner Usakli
d0e4689907 removed extra event in websocket.js 2014-01-01 14:44:15 -05:00
Baris Soner Usakli
1996e64c9b if imgur client id is not set but local file uploads are enabled use that 2014-01-01 14:38:12 -05:00
Baris Soner Usakli
e2fb617cc0 thread delete restore fix 2014-01-01 14:15:53 -05:00
Baris Soner Usakli
fd88aff195 mongo string fix 2014-01-01 14:11:12 -05:00
Julian Lam
f7a1cca861 properly fixed #713 2013-12-31 20:53:24 -05:00
Julian Lam
e3fb996a80 Merge branch 'master' of github.com:designcreateplay/NodeBB 2013-12-31 20:28:37 -05:00
Julian Lam
fe53037e53 hopefully fixing #713 2013-12-31 20:28:31 -05:00
Baris Soner Usakli
438f90d859 expire functionality in dbal 2013-12-31 19:08:38 -05:00
Julian Lam
339ed4e47b implemented emailer for welcome email (though the email confirmation system is horribly broken) 2013-12-31 18:00:10 -05:00
Julian Lam
5a527de287 fixed debug output when plugin method is not found 2013-12-31 17:19:37 -05:00
Julian Lam
3ff550914f Merge remote-tracking branch 'origin/master' into email-revamp
Conflicts:
	package.json
2013-12-31 17:15:38 -05:00
Baris Soner Usakli
742c8fb43c closes #712 2013-12-31 17:14:27 -05:00
Baris Soner Usakli
d43f3cebc6 closes #707, closes #686 2013-12-31 17:01:51 -05:00
Julian Lam
9d452241ad Merge branch 'master' of github.com:designcreateplay/NodeBB 2013-12-31 14:46:33 -05:00
Julian Lam
c19a51e1b6 tweaking slugify code to not remove numbers 2013-12-31 14:46:28 -05:00
Baris Soner Usakli
1b41a8f467 fixed typo 2013-12-31 14:32:16 -05:00
Baris Soner Usakli
f933fc0167 forgot topics.js oops 2013-12-31 14:27:56 -05:00
Baris Soner Usakli
8cfb239aac closes #705 2013-12-31 14:25:26 -05:00
Baris Soner Usakli
a974c6fa99 possible fix for mongo crash 2013-12-31 13:45:37 -05:00
Julian Lam
998f780fd2 fuck, I am dumb. 2013-12-31 13:11:32 -05:00
Julian Lam
b022d46d47 upgrade script for Topic titless and Usernames - closes #709 2013-12-31 13:04:29 -05:00
Julian Lam
f7793e54b1 adding events.log 2013-12-31 10:49:26 -05:00
Julian Lam
1e61033667 Merge branch 'master' of github.com:designcreateplay/NodeBB 2013-12-31 10:49:05 -05:00
Julian Lam
53caa5e422 full unicode support in slugify method, thanks to XRegExp 2013-12-31 10:48:59 -05:00
Julian Lam
dd72e73284 emailer invocation for new users 2013-12-31 09:33:25 -05:00
Baris Soner Usakli
40d20846d8 moar refactor 2013-12-31 03:36:42 -05:00
Baris Soner Usakli
204913c63d Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2013-12-31 03:14:29 -05:00
Baris Soner Usakli
6c30437c47 closes #706, refactor admin image uploads, fixed gif uploads 2013-12-31 03:14:22 -05:00
Barış Soner Uşaklı
dd7fe47dfd Merge pull request #704 from akhoury/master
guarding against Errors on Socket Disconnect
2013-12-30 16:55:21 -08:00
Aziz Khoury
50323c3d23 guarding against Errors on Socket Disconnect
Saw this 

```
TypeError: Cannot call method 'indexOf' of undefined
    at Socket.<anonymous> (/home/admin/NodeBB/src/websockets.js:108:33)
    at Socket.EventEmitter.emit [as $emit] (events.js:95:17)
    at Socket.onDisconnect (/home/admin/NodeBB/node_modules/socket.io/lib/socket.js:153:10)
    at SocketNamespace.handleDisconnect (/home/admin/NodeBB/node_modules/socket.io/lib/namespace.js:229:46)
```

and this

```
/home/admin/NodeBB/src/websockets.js:113
			if (userSockets[uid].length === 0) {
			                    ^
TypeError: Cannot read property 'length' of undefined
    at Socket.<anonymous> (/home/admin/NodeBB/src/websockets.js:113:24)
```

in my logs, when users are disconnecting
2013-12-30 19:40:57 -05:00
psychobunny
69e0aa338d resolved some todo that's been in there for many months 2013-12-30 17:11:59 -05:00
psychobunny
6dcd06b63c removed unused parameter in templates.prepare 2013-12-30 16:26:30 -05:00
psychobunny
42d77080f3 plugins: filter:server.create_routes - allow plugins to add custom templates and/or modify individual blocks withiin a template 2013-12-30 16:20:05 -05:00
Baris Soner Usakli
fbb4998999 closes #676 2013-12-30 16:09:07 -05:00
Julian Lam
e4e57ce31f initial commit to emailer system overhaul 2013-12-30 14:02:43 -05:00
Julian Lam
14744a854f fixes #703 - topic feeds were not saving (who knows for how long!) 2013-12-30 12:39:13 -05:00
Pongsan Sayampol
2c6afb4244 Add a way to set social network logins 2013-12-30 11:46:33 +07:00
Pongsan Sayampol
24907e456d Fix the issue that the default values are saved to config.json 2013-12-30 11:45:10 +07:00
Baris Soner Usakli
2039885d96 removed console.logs 2013-12-29 23:35:04 -05:00
Baris Soner Usakli
daacdb50f3 closes #645 2013-12-29 23:33:28 -05:00
Baris Soner Usakli
21155b1b80 recent rss link fix 2013-12-29 21:35:03 -05:00
Barış Soner Uşaklı
5d69167a64 updated pictures 2013-12-29 20:55:46 -05:00
psychobunny
5db27a835f fix for minification of plugins static directories 2013-12-29 19:36:18 -05:00
Baris Soner Usakli
c8e423e9cf check if item is valid 2013-12-29 18:25:21 -05:00
Baris Soner Usakli
be3465c5ca display events in admin page events section 2013-12-29 18:10:42 -05:00
Baris Soner Usakli
637e037e27 Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2013-12-29 16:03:32 -05:00
Baris Soner Usakli
3e6bcd83cc fixed typo in user reset 2013-12-29 16:03:25 -05:00
psychobunny
dc4aeca427 also send notification data along with event:new_notification socket call 2013-12-29 15:09:34 -05:00
Baris Soner Usakli
9eb09f14cb updated vanilla ver 2013-12-29 13:57:04 -05:00
Baris Soner Usakli
a55fc364a0 closes #697 2013-12-29 13:47:34 -05:00
Baris Soner Usakli
2f90949560 vanilla color fixes 2013-12-28 14:36:33 -05:00
Baris Soner Usakli
a940219321 remvoed the timeout on the login call 2013-12-28 13:11:49 -05:00
Michael Mitchell
aaf6b11dc9 removed extraneous 2013-12-28 08:34:59 -08:00
Michael Mitchell
0f0913bfe5 add admin button 2013-12-27 14:18:30 -08:00
Michael Mitchell
5569337c40 first 2013-12-27 14:09:27 -08:00
Baris Soner Usakli
ba2f47ead6 closes #690, closes #691 2013-12-27 14:09:22 -05:00
Julian Lam
b52782deb8 removed use of strip_tags and using String library instead 2013-12-26 21:10:26 -05:00
Julian Lam
2c6bf93eb5 added String parsing library, sanitizing meta tag "description" for
topics, and added og:description meta tag -- fixes #688
2013-12-26 20:37:45 -05:00
294 changed files with 15259 additions and 12790 deletions

3
.gitignore vendored
View File

@@ -14,8 +14,9 @@ Vagrantfile
.vagrant
provision.sh
*.komodoproject
.DS_Store
feeds/recent.rss
# winston?
error.log
events.log

View File

@@ -8,9 +8,9 @@
* [Follow on Twitter](http://www.twitter.com/NodeBB/ "NodeBB Twitter")
* [Like us on Facebook](http://www.facebook.com/NodeBB/ "NodeBB Facebook")
![NodeBB Main Category Listing](http://i.imgur.com/zffCFoh.png)
![NodeBB Main Category Listing](http://i.imgur.com/zRdzCcj.png)
![NodeBB Topic Page](http://i.imgur.com/JihdcUa.png)
![NodeBB Topic Page](http://i.imgur.com/ZC8W39a.png)
## How can I follow along/contribute?

41
app.js
View File

@@ -27,8 +27,9 @@
async = require('async'),
semver = require('semver'),
winston = require('winston'),
pkg = require('./package.json'),
path = require('path'),
pkg = require('./package.json'),
utils = require('./public/src/utils.js'),
meta;
// Runtime environment
@@ -69,19 +70,23 @@
});
meta = require('./src/meta');
nconf.set('url', nconf.get('base_url') + (nconf.get('use_port') ? ':' + nconf.get('port') : '') + nconf.get('relative_path') + '/');
nconf.set('upload_url', nconf.get('url') + 'uploads/');
nconf.set('url', nconf.get('base_url') + (nconf.get('use_port') ? ':' + nconf.get('port') : '') + nconf.get('relative_path') + path.sep);
nconf.set('upload_url', path.join(path.sep, nconf.get('relative_path'), 'uploads', path.sep));
nconf.set('base_dir', __dirname);
winston.info('Initializing NodeBB v' + pkg.version + ', on port ' + nconf.get('port') + ', using Redis store at ' + nconf.get('redis:host') + ':' + nconf.get('redis:port') + '.');
winston.info('Initializing NodeBB v' + pkg.version + ', on port ' + nconf.get('port') + ', using ' + nconf.get('database') +' store at ' + nconf.get(nconf.get('database') + ':host') + ':' + nconf.get(nconf.get('database') + ':port') + '.');
winston.info('NodeBB instance bound to: ' + ((nconf.get('bind_address') === "0.0.0.0" || !nconf.get('bind_address')) ? 'Any address (0.0.0.0)' : nconf.get('bind_address')));
if (process.env.NODE_ENV === 'development') {
winston.info('Base Configuration OK.');
}
if (semver.gt(pkg.dependencies['nodebb-theme-cerulean'], require('./node_modules/nodebb-theme-cerulean/package.json').version)) {
winston.error('nodebb-theme-cerulean is out of date - please run npm install.')
if (!semver.satisfies(require('./node_modules/nodebb-theme-cerulean/package.json').version, pkg.dependencies['nodebb-theme-cerulean'])) {
winston.error('nodebb-theme-cerulean is out of date - please run npm install.');
}
if (!semver.satisfies(require('./node_modules/nodebb-theme-vanilla/package.json').version, pkg.dependencies['nodebb-theme-vanilla'])) {
winston.error('nodebb-theme-vanilla is out of date - please run npm install.');
}
require('./src/database').init(function(err) {
@@ -90,15 +95,17 @@
var templates = require('./public/src/templates'),
translator = require('./public/src/translator'),
webserver = require('./src/webserver'),
SocketIO = require('socket.io').listen(global.server, { log: false, transports: ['websocket', 'xhr-polling', 'jsonp-polling', 'flashsocket'], 'browser client minification': true}),
websockets = require('./src/websockets'),
sockets = require('./src/socket.io'),
plugins = require('./src/plugins'),
notifications = require('./src/notifications'),
upgrade = require('./src/upgrade');
templates.setGlobal('relative_path', nconf.get('relative_path'));
upgrade.check(function(schema_ok) {
if (schema_ok || nconf.get('check-schema') === false) {
websockets.init(SocketIO);
sockets.init();
plugins.init();
global.templates = {};
@@ -108,15 +115,10 @@
var customTemplates = meta.config['theme:templates'] ? path.join(__dirname, 'node_modules', meta.config['theme:id'], meta.config['theme:templates']) : false;
// todo: replace below with read directory code, derp.
templates.init([
'header', 'footer', 'logout', 'outgoing', 'admin/header', 'admin/footer', 'admin/index',
'emails/reset', 'emails/reset_plaintext', 'emails/email_confirm', 'emails/email_confirm_plaintext',
'emails/header', 'emails/footer',
'noscript/header', 'noscript/home', 'noscript/category', 'noscript/topic'
], customTemplates);
utils.walk(path.join(__dirname, 'public/templates'), function (err, tplsToLoad) {
templates.init(tplsToLoad, customTemplates);
});
plugins.ready(function() {
templates.ready(webserver.init);
@@ -145,7 +147,8 @@
file: __dirname + '/config.json'
});
var install = require('./src/install');
var templates = require('./public/src/templates'),
install = require('./src/install');
winston.info('Welcome to NodeBB!');
winston.info('This looks like a new installation, so you\'ll have to answer a few questions about your environment before we can proceed.');
@@ -155,7 +158,7 @@
if (err) {
winston.error('There was a problem completing NodeBB setup: ', err.message);
} else {
winston.info('NodeBB Setup Completed. Run \'node app\' to manually start your NodeBB server.');
winston.info('NodeBB Setup Completed. Run \'./nodebb start\' to manually start your NodeBB server.');
}
process.exit();

39
nodebb
View File

@@ -9,6 +9,13 @@ case "$1" in
node app
;;
upgrade)
npm install
ls -d node_modules/nodebb* | xargs -n1 basename | xargs npm update
node app --upgrade
echo -e "\n\e[00;32mNodeBB Dependencies up-to-date!\e[00;00m";
;;
dev)
echo "Launching NodeBB in \"development\" mode."
echo "To run the production build of NodeBB, please use \"forever\"."
@@ -23,22 +30,22 @@ case "$1" in
NODE_ENV=development supervisor -q --extensions 'node|js|tpl' -- app $1
;;
language)
case "$2" in
check)
node app --language="check"
;;
# language)
# case "$2" in
# check)
# node app --language="check"
# ;;
*)
echo "Language Settings"
echo $"Usage: $0 language {check}"
echo ''
column -s ' ' -t <<< '
check Compare language files against the /en directory
'
;;
esac
;;
# *)
# echo "Language Settings"
# echo $"Usage: $0 language {check}"
# echo ''
# column -s ' ' -t <<< '
# check Compare language files against the /en directory
# '
# ;;
# esac
# ;;
*)
echo "Welcome to NodeBB"
@@ -48,7 +55,7 @@ case "$1" in
start Start NodeBB in production mode
dev Start NodeBB in development mode
watch Start NodeBB in development mode and watch for changes
language Language settings
upgrade Run NodeBB upgrade scripts, ensure packages are up-to-date
'
exit 1
esac

View File

@@ -2,7 +2,7 @@
"name": "nodebb",
"license": "GPLv3 or later",
"description": "NodeBB Forum",
"version": "0.2.0",
"version": "0.3.0",
"homepage": "http://www.nodebb.org",
"repository": {
"type": "git",
@@ -30,7 +30,7 @@
"node-imagemagick": "0.1.8",
"gravatar": "1.0.6",
"nconf": "~0.6.7",
"sitemap": "~0.6.0",
"sitemap": "~0.7.1",
"request": "~2.25.0",
"reds": "~0.2.4",
"winston": "~0.7.2",
@@ -38,12 +38,16 @@
"prompt": "~0.2.11",
"uglify-js": "~2.4.0",
"validator": "~1.5.1",
"nodebb-plugin-mentions": "~0.1.16",
"nodebb-plugin-markdown": "~0.2.1",
"nodebb-theme-vanilla": "~0.0.10",
"nodebb-theme-cerulean": "0.0.10",
"nodebb-plugin-mentions": "~0.3",
"nodebb-plugin-markdown": "~0.3",
"nodebb-theme-vanilla": "~0.0.13",
"nodebb-theme-cerulean": "~0.0.12",
"nodebb-theme-lavender": "~0.0",
"cron": "~1.0.1",
"semver": "~2.2.1"
"semver": "~2.2.1",
"string": "~1.7.0",
"xregexp": "~2.0.0",
"socket.io-wildcard": "~0.1.1"
},
"optionalDependencies": {
"redis": "0.8.3",

View File

@@ -0,0 +1,14 @@
{
"new_topic_button": "موضوع جديد",
"no_topics": "<strong>لا توجد مواضيع في هذه الفئة</strong>لماذا لا تحاول نشر واحد؟<br />",
"sidebar.recent_replies": "الردود مؤخرا",
"sidebar.active_participants": "المشاركون النشطة",
"sidebar.moderators": "المشرفين",
"posts": "مشاركات",
"views": "مشاهدات",
"posted": "نشر",
"browsing": "يتصفح",
"no_replies": "لم يرد أحد",
"replied": "رد",
"last_edited_by": "تغيرت أخيراً عبر"
}

View File

@@ -0,0 +1,7 @@
{
"stats.online": "حالياً على الموقع",
"stats.users": "مستخدمين",
"stats.topics": "مواضيع",
"stats.posts": "مشاركات",
"success": "نجاح"
}

View File

@@ -0,0 +1,37 @@
{
"home": "الصفحة الرئيسية",
"search": "بحث",
"buttons.close": "أغلق",
"403.title": "غير مسموح بالدخول",
"403.message": "يبدو أنك قد تعثر على الصفحة التي لم يكن لديك الوصول إليها. ربما يجب عليك <a href='/login'> تسجيل الدخول </a> ",
"404.title": "لم يتم العثور",
"404.message": "يبدو أنك قد تعثرت على صفحة غير موجودة. عودة إلى الصفحة الرئيسية.",
"500.title": "خطأ داخلي.",
"500.message": "عفوا! يبدو وكأنه شيء ذهب على نحو خاطئ!",
"register": "تسجيل",
"login": "دخول",
"logout": "تسجيل الخروج",
"logout.title": "تم تسجيل الخروج",
"logout.message": "قمت بتسجيل الخروج بنجاح من NodeBB",
"save_changes": "حفظ التغييرات",
"close": "أغلق",
"header.admin": "مشرف",
"header.recent": "حديث",
"header.unread": "غير مقروء",
"header.users": "المستخدمين",
"header.search": "بحث",
"header.profile": "ملف",
"notifications.loading": "تحميل التبليغات",
"chats.loading": "تحميل الدردشات",
"motd.welcome": "مرحبا بكم NodeBB، منصة مناقشة المستقبل",
"motd.get": "NodeBB إحصل على",
"motd.fork": "فرع",
"motd.like": "ود",
"motd.follow": "تابع"
}

View File

@@ -0,0 +1,5 @@
{
"name": "العربية",
"code": "ar",
"dir": "rtl"
}

View File

@@ -0,0 +1,10 @@
{
"login": "دخول",
"username": "اسم المستخدم",
"password": "كلمة السر",
"remember_me": "تذكرني؟",
"forgot_password": "نسيت كلمة المرور؟",
"alternative_logins": "تسجيلات الدخول البديلة",
"failed_login_attempt": "فشلت محاولة تسجيل الدخول، يرجى المحاولة مرة أخرى.",
"login_successful": "قمت بتسجيل الدخول بنجاح!"
}

View File

@@ -0,0 +1,6 @@
{
"chat.chatting_with": "الدردشة مع <span id=\"chat-with-name\"></span>",
"chat.placeholder": "اكتب رسالة دردشة هنا، وإضغط ENTER لإرسال",
"chat.send": "أرسل",
"chat.no_active": "لا يوجد لديك دردشات نشطة."
}

View File

@@ -0,0 +1,8 @@
{
"title": "إعلام",
"back_to_home": "العودة إلى NodeBB",
"outgoing_link": "رابط خارجي",
"outgoing_link_message": "أنت الأن ترحل",
"continue_to": "أكمل إلى",
"return_to": "إرجع إلى"
}

View File

@@ -0,0 +1,5 @@
{
"day": "يوم",
"week": "أسبوع",
"month": "شهر"
}

View File

@@ -0,0 +1,16 @@
{
"register": "تسجيل",
"help.email": "افتراضيا، سيتم إخفاء بريدك الإلكتروني من الجمهور.",
"help.username_restrictions": "اسم مستخدم فريدة من نوعها بين1% و2% حرفا. يمكن للآخرين ذكرك @ <'span id='your-username> اسم المستخدم </span>.",
"help.minimum_password_length": "كلمتك السر يجب أن تكون على الأقل متألفة من 1% أحرف",
"email_address": "عنوان البريد الإلكتروني",
"email_address_placeholder": "ادخل عنوان البريد الإلكتروني",
"username": "اسم المستخدم",
"username_placeholder": "أدخل اسم المستخدم",
"password": "كلمة السر",
"password_placeholder": "أدخل كلمة السر",
"confirm_password": "تأكيد كلمة السر",
"confirm_password_placeholder": "تأكيد كلمة السر",
"register_now_button": "قم بالتسجيل الآن",
"alternative_registration": "التسجيل البديلة"
}

View File

@@ -0,0 +1,13 @@
{
"reset_password": "إعادة تعيين كلمة السر",
"update_password": "تحديث كلمة السر",
"password_changed.title": "تم تغير كلمة السر",
"password_changed.message": "<p>تم تغير كلمة السر بنجاح. يرجى <a href='/login'>إعادة الدخول</a></p>",
"wrong_reset_code.title": "إعادة تعيين رمز غير صحيح",
"wrong_reset_code.message": "رامز إعادة التعين غير صحيح، يرجى المحاولة مرة أخرى أو <a href='/reset'>اطلب رمز جديد</a>",
"new_password": "كلمة السر الجديدة",
"repeat_password": "تأكيد كلمة السر",
"enter_email": "يرجى إدخال <strong>عنوان البريد الإلكتروني</strong> الخاص بك وسوف نرسل لك رسالة بالبريد الالكتروني مع تعليمات حول كيفية إستعادة حسابك.",
"password_reset_sent": "إعادة تعيين كلمة السر أرسلت",
"invalid_email": "بريد إلكتروني غير صالح أو غير موجود"
}

View File

@@ -0,0 +1,52 @@
{
"topic": "موضوع",
"topics": "مواضيع",
"no_topics_found": "لا توجد مواضيع !",
"profile": "ملف",
"posted_by": "رد من",
"chat": "دردشة",
"notify_me": "تنبه من ردود جديدة في هذا الموضوع",
"quote": "اقتبس",
"reply": "رد",
"edit": "صحح",
"delete": "حذف",
"move": "انقل",
"fork": "فرع",
"banned": "محظور",
"link": "رابط",
"share": "شارك",
"tools": "أدوات",
"thread_tools.title": "أدوات الموضوع",
"thread_tools.markAsUnreadForAll": "علم غير مقروء",
"thread_tools.pin": "علق الموضوع",
"thread_tools.lock": "قفل الموضوع",
"thread_tools.move": "نقل الموضوع",
"thread_tools.fork": "تفرع الموضوع",
"thread_tools.delete": "حذف الموضوع",
"load_categories": "تحميل الفئات",
"disabled_categories_note": "الفئات المجلدة رمادية",
"confirm_move": "انقل",
"confirm_fork": "فرع",
"favourite": "المفضل",
"favourites": "المفضلة",
"favourites.not_logged_in.title": "ليس موجود حالياً",
"favourites.not_logged_in.message": "الرجاء تسجيل الدخول لتفضل هذا الرد",
"favourites.has_no_favourites": "ليس لديك أي ردود مفضلة. فضل بعد الردود لرؤيتهم هنا",
"loading_more_posts": "تحميل المزيد من المشاركات",
"move_topic": "نقل الموضوع",
"move_post": "نقل الرد",
"fork_topic": "فرع الموضوع",
"topic_will_be_moved_to": "هذا الموضوع سوف ينقل إلى فئة",
"fork_topic_instruction": "إضغط على الردود لتفريعهم",
"fork_no_pids": "لم تختار أي رد",
"fork_success": "تفريع الموضوع بنجاح!",
"reputation": "سمعة",
"posts": "ردود"
}

View File

@@ -0,0 +1,5 @@
{
"no_unread_topics": "ليس هناك أي موضوع غير مقروء",
"mark_all_read": "إجعل كل المواضيع مقرؤة",
"load_more": "حمل المزيد"
}

View File

@@ -0,0 +1,41 @@
{
"banned": "محظور",
"offline": "ليس موجود حالياً",
"username": "إسم المستخدم",
"email": "البريد الإلكتروني",
"fullname": "الاسم الكامل",
"website": "الموقع الإلكتروني",
"location": "موقع",
"age": "عمر",
"joined": "تاريخ التسجيل",
"lastonline": "تاريخ أخر دخول",
"profile_views": "مشاهد الملف",
"reputation": "سمعة",
"posts": "ردود",
"followers": "أتباع",
"following": "يتبع",
"signature": "توقيع",
"gravatar": "Gravatar",
"birthday": "عيد ميلاد",
"change_picture": "تغيير الصورة",
"edit": "صحح",
"uploaded_picture": "صورة تم تحميلها",
"upload_new_picture": "تحميل صورة جديدة",
"change_password": "تغيير كلمة السر",
"confirm_password": "تأكيد كلمة السر",
"password": "كلمة السر",
"upload_picture": "تحميل الصورة",
"upload_a_picture": "تحميل صورة",
"image_spec": "تستطيع تحميل سوى PNG، JPG، GIF تحت 256KB.",
"settings": "إعدادات",
"show_email": "أظهر بريدي الإلكتروني",
"has_no_follower": "هذا المستخدم ليس لديه أي أتباع :(",
"follows_no_one": "هذا المستخدم لا يتبع أحد :(",
"email_hidden": "البريد الإلكتروني مخفي",
"hidden": "مخفي"
}

View File

@@ -0,0 +1,9 @@
{
"latest_users": "أحدث المستخدمين",
"top_posters": "أكثر المشتركين",
"most_reputation": "أعلى سمعة",
"online": "موجودين حالياً",
"search": "بحث",
"enter_username": "أدخل اسم مستخدم للبحث",
"load_more": "حمل المزيد"
}

View File

@@ -0,0 +1,14 @@
{
"new_topic_button": "Nové téma",
"no_topics": "<strong>V této kategorii zatím nejsou žádné příspěvky.</strong><br />Můžeš být první!",
"sidebar.recent_replies": "Poslední příspěvky",
"sidebar.active_participants": "Aktivní účastníci",
"sidebar.moderators": "Moderátoři",
"posts": "příspěvky",
"views": "zobrazení",
"posted": "odesláno",
"browsing": "prohlíží",
"no_replies": "Nikdo ještě neodpověděl",
"replied": "přispěl",
"last_edited_by": "naposledy upravil"
}

View File

@@ -0,0 +1,7 @@
{
"stats.online": "Online",
"stats.users": "Uživatelé",
"stats.topics": "Témata",
"stats.posts": "Příspěvky",
"success": "úspěch"
}

View File

@@ -0,0 +1,37 @@
{
"home": "Domů",
"search": "Hledat",
"buttons.close": "Zavřít",
"403.title": "Přístup odepřen",
"403.message": "K této stránce nemáte přístup. Zkuste se <a href='/login'>přihlásit</a>?",
"404.title": "Stránka nenalezena",
"404.message": "Tato stránka bohužel neexistuje. Vraťte se na <a href='/'>domovskou stránku</a>.",
"500.title": "Neznámá chyba",
"500.message": "Jejda, vypadá to, že se něco pokazilo.",
"register": "Registrovat",
"login": "Přihlásit se",
"logout": "Odhlásit se",
"logout.title": "Odhlásili jsme Vás.",
"logout.message": "Úspěšně jsme Vás odhlásili z fóra.",
"save_changes": "Uložit změny",
"close": "Zrušit",
"header.admin": "Administrace",
"header.recent": "Aktuality",
"header.unread": "Nepřečtené",
"header.users": "Uživatelé",
"header.search": "Hledat",
"header.profile": "Můj profil",
"notifications.loading": "Načítání upozornění",
"chats.loading": "Načítání grafů",
"motd.welcome": "Vítejte na NodeBB, diskusní platforma buducnosti.",
"motd.get": "Získat NodeBB",
"motd.fork": "Fork",
"motd.like": "To se mi líbí",
"motd.follow": "Sledovat"
}

View File

@@ -0,0 +1,4 @@
{
"name": "Czech",
"code": "cs"
}

View File

@@ -0,0 +1,10 @@
{
"login": "Přihlásit se",
"username": "Uživatelské jméno",
"password": "Heslo",
"remember_me": "Zapamatovat si mě?",
"forgot_password": "Zapomněli jste heslo?",
"alternative_logins": "Další způsoby přihlášení",
"failed_login_attempt": "Přihlášení se nezdařilo, zkuste to prosím znovu.",
"login_successful": "Přihlášení proběhlo úspěšně!"
}

View File

@@ -0,0 +1,6 @@
{
"chat.chatting_with": "Chat s <span id=\"chat-with-name\"></span>",
"chat.placeholder": "napište zprávu sem a zmáčkněte enter pro odeslání",
"chat.send": "Odeslat",
"chat.no_active": "Nemáte žádné aktivní konverzace."
}

View File

@@ -0,0 +1,8 @@
{
"title": "Upozornění",
"back_to_home": "Zpět na úvodní stránku",
"outgoing_link": "Odkaz mimo fórum",
"outgoing_link_message": "Nyní opouštíte fórum",
"continue_to": "Přejít na",
"return_to": "Vrátit se na "
}

View File

@@ -0,0 +1,5 @@
{
"day": "Den",
"week": "Týden",
"month": "Měsíc"
}

View File

@@ -0,0 +1,16 @@
{
"register": "Registrace",
"help.email": "Váš email nebude bez vašeho svolení zveřejněn.",
"help.username_restrictions": "Jedinečné uživatelské jméno dlouhé %1 až %2 znaků. Ostatní uživatelé Vás mohou zmínit jako @<span id='yourUsername'>uživatelské-jméno</span>.",
"help.minimum_password_length": "Délka vašeho hesla musí být alespoň %1 znaků.",
"email_address": "Email",
"email_address_placeholder": "Zadejte email",
"username": "Uživatelské jméno",
"username_placeholder": "Zadejte uživatelské jméno",
"password": "Heslo",
"password_placeholder": "Zadejte heslo",
"confirm_password": "Potvrzení hesla",
"confirm_password_placeholder": "Potvrďte heslo",
"register_now_button": "Zaregistrovat se",
"alternative_registration": "Jiný způsob registrace"
}

View File

@@ -0,0 +1,13 @@
{
"reset_password": "Obnovit heslo",
"update_password": "Upravit heslo",
"password_changed.title": "Heslo změněno",
"password_changed.message": "<p>Heslo bylo úspěšně změněno, <a href=\"/login\">přihlaste se znovu</a> prosím.",
"wrong_reset_code.title": "Špatný kód",
"wrong_reset_code.message": "Byl zadán špatný kód. Zadejte ho prosím znovu, nebo <a href=\"/reset\">si nechte poslat nový</a>.",
"new_password": "Nové heslo",
"repeat_password": "Potvrzení hesla",
"enter_email": "Zadejte svou <strong>emailovou adresu</strong> a my Vám pošleme informace, jak můžete obnovit své heslo.",
"password_reset_sent": "Obnova hesla odeslána",
"invalid_email": "Špatný email / Email neexistuje!"
}

View File

@@ -0,0 +1,50 @@
{
"topic": "Téma",
"topics": "Témata",
"no_topics_found": "Nebyla nalezena žádná témata!",
"profile": "Profil",
"posted_by": "Odeslal",
"chat": "Chat",
"notify_me": "Sledovat toto téma",
"quote": "Citovat",
"reply": "Odpovědět",
"edit": "Upravit",
"delete": "Smazat",
"move": "Přesunout",
"fork": "Rozdělit",
"banned": "banned",
"link": "Odkaz",
"thread_tools.title": "Nástroje",
"thread_tools.pin": "Zvýraznit vlákno",
"thread_tools.lock": "Uzamknout vlákno",
"thread_tools.move": "Přesunout vlákno",
"thread_tools.fork": "Rozdělit vlákno",
"thread_tools.delete": "Smazat vlákno",
"load_categories": "Načítání kategorií",
"disabled_categories_note": "Vypnuté (disabled) kategorie jsou šedé.",
"confirm_move": "Přesunout",
"confirm_fork": "Rozdělit",
"favourite": "Oblíbené",
"favourites": "Oblíbené",
"favourites.not_logged_in.title": "Přihlaste se!",
"favourites.not_logged_in.message": "Pro oblíbení příspěvku se musíte přihlásit.",
"favourites.has_no_favourites": "Nemáte žádné oblíbené příspěvky, přidejte některý příspěvek k oblíbeným a uvidíte ho zde!",
"posted_by": "odeslal",
"loading_more_posts": "Načítání více příspěvků",
"move_topic": "Přesunout téma",
"move_post": "Přesunout příspěvek",
"fork_topic": "Rozdělit příspěvek",
"topic_will_be_moved_to": "Toto téma bude přesunuto do kategorie",
"fork_topic_instruction": "Vyber příspěvky, které chceš oddělit",
"fork_no_pids": "Žádné příspěvky nebyly vybrány!",
"fork_success": "Téma bylo úspěšně rozděleno!",
"reputation": "Reputace",
"posts": "Příspěvky"
}

View File

@@ -0,0 +1,5 @@
{
"no_unread_topics": "Nejsou zde žádné nepřečtené témata.",
"mark_all_read": "Označit vše jako přečtené",
"load_more": "Načíst další"
}

View File

@@ -0,0 +1,41 @@
{
"banned": "Banned",
"offline": "Offline",
"username": "Uživatelské jméno",
"email": "Email",
"fullname": "Jméno a příjmení",
"website": "Webové stránky",
"location": "Poloha",
"age": "Věk",
"joined": "Registrován",
"lastonline": "Naposledy online",
"profile_views": "Zobrazení profilu",
"reputation": "Reputace",
"posts": "Příspěvky",
"followers": "Sledují ho",
"following": "Sleduje",
"signature": "Podpis",
"gravatar": "Gravatar",
"birthday": "Datum narození",
"change_picture": "Změnit obrázek",
"edit": "Upravit",
"uploaded_picture": "Nahraný obrázek",
"upload_new_picture": "Nahrát nový obrázek",
"change_password": "Změnit heslo",
"confirm_password": "Potvrzení hesla",
"password": "Heslo",
"upload_picture": "Nahrát obrázek",
"upload_a_picture": "Nahrát obrázek",
"image_spec": "Můžete nahrávat poze obrázky ve formátu PNG, JPG, nebo GIF o velikosti menší než 256kb.",
"settings": "nastavení",
"show_email": "Zobrazovat můj email v profilu",
"has_no_follower": "Tohoto uživatele nikdo nesleduje :(",
"follows_no_one": "Tento uživatel nikoho nesleduje :(",
"email_hidden": "Skrytý email",
"hidden": "skrytý"
}

View File

@@ -0,0 +1,9 @@
{
"latest_users": "Nejnovější uživatelé",
"top_posters": "Nejaktivnější",
"most_reputation": "Nejváženější",
"online": "Online",
"search": "Vyhledávat",
"enter_username": "Zadej uživatelské jméno k hledání",
"load_more": "Načíst další"
}

View File

@@ -1,7 +1,4 @@
{
"chat.chatting_with": "Chatten mit <span id='chat-with-name'></span>",
"chat.placeholder": "schreibe hier etwas, und drücke Enter zum absenden",
"chat.send": "Senden",
"stats.online": "Online",
"stats.users": "Benutzer",
"stats.topics": "Themen",

View File

@@ -27,5 +27,11 @@
"header.profile": "Profil",
"notifications.loading": "Benachrichtigungen laden",
"chats.loading": "Nachrichten werden geladen"
"chats.loading": "Nachrichten werden geladen",
"motd.welcome": "Willkommen auf NodeBB, der Diskussionsplattform der Zukunft.",
"motd.get": "Bekommen NodeBB",
"motd.fork": "Fork",
"motd.like": "Gefällt mir",
"motd.follow": "Folgen"
}

View File

@@ -0,0 +1,4 @@
{
"name": "German",
"code": "de"
}

View File

@@ -0,0 +1,6 @@
{
"chat.chatting_with": "Chatten mit <span id='chat-with-name'></span>",
"chat.placeholder": "schreibe hier etwas, und drücke Enter zum absenden",
"chat.send": "Senden",
"chat.no_active": "Sie haben keine aktiven Chats."
}

View File

@@ -1,7 +1,6 @@
{
"title": "Benachrichtigungen",
"back_to_home": "Zurück zur Startseite",
"mark_all_as_read": "Alles als gelesen markieren",
"outgoing_link": "Externer Link",
"outgoing_link_message": "Du verlässt nun",
"continue_to": "Gehe weiter zu",

View File

@@ -33,8 +33,7 @@
"favourites.has_no_favourites":"Du hast noch keine Favoriten.",
"posted_by": "Geposted von",
"loading": "Lade",
"more_posts": "Mehr Posts",
"loading_more_posts": "Lade Mehr Posts",
"move_topic": "Thema verschieben",
"topic_will_be_moved_to": "Dieses Thema wird verschoben nach",

View File

@@ -1,7 +1,4 @@
{
"chat.chatting_with": "Chat with <span id=\"chat-with-name\"></span>",
"chat.placeholder": "type chat message here, press enter to send",
"chat.send": "Send",
"stats.online": "Online",
"stats.users": "Users",
"stats.topics": "Topics",

View File

@@ -27,5 +27,11 @@
"header.profile": "Profile",
"notifications.loading": "Loading Notifications",
"chats.loading": "Loading Chats"
"chats.loading": "Loading Chats",
"motd.welcome": "Welcome to NodeBB, the discussion platform of the future.",
"motd.get": "Get NodeBB",
"motd.fork": "Fork",
"motd.like": "Like",
"motd.follow": "Follow"
}

View File

@@ -0,0 +1,4 @@
{
"name": "English",
"code": "en"
}

View File

@@ -0,0 +1,6 @@
{
"chat.chatting_with": "Chat with <span id=\"chat-with-name\"></span>",
"chat.placeholder": "type chat message here, press enter to send",
"chat.send": "Send",
"chat.no_active": "You have no active chats."
}

View File

@@ -1,7 +1,6 @@
{
"title": "Notifications",
"back_to_home": "back to NodeBB",
"mark_all_as_read": "Mark All as Read",
"back_to_home": "Back to NodeBB",
"outgoing_link": "Outgoing Link",
"outgoing_link_message": "You are now leaving",
"continue_to": "Continue to",

View File

@@ -12,30 +12,41 @@
"reply": "Reply",
"edit": "Edit",
"delete": "Delete",
"move": "Move",
"fork": "Fork",
"banned": "banned",
"link": "Link",
"share": "Share",
"tools": "Tools",
"thread_tools.title": "Thread Tools",
"thread_tools.markAsUnreadForAll": "Mark Unread",
"thread_tools.pin": "Pin Thread",
"thread_tools.lock": "Lock Thread",
"thread_tools.move": "Move Thread",
"thread_tools.fork": "Fork Thread",
"thread_tools.delete": "Delete Thread",
"load_categories": "Loading Categories",
"disabled_categories_note": "Disabled Categories are greyed out",
"confirm_move": "Move",
"confirm_fork": "Fork",
"favourite": "Favourite",
"favourites": "Favorites",
"favourites": "Favourites",
"favourites.not_logged_in.title": "Not Logged In",
"favourites.not_logged_in.message": "Please log in in order to favourite this post",
"favourites.has_no_favourites": "You don't have any favourites, favourite some posts to see them here!",
"posted_by": "posted by",
"loading": "Loading",
"more_posts": "More Posts",
"loading_more_posts": "Loading More Posts",
"move_topic": "Move Topic",
"move_post": "Move Post",
"fork_topic": "Fork Topic",
"topic_will_be_moved_to": "This topic will be moved to the category",
"fork_topic_instruction": "Click the posts you want to fork",
"fork_no_pids": "No posts selected!",
"fork_success": "Succesfully forked topic!",
"reputation": "Reputation",
"posts": "Posts"

View File

@@ -1,12 +1,14 @@
{
"banned": "Banned",
"offline": "Offline",
"username": "User Name",
"email": "Email",
"fullname": "Full Name",
"website": "Website",
"location": "Location",
"age": "Age",
"joined": "Joined",
"lastonline": "Last Online",
"profile_views": "Profile views",
"reputation": "Reputation",
"posts": "Posts",

View File

@@ -1,7 +1,4 @@
{
"chat.chatting_with": "Chatear con <span id='chat-with-name'></span>",
"chat.placeholder": "ingresa tu mensaje aqui, y presiona enter para enviar",
"chat.send": "Enviar",
"stats.online": "Online",
"stats.users": "Usuarios",
"stats.topics": "Temas",

View File

@@ -8,7 +8,7 @@
"404.message": "Al parecer lo que estas buscando no existe. Te recomendamos que vuelvas al <a href='/''>inicio</a>.",
"500.title": "Error Interno.",
"500.message": "Ooops! Algo salio mal!, No te alarmes. Nuestros simios hiperinteligentes lo solucionarán",
"register": "Registrarse",
"login": "Conectarse",
@@ -27,5 +27,11 @@
"header.profile": "Perfil",
"notifications.loading": "Cargando Notificaciones",
"chats.loading": "Cargando Chats"
"chats.loading": "Cargando Chats",
"motd.welcome": "Bienvenido a NodeBB, la plataforma de debate sobre el futuro.",
"motd.get": "Obtener NodeBB",
"motd.fork": "Fork",
"motd.like": "Me gusta",
"motd.follow": "Seguir"
}

View File

@@ -0,0 +1,4 @@
{
"name": "Spanish",
"code": "es"
}

View File

@@ -0,0 +1,6 @@
{
"chat.chatting_with": "Chatear con <span id='chat-with-name'></span>",
"chat.placeholder": "ingresa tu mensaje aqui, y presiona enter para enviar",
"chat.send": "Enviar",
"chat.no_active": "No tiene conversaciones activas."
}

View File

@@ -1,7 +1,6 @@
{
"title": "Notificaciones",
"back_to_home": "volver al Inicio",
"mark_all_as_read": "Marcar todo como leeido",
"back_to_home": "Volver al Inicio",
"outgoing_link": "Link Externo",
"outgoing_link_message": "Estas saliendo del sitio",
"continue_to": "Continuar",

View File

@@ -32,8 +32,7 @@
"favourites.has_no_favourites": "No tienes favoritos, puedes agregar alguno y volver a verlos aqui!",
"posted_by": "Publicado por",
"loading": "Cargando",
"more_posts": "Más posts",
"loading_more_posts": "Cargando más posts",
"move_topic": "Mover Tema",
"topic_will_be_moved_to": "Este tema sera movido a la categoría",

View File

@@ -7,7 +7,7 @@
"posts": "messages",
"views": "vues",
"posted": "posté",
"browsing": "naviguer",
"browsing": "parcourt",
"no_replies": "Personne n'a répondu",
"replied": "répondu",
"last_edited_by": "dernière édition par"

View File

@@ -1,8 +1,5 @@
{
"chat.chatting_with": "Chat avec <span id=\"chat-with-name\"></span>",
"chat.placeholder": "taper le message ici, presser entrer pour envoyer",
"chat.send": "Envoyer",
"stats.online": "Online",
"stats.online": "En ligne",
"stats.users": "Utilisateurs",
"stats.topics": "Sujets",
"stats.posts": "Message",

View File

@@ -27,5 +27,11 @@
"header.profile": "Profile",
"notifications.loading": "Chargement des Notifications",
"chats.loading": "Chargement des Chats"
"chats.loading": "Chargement des Chats",
"motd.welcome": "Bienvenue sur NodeBB, la plate-forme de discussion de l'avenir.",
"motd.get": "Obtenir NodeBB",
"motd.fork": "Fork",
"motd.like": "J'aime",
"motd.follow": "Suivre"
}

View File

@@ -0,0 +1,4 @@
{
"name": "French",
"code": "fr"
}

View File

@@ -4,7 +4,7 @@
"password": "Mot de passe",
"remember_me": "Se souvenir de moi?",
"forgot_password": "Mot de passe oublié?",
"alternative_logins": "Connexion Alternative",
"alternative_logins": "Connexions Alternatives",
"failed_login_attempt": "Echèc d'authentification, veuillez réessayer.",
"login_successful": "Vous êtes maintenant connecté!"
}

View File

@@ -0,0 +1,6 @@
{
"chat.chatting_with": "Chat avec <span id=\"chat-with-name\"></span>",
"chat.placeholder": "taper le message ici, presser entrer pour envoyer",
"chat.send": "Envoyer",
"chat.no_active": "Vous n'avez pas aucune discussion active."
}

View File

@@ -1,9 +1,8 @@
{
"title": "Notifications",
"back_to_home": "retour à NodeBB",
"mark_all_as_read": "Tout marquer comme lu",
"back_to_home": "Retour à NodeBB",
"outgoing_link": "Lien Sortant",
"outgoing_link_message": "Vous quitter NodeBB",
"continue_to": "Continuer vers",
"return_to": "Retour vers"
"return_to": "Retour vers "
}

View File

@@ -2,4 +2,4 @@
"day": "Jour",
"week": "Semaine",
"month": "Mois"
}
}

View File

@@ -6,11 +6,11 @@
"email_address": "Adresse Email",
"email_address_placeholder": "Entrer l'addresse Email",
"username": "Nom d'utilisateur",
"username_placeholder": "Entré le Nom d'utilisateur",
"username_placeholder": "Entrer le Nom d'utilisateur",
"password": "Mot de passe",
"password_placeholder": "Entrer le Mot de passe",
"confirm_password": "Confirmer le Mot de passe",
"confirm_password_placeholder": "Confirmer le Mot de passe",
"register_now_button": "S'enregistrer maintenant",
"register_now_button": "S'enregistrer Maintenant",
"alternative_registration": "Enregistrement Alternatif"
}
}

View File

@@ -4,7 +4,7 @@
"password_changed.title": "Mot de passe modifié",
"password_changed.message": "<p>Mot de passe réinitialisé avec succès, veuillez vous <a href=\"/login\">reconnecter</a>.",
"wrong_reset_code.title": "Code de Réinisialisation Incorrect",
"wrong_reset_code.message": "Le Code de Réinisialisation est Incorrect. Veillez réessayer, ou <a href=\"/reset\">demander un nouveau Code de Réinisialisation</a>.",
"wrong_reset_code.message": "Le Code de Réinisialisation est Incorrect. Veuillez réessayer, ou <a href=\"/reset\">demander un nouveau Code de Réinisialisation</a>.",
"new_password": "Nouveau Mot de passe",
"repeat_password": "Confirmer le Mot de passe",
"enter_email": "Veuillez entrer votre <strong>adresse email</strong> et vous recevrez un email avec les instruction pour réinitialiser votre compte.",

View File

@@ -5,25 +5,30 @@
"no_topics_found": "Aucun sujet trouvé!",
"profile": "Profile",
"posted_by": "Envoyé by",
"posted_by": "Envoyé par",
"chat": "Chat",
"notify_me": "Être notifié des réponses dans ce sujet",
"quote": "Citer",
"reply": "Répondre",
"edit": "Editer",
"delete": "Supprimer",
"banned": "bannir",
"move": "Déplacer",
"fork": "Scinder",
"banned": "bannis",
"link": "Lien",
"thread_tools.title": "Outils du Fil",
"thread_tools.markAsUnreadForAll": "Marqué comme non lu",
"thread_tools.pin": "Epingler le fil",
"thread_tools.lock": "Verrouiller le fil",
"thread_tools.move": "Déplacer le fil",
"thread_tools.fork": "Scinder le fil",
"thread_tools.delete": "Supprimer le fil",
"load_categories": "Chargement des Categories",
"disabled_categories_note": "Les Catégories Désactivées sont grisées",
"confirm_move": "Déplacer",
"confirm_fork": "Scinder",
"favourite": "Favoris",
"favourites": "Favoris",
@@ -32,11 +37,15 @@
"favourites.has_no_favourites": "Vous n'avez aucun Favoris, mettre en favoris des messages pour les voir apparaître ici!",
"posted_by": "posté par",
"loading": "Chargement",
"more_posts": "d'autres Messages",
"loading_more_posts": "Chargement d'autres Messages",
"move_topic": "Déplacer le Sujet",
"move_post": "Déplacer le Post",
"fork_topic": "Scinder le Topic",
"topic_will_be_moved_to": "Ce sujet sera déplacé vers la catégorie",
"fork_topic_instruction": "Cliquer sur les postes à scinder",
"fork_no_pids": "Aucun poste sélectionné!",
"fork_success": "Topic scinder!",
"reputation": "réputation",
"posts": "messages"
"reputation": "Réputation",
"posts": "Messages"
}

View File

@@ -2,4 +2,4 @@
"no_unread_topics": "Aucun sujet non lu.",
"mark_all_read": "Marquer tout comme lu",
"load_more": "Charger la suite"
}
}

View File

@@ -1,36 +1,41 @@
{
"banned": "Banni",
"offline": "Hors-ligne",
"email": "email",
"username": "Nom d'utilisateur",
"email": "Email",
"fullname": "Nom",
"website": "Site Web",
"location": "Emplacement",
"age": "age",
"joined": "adhésion",
"profil_views": "vues du profil",
"reputation": "réputation",
"posts": "messages",
"followers": "suiveurs",
"following": "suivis",
"signature": "signature",
"gravatar": "gravatar",
"birthday": "anniversaire",
"age": "Age",
"joined": "Adhésion",
"lastonline": "Dernière Connection",
"profil_views": "Vues du profil",
"reputation": "Réputation",
"posts": "Messages",
"followers": "Suiveurs",
"following": "Suivis",
"signature": "Signature",
"gravatar": "Gravatar",
"birthday": "Anniversaire",
"change_picture": "changer d'image",
"edit": "editer",
"uploaded_picture": "images uploadées",
"upload_new_picture": "uploader une nouvelle image",
"change_password": "chnger le mot de passe",
"confirm_password": "confirmer le mot de passe",
"password": "mot de passe",
"change_picture": "Changer d'image",
"edit": "Editer",
"uploaded_picture": "Image uploadée",
"upload_new_picture": "Uploader une nouvelle image",
"change_password": "Changer le mot de passe",
"confirm_password": "Confirmer le mot de passe",
"password": "Mot de passe",
"upload_picture": "Uploader un image",
"upload_a_picture": "Uploader un image",
"upload_picture": "Uploader une image",
"upload_a_picture": "Uploader une image",
"image_spec": "Vous pouvez uploader seulement des fichiers de types PNG, JPG, ou GIF en dessous de 256kb.",
"settings": "paramètres",
"show_my_email": "montrer mon email",
"show_my_email": "Montrer mon email",
"has_no_follower": "Cet utilisateur n'a aucun suiver :(",
"follows_no_one": "Cet utilisateur ne suit personne :("
"has_no_follower": "Cet utilisateur n'a aucun suiveur :(",
"follows_no_one": "Cet utilisateur ne suit personne :(",
"email_hidden": "Email masqué",
"hidden": "masqué"
}

View File

@@ -1,9 +1,9 @@
{
"latest_users": "Derniers Utilisateurs",
"top_posters": "Meilleurs Publieur",
"top_posters": "Meilleurs Publieurs",
"most_reputation": "Meilleur Réputation",
"online": "En Ligne",
"search": "Rechercher",
"enter_username": "Entrer un nom d'utilisateur pour rechercher",
"load_more": "Charger la suite"
}
}

View File

@@ -0,0 +1,14 @@
{
"new_topic_button": "Nuova Discussione",
"no_topics": "<strong>Non ci sono discussioni in questa categoria.</strong><br />Perché non ne inizi una?",
"sidebar.recent_replies": "Risposte Recenti",
"sidebar.active_participants": "Partecipanti Attivi",
"sidebar.moderators": "Moderatori",
"posts": "post",
"views": "visualizzazioni",
"posted": "inserito",
"browsing": "navigazione",
"no_replies": "Non ha ancora risposto nessuno",
"replied": "risposto",
"last_edited_by": "ultima modifica di"
}

View File

@@ -0,0 +1,7 @@
{
"stats.online": "Online",
"stats.users": "Utenti",
"stats.topics": "Discussioni",
"stats.posts": "Post",
"success": "successo"
}

View File

@@ -0,0 +1,37 @@
{
"home": "Home",
"search": "Cerca",
"buttons.close": "Chiudi",
"403.title": "Accesso Proibito",
"403.message": "Non hai accesso alla pagina che stavi cercando di aprire. Probabilmente devi <a href='/login'>effettuare il log in</a>?",
"404.title": "Non trovato",
"404.message": "La pagina che stavi cercando di aprire non esiste. Ritorna alla <a href='/'>pagina iniziale</a>.",
"500.title": "Errore interno.",
"500.message": "Oops! Qualcosa non funziona come si deve!",
"register": "Registrazione",
"login": "Login",
"logout": "Logout",
"logout.title": "Disconnessione avvenuta.",
"logout.message": "Logout effettuato con successo",
"save_changes": "Salva",
"close": "Chiudi",
"header.admin": "Amministratore",
"header.recent": "Recenti",
"header.unread": "Non letti",
"header.users": "Utenti",
"header.search": "Cerca",
"header.profile": "Profilo",
"notifications.loading": "Caricamento delle Notifiche",
"chats.loading": "Caricamento delle Chat",
"motd.welcome": "Benvenuti al NodeBB, la piattaforma di discussione del futuro.",
"motd.get": "Ottenere NodeBB",
"motd.fork": "Fork",
"motd.like": "Mi piace",
"motd.follow": "Segui"
}

View File

@@ -0,0 +1,4 @@
{
"name": "Italiano",
"code": "it"
}

View File

@@ -0,0 +1,10 @@
{
"login": "Login",
"username": "Nome utente",
"password": "Password",
"remember_me": "Memorizzami?",
"forgot_password": "Password dimenticata?",
"alternative_logins": "Login Alternativi",
"failed_login_attempt": "Tentativo di login fallito; prova ancora.",
"login_successful": "Login avvenuto con successo!"
}

View File

@@ -0,0 +1,6 @@
{
"chat.chatting_with": "Chatta con <span id=\"chat-with-name\"></span>",
"chat.placeholder": "scrivi un messaggio qui e premi Invio",
"chat.send": "Invia",
"chat.no_active": "Non hai le chat attive."
}

View File

@@ -0,0 +1,8 @@
{
"title": "Notifiche",
"back_to_home": "Torna alla pagina iniziale",
"outgoing_link": "Link in uscita",
"outgoing_link_message": "Ci stai abbandonando",
"continue_to": "Continua verso",
"return_to": "Ritorna a "
}

View File

@@ -0,0 +1,5 @@
{
"day": "Giorno",
"week": "Settimana",
"month": "Mese"
}

View File

@@ -0,0 +1,16 @@
{
"register": "Registrazione",
"help.email": "Come opzione predefinita, il tuo indirizzo email non verrà reso pubblico.",
"help.username_restrictions": "Un nome utente unico, di almeno %1 caratteri e al massimo di %2. Gli altri utenti ti possono menzionare usando @<span id='yourUsername'>username</span>.",
"help.minimum_password_length": "La lunghezza della password deve essere di almeno %1 caratteri.",
"email_address": "Indirizzo Email",
"email_address_placeholder": "Inserisci l'indirizzo email",
"username": "Nome utente",
"username_placeholder": "Inserisci il Nome utente",
"password": "Password",
"password_placeholder": "Inserisci la Password",
"confirm_password": "Conferma la Password",
"confirm_password_placeholder": "Conferma la Password",
"register_now_button": "Registrati",
"alternative_registration": "Altri metodi di registrazione"
}

View File

@@ -0,0 +1,13 @@
{
"reset_password": "Resetta la Password",
"update_password": "Cambia la Password",
"password_changed.title": "Password Modificata",
"password_changed.message": "<p>La password è stata resettata con successo. <a href=\"/login\">Effettua di nuovo il log in</a>.",
"wrong_reset_code.title": "Codice di reset non corretto",
"wrong_reset_code.message": "Il codice di reset ricevuto non è corretto. Prova ancora, o <a href=\"/reset\">richiedi un nuovo codice</a>.",
"new_password": "Nuova Password",
"repeat_password": "Conferma la Password",
"enter_email": "Inserisci il tuo <strong>indirizzo email</strong> e ti invieremo un'email con le istruzioni per resettare il tuo account.",
"password_reset_sent": "Password Reset Inviata",
"invalid_email": "Email invalida / L'email non esiste!"
}

View File

@@ -0,0 +1,50 @@
{
"topic": "Discussione",
"topics": "Discussioni",
"no_topics_found": "Nessuna discussione trovata!",
"profile": "Profilo",
"posted_by": "Scritto da",
"chat": "Chat",
"notify_me": "Ricevi notifiche di nuove risposte in questa discussione",
"quote": "Citazione",
"reply": "Rispondi",
"edit": "Modifica",
"delete": "Cancella",
"move": "Muovi",
"fork": "Fork",
"banned": "bannato",
"link": "Link",
"thread_tools.title": "Strumenti per il Thread",
"thread_tools.pin": "Appendi il Thread",
"thread_tools.lock": "Blocca il Thread",
"thread_tools.move": "Sposta il Thread",
"thread_tools.fork": "Fork Thread",
"thread_tools.delete": "Elimina il Thread",
"load_categories": "Caricamento delle Categorie",
"disabled_categories_note": "Le Categorie disabilitate sono in grigio",
"confirm_move": "Sposta",
"confirm_fork": "Fork",
"favourite": "Preferito",
"favourites": "Preferiti",
"favourites.not_logged_in.title": "Non collegato/a",
"favourites.not_logged_in.message": "Log in per aggiungere questo post ai preferiti",
"favourites.has_no_favourites": "Non hai ancun post preferito; aggiungi qualche post ai preferiti per vederli qui!",
"posted_by": "scritto da",
"loading_more_posts": "Caricamento altri post",
"move_topic": "Spsota Discussione",
"move_post": "Sposta Post",
"fork_topic": "Fork Topic",
"topic_will_be_moved_to": "Questa discussione verrà spostata nella categoria",
"fork_topic_instruction": "Clicca sui post che vuoi forkare",
"fork_no_pids": "Nessun post selezionato!",
"fork_success": "Discussione forkata con successo!",
"reputation": "Reputazione",
"posts": "Post"
}

View File

@@ -0,0 +1,5 @@
{
"no_unread_topics": "Non ci sono discussioni non lette.",
"mark_all_read": "Segna tutto come già letto",
"load_more": "Carica Altro"
}

View File

@@ -0,0 +1,41 @@
{
"banned": "Bannato",
"offline": "Non in linea",
"username": "Nome Utente",
"email": "Email",
"fullname": "Nome e Cognome",
"website": "Sito Internet",
"location": "Località",
"age": "Età",
"joined": "Iscrizione",
"lastonline": "Ultima volta in linea",
"profile_views": "Visite al profilo",
"reputation": "Reputazione",
"posts": "Post",
"followers": "Da chi è seguito",
"following": "Chi segue",
"signature": "Firma",
"gravatar": "Gravatar",
"birthday": "Data di nascita",
"change_picture": "Cambia la foto",
"edit": "Modifica",
"uploaded_picture": "Foto caricata",
"upload_new_picture": "Carica una nuova foto",
"change_password": "Cambia la Password",
"confirm_password": "Conferma la Password",
"password": "Password",
"upload_picture": "Carica foto",
"upload_a_picture": "Carica una foto",
"image_spec": "È possibile caricare solo immagini in formato PNG, JPG, o GIF, non più grandi di 256kb.",
"settings": "impostazioni",
"show_email": "Mostra la mia Email",
"has_no_follower": "Questo utente non è seguito da nessuno :(",
"follows_no_one": "Questo utente non segue nessuno :(",
"email_hidden": "Email Nascosta",
"hidden": "nascosta"
}

View File

@@ -0,0 +1,9 @@
{
"latest_users": "Ultimi Utenti",
"top_posters": "Maggiori contributori",
"most_reputation": "Reputazione più alta",
"online": "In linea",
"search": "Cerca",
"enter_username": "Inserisci il nome utente da cercare",
"load_more": "Carica di più"
}

View File

@@ -0,0 +1,14 @@
{
"new_topic_button": "新主题",
"no_topics": "<strong>这个版面还没有任何内容。</strong><br />赶紧来发帖吧!",
"sidebar.recent_replies": "最近回复",
"sidebar.active_participants": "活跃用户",
"sidebar.moderators": "版主",
"posts": "帖子",
"views": "浏览",
"posted": "发布",
"browsing": "正在浏览",
"no_replies": "还没有回复",
"replied": "回复",
"last_edited_by": "最后编辑"
}

View File

@@ -0,0 +1,7 @@
{
"stats.online": "在线",
"stats.users": "用户",
"stats.topics": "主题",
"stats.posts": "帖子",
"success": "成功"
}

View File

@@ -0,0 +1,31 @@
{
"home": "主页",
"search": "搜索",
"buttons.close": "关闭",
"403.title": "禁止访问",
"403.message": "你没有该页面的访问权限,可能是因为你尚未<a href='/login'>登录</a>。",
"404.title": "无法找到该页",
"404.message": "你所查找的页面并不存在,返回<a href='/'>主页</a>。",
"500.title": "内部错误",
"500.message": "不好!看来是哪里出错了!",
"register": "注册",
"login": "登录",
"logout": "退出",
"logout.title": "你已经退出。",
"logout.message": "你已经成功退出登录。",
"save_changes": "保存修改",
"close": "关闭",
"header.admin": "管理",
"header.recent": "最近",
"header.unread": "未读",
"header.users": "用户",
"header.search": "搜索",
"header.profile": "设置",
"notifications.loading": "消息载入中",
"chats.loading": "聊天载入中"
}

View File

@@ -0,0 +1,4 @@
{
"name": "简体中文",
"code": "zh_cn"
}

View File

@@ -0,0 +1,10 @@
{
"login": "登录",
"username": "用户名",
"password": "密码",
"remember_me": "记住我?",
"forgot_password": "忘记密码?",
"alternative_logins": "其他登录方式",
"failed_login_attempt": "登录失败,请再尝试。",
"login_successful": "你已成功登录!"
}

View File

@@ -0,0 +1,6 @@
{
"chat.chatting_with": "和<span id=\"chat-with-name\"></span>聊天中",
"chat.placeholder": "在这里输入消息按Enter发送",
"chat.send": "发送",
"chat.no_active": "暂无聊天"
}

View File

@@ -0,0 +1,9 @@
{
"title": "消息",
"back_to_home": "返回主页",
"mark_all_as_read": "全部标记为已读",
"outgoing_link": "站外链接",
"outgoing_link_message": "你正在离开本站。",
"continue_to": "继续前往",
"return_to": "返回"
}

View File

@@ -0,0 +1,5 @@
{
"day": "今日",
"week": "本周",
"month": "本月"
}

View File

@@ -0,0 +1,16 @@
{
"register": "注册",
"help.email": "默认情况下,你的邮箱不会公开。",
"help.username_restrictions": "用户名由%1到%2个字符组成。其他人可以通过 @<span id='yourUsername'>用户名</span> 点名你。",
"help.minimum_password_length": "密码必须至少包含%1个字符。",
"email_address": "Email",
"email_address_placeholder": "输入邮箱地址",
"username": "用户名",
"username_placeholder": "输入用户名",
"password": "密码",
"password_placeholder": "输入密码",
"confirm_password": "确认密码",
"confirm_password_placeholder": "再次输入密码",
"register_now_button": "现在注册",
"alternative_registration": "其他方式注册"
}

View File

@@ -0,0 +1,13 @@
{
"reset_password": "重置密码",
"update_password": "更新密码",
"password_changed.title": "密码已更改",
"password_changed.message": "<p>密码重置成功,请重新<a href=\"/login\">登录</a>。",
"wrong_reset_code.title": "验证码不正确",
"wrong_reset_code.message": "您输入的验证码有误,请重新输入,或<a href=\"/reset\">申请新的验证码</a>。",
"new_password": "新的密码",
"repeat_password": "确认密码",
"enter_email": "请输入您的<strong>Email地址</strong>,我们会发送邮件告诉您如何重置密码。",
"password_reset_sent": "密码重置邮件已发送。",
"invalid_email": "非法的邮箱地址/邮箱不存在!"
}

View File

@@ -0,0 +1,50 @@
{
"topic": "主题",
"topics": "主题",
"no_topics_found": "没有找到主题!",
"profile": "资料",
"posted_by": "发表",
"chat": "聊天",
"notify_me": "该主题有新回复时通知我",
"quote": "引用",
"reply": "回复",
"edit": "编辑",
"delete": "删除",
"move": "移动",
"fork": "作为主题",
"banned": "封禁",
"link": "链接",
"thread_tools.title": "管理工具",
"thread_tools.pin": "置顶帖子",
"thread_tools.lock": "锁定帖子",
"thread_tools.move": "移动帖子",
"thread_tools.fork": "作为主题",
"thread_tools.delete": "删除帖子",
"load_categories": "版面载入中",
"disabled_categories_note": "停用的版面为灰色",
"confirm_move": "移动",
"confirm_fork": "作为主题",
"favourite": "收藏",
"favourites": "收藏",
"favourites.not_logged_in.title": "未登录",
"favourites.not_logged_in.message": "收藏帖子之前请先登录。",
"favourites.has_no_favourites": "你还没有任何收藏,收藏的帖子将会出现在这里!",
"posted_by": "发布",
"loading_more_posts": "载入更多帖子",
"move_topic": "移动主题",
"move_post": "移动帖子",
"fork_topic": "作为主题",
"topic_will_be_moved_to": "这个主题将会被移动到",
"fork_topic_instruction": "点击要作为主题的帖子",
"fork_no_pids": "尚未选择帖子!",
"fork_success": "成功将帖子作为主题!",
"reputation": "声望",
"posts": "发帖数"
}

View File

@@ -0,0 +1,5 @@
{
"no_unread_topics": "没有未读主题。",
"mark_all_read": "标记全部为已读",
"load_more": "载入更多"
}

View File

@@ -0,0 +1,41 @@
{
"banned": "封禁",
"offline": "下线",
"username": "用户名",
"email": "Email",
"fullname": "姓名",
"website": "网站",
"location": "地址",
"age": "年龄",
"joined": "加入时间",
"lastonline": "最后在线",
"profile_views": "资料被查看",
"reputation": "声望",
"posts": "发帖数",
"followers": "被关注",
"following": "关注",
"signature": "签名",
"gravatar": "Gravatar头像",
"birthday": "生日",
"change_picture": "改变头像",
"edit": "编辑",
"uploaded_picture": "已有头像",
"upload_new_picture": "上传新头像",
"change_password": "更改密码",
"confirm_password": "确认密码",
"password": "密码",
"upload_picture": "上传头像",
"upload_a_picture": "上传一张照片",
"image_spec": "你可以上传PNGJPG或GIF格式的图像文件小于256kb。",
"settings": "设置",
"show_email": "显示我的邮箱",
"has_no_follower": "该用户还没有被任何人关注。",
"follows_no_one": "该用户还没有关注过任何人。",
"email_hidden": "邮箱被隐藏",
"hidden": "隐藏"
}

View File

@@ -0,0 +1,9 @@
{
"latest_users": "最近用户",
"top_posters": "发帖最多",
"most_reputation": "声望最高",
"online": "在线",
"search": "搜索",
"enter_username": "输入你想找的用户名",
"load_more": "载入更多"
}

View File

@@ -48,6 +48,10 @@ var ajaxify = {};
window.onscroll = null;
// end
if ($('#content').hasClass('ajaxifying')) {
templates.cancelRequest();
}
// Remove trailing slash
url = url.replace(/\/$/, "");
@@ -174,7 +178,7 @@ var ajaxify = {};
} else if (window.location.pathname !== '/outgoing') {
// External Link
if (config.useOutgoingLinksPage == true) {
if (config.useOutgoingLinksPage) {
ajaxify.go('outgoing?url=' + encodeURIComponent(this.href));
e.preventDefault();
}

View File

@@ -23,7 +23,7 @@ var socket,
} else {
var max_reconnection_attemps = 5;
var reconnection_delay = 200;
socket = io.connect(RELATIVE_PATH, {
socket = io.connect('', {
'max reconnection attempts': max_reconnection_attemps,
'reconnection delay': reconnection_delay
});
@@ -36,9 +36,9 @@ var socket,
app.uid = data.uid;
app.showLoginMessage();
socket.emit('api:updateHeader', {
socket.emit('meta.updateHeader', {
fields: ['username', 'picture', 'userslug']
});
}, app.updateHeader);
});
socket.on('event:alert', function (data) {
@@ -77,16 +77,16 @@ var socket,
}
app.enterRoom(room, true);
socket.emit('reconnected');
socket.emit('meta.reconnected');
setTimeout(function() {
reconnectEl.removeClass('active').addClass("hide");
}, 3000);
}
socket.emit('api:updateHeader', {
socket.emit('meta.updateHeader', {
fields: ['username', 'picture', 'userslug']
});
}, app.updateHeader);
});
socket.on('event:disconnect', function() {
@@ -111,42 +111,6 @@ var socket,
});
});
socket.on('api:user.get_online_users', function (users) {
jQuery('a.username-field').each(function () {
if (this.processed === true)
return;
var el = jQuery(this),
uid = el.parents('li').attr('data-uid');
if (uid && jQuery.inArray(uid, users) !== -1) {
el.find('i').remove();
el.prepend('<i class="fa fa-circle"></i>');
} else {
el.find('i').remove();
el.prepend('<i class="fa fa-circle-o"></i>');
}
el.processed = true;
});
jQuery('button .username-field').each(function () {
//DRY FAIL
if (this.processed === true)
return;
var el = jQuery(this),
uid = el.parents('li').attr('data-uid');
if (uid && jQuery.inArray(uid, users) !== -1) {
el.parent().addClass('btn-success');
} else {
el.parent().addClass('btn-danger');
}
el.processed = true;
});
});
socket.on('event:banned', function() {
app.alert({
title: 'Banned',
@@ -158,6 +122,8 @@ var socket,
setTimeout(app.logout, 1000);
});
socket.on('meta.updateHeader', app.updateHeader);
app.enterRoom('global');
}
},
@@ -178,17 +144,6 @@ var socket,
return text.replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1,");
};
// Willingly stolen from: http://phpjs.org/functions/strip_tags/
app.strip_tags = function (input, allowed) {
allowed = (((allowed || "") + "").toLowerCase().match(/<[a-z][a-z0-9]*>/g) || []).join(''); // making sure the allowed arg is a string containing only tags in lowercase (<a><b><c>)
var tags = /<\/?([a-z][a-z0-9]*)\b[^>]*>/gi,
commentsAndPhpTags = /<!--[\s\S]*?-->|<\?(?:php)?[\s\S]*?\?>/gi;
return input.replace(commentsAndPhpTags, '').replace(tags, function ($0, $1) {
return allowed.indexOf('<' + $1.toLowerCase() + '>') > -1 ? $0 : '';
});
};
// use unique alert_id to have multiple alerts visible at a time, use the same alert_id to fade out the current instance
// type : error, success, info, warning/notify
// title = bolded title text
@@ -282,7 +237,7 @@ var socket,
return;
}
socket.emit('event:enter_room', {
socket.emit('meta.rooms.enter', {
'enter': room,
'leave': app.currentRoom
});
@@ -295,10 +250,24 @@ var socket,
var uids = [];
jQuery('.post-row').each(function () {
uids.push(this.getAttribute('data-uid'));
var uid = $(this).attr('data-uid');
if(uids.indexOf(uid) === -1) {
uids.push(uid);
}
});
socket.emit('api:user.get_online_users', uids);
socket.emit('user.getOnlineUsers', uids, function (err, users) {
jQuery('button .username-field').each(function (index, element) {
var el = jQuery(this),
uid = el.parents('li').attr('data-uid');
if (uid && jQuery.inArray(uid, users) !== -1) {
el.parent().addClass('btn-success').removeClass('btn-danger');
} else {
el.parent().addClass('btn-danger').removeClass('btn-success');
}
});
});
};
function highlightNavigationLink() {
@@ -402,14 +371,16 @@ var socket,
}
require(['chat'], function (chat) {
var chatModal;
if (!chat.modalExists(touid)) {
chatModal = chat.createModal(username, touid);
chat.createModal(username, touid, loadAndCenter);
} else {
chatModal = chat.getModal(touid);
loadAndCenter(chat.getModal(touid));
}
function loadAndCenter(chatModal) {
chat.load(chatModal.attr('UUID'));
chat.center(chatModal);
}
chat.load(chatModal.attr('UUID'));
chat.center(chatModal);
});
};
@@ -430,10 +401,13 @@ var socket,
interval: undefined,
titles: []
};
app.alternatingTitle = function (title) {
if (typeof title !== 'string') return;
if (title.length > 0) {
app.alternatingTitle = function (title) {
if (typeof title !== 'string') {
return;
}
if (title.length > 0 && !app.isFocused) {
titleObj.titles[1] = title;
if (titleObj.interval) {
clearInterval(titleObj.interval);
@@ -445,7 +419,9 @@ var socket,
if (titleObj.interval) {
clearInterval(titleObj.interval);
}
if (titleObj.titles[0]) window.document.title = titleObj.titles[0];
if (titleObj.titles[0]) {
window.document.title = titleObj.titles[0];
}
}
};
@@ -456,12 +432,83 @@ var socket,
url = a.pathname.slice(1);
}
socket.emit('api:meta.buildTitle', url, function(title, numNotifications) {
socket.emit('meta.buildTitle', url, function(err, title, numNotifications) {
titleObj.titles[0] = (numNotifications > 0 ? '(' + numNotifications + ') ' : '') + title;
app.alternatingTitle('');
});
};
app.updateHeader = function(err, data) {
$('#search-button').off().on('click', function(e) {
e.stopPropagation();
$('#search-fields').removeClass('hide').show();
$(this).hide();
$('#search-fields input').focus();
$('#search-form').on('submit', function() {
$('#search-fields').hide();
$('#search-button').show();
});
$('#search-fields input').on('blur', function() {
$('#search-fields').hide();
$('#search-button').show();
});
return false;
});
var loggedInMenu = $('#logged-in-menu'),
isLoggedIn = data.uid > 0,
allowGuestSearching = (data.config || {}).allowGuestSearching === '1';
if (isLoggedIn) {
$('.nodebb-loggedin').show();
$('.nodebb-loggedout').hide();
$('#logged-out-menu').addClass('hide');
$('#logged-in-menu').removeClass('hide');
$('#search-button').removeClass("hide").show();
var userLabel = loggedInMenu.find('#user_label');
if (userLabel.length) {
if (data.userslug) {
userLabel.find('#user-profile-link').attr('href', RELATIVE_PATH + '/user/' + data.userslug);
}
if (data.picture) {
userLabel.find('img').attr('src', data.picture);
}
if (data.username) {
userLabel.find('span').html(data.username);
}
$('#logout-link').on('click', app.logout);
}
} else {
if (allowGuestSearching) {
$('#search-button').removeClass("hide").show();
$('#mobile-search-button').removeClass("hide").show();
} else {
$('#search-button').addClass("hide").hide();
$('#mobile-search-button').addClass("hide").hide();
}
$('.nodebb-loggedin').hide();
$('.nodebb-loggedout').show();
$('#logged-out-menu').removeClass('hide');
$('#logged-in-menu').addClass('hide');
}
$('#main-nav a,#user-control-list a,#logged-out-menu li a,#logged-in-menu .visible-xs').off('click').on('click', function() {
if($('.navbar .navbar-collapse').hasClass('in')) {
$('.navbar-header button').click();
}
});
};
jQuery('document').ready(function () {
$('#search-form').on('submit', function () {
var input = $(this).find('input');
@@ -479,6 +526,8 @@ var socket,
app.alternatingTitle('');
});
templates.setGlobal('relative_path', RELATIVE_PATH);
});
showWelcomeMessage = location.href.indexOf('loggedin') !== -1;

View File

@@ -35,31 +35,31 @@ define(['forum/accountheader'], function(header) {
}
followBtn.on('click', function() {
socket.emit('api:user.follow', {
socket.emit('user.follow', {
uid: theirid
}, function(success) {
if (success) {
followBtn.addClass('hide');
unfollowBtn.removeClass('hide');
app.alertSuccess('You are now following ' + username + '!');
} else {
app.alertError('There was an error following' + username + '!');
}, function(err) {
if(err) {
return app.alertError('There was an error following' + username + '!');
}
followBtn.addClass('hide');
unfollowBtn.removeClass('hide');
app.alertSuccess('You are now following ' + username + '!');
});
return false;
});
unfollowBtn.on('click', function() {
socket.emit('api:user.unfollow', {
socket.emit('user.unfollow', {
uid: theirid
}, function(success) {
if (success) {
followBtn.removeClass('hide');
unfollowBtn.addClass('hide');
app.alertSuccess('You are no longer following ' + username + '!');
} else {
app.alertError('There was an error unfollowing ' + username + '!');
}, function(err) {
if(err) {
return app.alertError('There was an error unfollowing ' + username + '!');
}
followBtn.removeClass('hide');
unfollowBtn.addClass('hide');
app.alertSuccess('You are no longer following ' + username + '!');
});
return false;
});
@@ -68,13 +68,9 @@ define(['forum/accountheader'], function(header) {
app.openChat(username, theirid);
});
$('.user-recent-posts .topic-row').on('click', function() {
ajaxify.go($(this).attr('topic-url'));
});
socket.on('user.isOnline', Account.handleUserOnline);
socket.on('api:user.isOnline', Account.handleUserOnline);
socket.emit('api:user.isOnline', theirid, Account.handleUserOnline);
socket.emit('user.isOnline', theirid, Account.handleUserOnline);
socket.on('event:new_post', function(data) {
var html = templates.prepare(templates['account'].blocks['posts']).parse(data);
@@ -85,7 +81,7 @@ define(['forum/accountheader'], function(header) {
});
};
Account.handleUserOnline = function(data) {
Account.handleUserOnline = function(err, data) {
var onlineStatus = $('.account-online-status');
if (data.online) {

View File

@@ -15,6 +15,7 @@ define(['forum/accountheader', 'uploader'], function(header, uploader) {
var userData = {
uid: $('#inputUID').val(),
username: $('#inputUsername').val(),
email: $('#inputEmail').val(),
fullname: $('#inputFullname').val(),
website: $('#inputWebsite').val(),
@@ -23,7 +24,7 @@ define(['forum/accountheader', 'uploader'], function(header, uploader) {
signature: $('#inputSignature').val()
};
socket.emit('api:user.updateProfile', userData, function(err, data) {
socket.emit('user.updateProfile', userData, function(err, data) {
if (data.success) {
app.alertSuccess('Your profile has been updated successfully!');
if (data.picture) {
@@ -35,7 +36,7 @@ define(['forum/accountheader', 'uploader'], function(header, uploader) {
gravatarPicture = data.gravatarpicture;
}
} else {
app.alertError('There was an error updating your profile! ' + err.error);
app.alertError('There was an error updating your profile! ' + err.message);
}
});
return false;
@@ -43,7 +44,11 @@ define(['forum/accountheader', 'uploader'], function(header, uploader) {
function getSignatureCharsLeft() {
return '(' + $('#inputSignature').val().length + '/' + config.maximumSignatureLength + ')';
if($('#inputSignature').length) {
return '(' + $('#inputSignature').val().length + '/' + config.maximumSignatureLength + ')';
} else {
return '';
}
}
$('#signatureCharCountLeft').html(getSignatureCharsLeft());
@@ -95,7 +100,7 @@ define(['forum/accountheader', 'uploader'], function(header, uploader) {
$('#uploadPictureBtn').on('click', function() {
$('#change-picture-modal').modal('hide');
uploader.open(RELATIVE_PATH + '/user/uploadpicture', function(imageUrlOnServer) {
uploader.open(RELATIVE_PATH + '/user/uploadpicture', {}, function(imageUrlOnServer) {
imageUrlOnServer = imageUrlOnServer + '?' + new Date().getTime();
$('#user-current-picture').attr('src', imageUrlOnServer);
@@ -103,9 +108,9 @@ define(['forum/accountheader', 'uploader'], function(header, uploader) {
uploadedPicture = imageUrlOnServer;
socket.emit('api:updateHeader', {
socket.emit('meta.updateHeader', {
fields: ['username', 'picture', 'userslug']
});
}, app.updateHeader);
});
@@ -169,7 +174,7 @@ define(['forum/accountheader', 'uploader'], function(header, uploader) {
$('#changePasswordBtn').on('click', function() {
if (passwordvalid && passwordsmatch && currentPassword.val()) {
socket.emit('api:user.changePassword', {
socket.emit('user.changePassword', {
'currentPassword': currentPassword.val(),
'newPassword': password.val()
}, function(err) {
@@ -181,7 +186,7 @@ define(['forum/accountheader', 'uploader'], function(header, uploader) {
passwordvalid = false;
if (err) {
app.alertError(err.error);
app.alertError(err.message);
return;
}
@@ -201,9 +206,9 @@ define(['forum/accountheader', 'uploader'], function(header, uploader) {
type: type
};
socket.emit('api:user.changePicture', userData, function(success) {
if (!success) {
app.alertError('There was an error changing picture!');
socket.emit('user.changePicture', userData, function(err) {
if(err) {
app.alertError(err.message);
}
});
}

View File

@@ -29,11 +29,11 @@ define(function() {
AccountHeader.createMenu = function() {
var userslug = $('.account-username-box').attr('data-userslug');
var links = $('<div class="account-sub-links inline-block pull-right">\
<span id="settingsLink" class="pull-right"><a href="/user/' + userslug + '/settings">settings</a></span>\
<span id="favouritesLink" class="pull-right"><a href="/user/' + userslug + '/favourites">favourites</a></span>\
<span class="pull-right"><a href="/user/' + userslug + '/followers">followers</a></span>\
<span class="pull-right"><a href="/user/' + userslug + '/following">following</a></span>\
<span id="editLink" class="pull-right"><a href="/user/' + userslug + '/edit">edit</a></span>\
<span id="settingsLink" class="pull-right"><a href="' + RELATIVE_PATH + '/user/' + userslug + '/settings">settings</a></span>\
<span id="favouritesLink" class="pull-right"><a href="' + RELATIVE_PATH + '/user/' + userslug + '/favourites">favourites</a></span>\
<span class="pull-right"><a href="' + RELATIVE_PATH + '/user/' + userslug + '/followers">followers</a></span>\
<span class="pull-right"><a href="' + RELATIVE_PATH + '/user/' + userslug + '/following">following</a></span>\
<span id="editLink" class="pull-right"><a href="' + RELATIVE_PATH + '/user/' + userslug + '/edit">edit</a></span>\
</div>');
$('.account-username-box').append(links);

View File

@@ -10,12 +10,11 @@ define(['forum/accountheader'], function(header) {
showemail: $('#showemailCheckBox').is(':checked') ? 1 : 0
};
socket.emit('api:user.saveSettings', settings, function(err) {
if (!err) {
app.alertSuccess('Settings saved!');
} else {
app.alertError('There was an error saving settings!');
socket.emit('user.saveSettings', settings, function(err) {
if (err) {
return app.alertError('There was an error saving settings!');
}
app.alertSuccess('Settings saved!');
});
return false;
});

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