Commit Graph

5262 Commits

Author SHA1 Message Date
psychobunny
0851102800 newline 2014-04-15 02:48:34 -04:00
barisusakli
d832a6f805 closes #1381 2014-04-14 18:04:17 -04:00
psychobunny
3c711d72fb regex - no need to escape special characters inside [] 2014-04-14 17:42:47 -04:00
psychobunny
e5486db1ae Merge branch 'code-quality' of https://github.com/miksago/NodeBB into miksago-code-quality
Conflicts:
	src/database.js
2014-04-14 17:36:10 -04:00
barisusakli
3ea49a8f90 if language or default language is not set use en 2014-04-14 17:17:02 -04:00
barisusakli
3e60451ce4 closes #1013
lets user change languages,
2014-04-14 15:58:19 -04:00
barisusakli
9125292b0e removed get and mget 2014-04-13 22:24:21 -04:00
barisusakli
8aa4f053e8 converted translator.get to translator.translate 2014-04-13 22:16:43 -04:00
barisusakli
fb43282a9c removed for in loop 2014-04-13 22:04:08 -04:00
barisusakli
557426c1c9 translator refactor
no longer loads all language files on startup
2014-04-13 16:24:12 -04:00
barisusakli
fc8e97448c load sounds on demand, refactored sounds 2014-04-12 19:19:57 -04:00
barisusakli
f8a6ab5cf4 if no icon is selected for a category icon will be empty string 2014-04-12 17:36:52 -04:00
Julian Lam
29ec14efa0 fixed #1365 2014-04-12 17:05:22 -04:00
barisusakli
a091e06fe3 more work for #1368 2014-04-11 17:01:27 -04:00
barisusakli
06dddccf8e more refactor 2014-04-11 15:53:57 -04:00
barisusakli
252e757185 some more language strings and account.js refactor 2014-04-11 15:44:57 -04:00
barisusakli
7545d55b22 jshint and refactor accountedit 2014-04-10 22:01:00 -04:00
Micheil Smith
8da45b72a9 Composer: Rework formatting bar logic 2014-04-10 22:32:34 +01:00
Micheil Smith
78e1e4fbac Composer: simplify code with early returns 2014-04-10 22:31:55 +01:00
Micheil Smith
9dc0a4b115 Admin/Groups: Pass radix argument to parseInt 2014-04-10 20:56:53 +01:00
Micheil Smith
3e82cab398 Add missing new lines at end of files. 2014-04-10 20:56:53 +01:00
Micheil Smith
66d1f2505f Composer: Pass radix argument to parseInt 2014-04-10 20:56:53 +01:00
Micheil Smith
85cab3aec8 Composer: Escape special characters in regex 2014-04-10 20:56:52 +01:00
Micheil Smith
e860b0dd4c Composer: Remove unused variables 2014-04-10 20:56:52 +01:00
Micheil Smith
6e4639496e Improve readability of a selector 2014-04-10 20:56:52 +01:00
Micheil Smith
11b6794946 Refactor connection logic
Aiming to be flatter, with less deep nesting. Still more to go here.
2014-04-10 20:56:52 +01:00
Micheil Smith
0bbd29ac42 Reduce DOM queries for Search elements 2014-04-10 20:56:52 +01:00
Micheil Smith
2c2e5de911 Add missing 'global' variable declaration 2014-04-10 20:06:25 +01:00
barisusakli
14d0081fdf replace 2 error messages with keys 2014-04-10 12:47:48 -04:00
barisusakli
95972209f4 favourite changes
favourites.js no longer makes socket calls, moved that code into
socket.io/posts.js. it also makes a single socket call when you downvote
a post that you previously upvoted.
2014-04-09 20:55:53 -04:00
barisusakli
34b73e15e6 dont add dupes to widgetLocations
this prevents widgets from being executed multiple times
2014-04-09 16:35:51 -04:00
barisusakli
e2d0d4db5c added error and success language files
removed some code from server side that was emitting alerts
2014-04-09 14:12:50 -04:00
psychobunny
81dfbba0ec imported latest templates.js 2014-04-09 14:08:38 -04:00
psychobunny
cf362f64a3 woops, now everybody is an android browser. 2014-04-08 17:59:08 -04:00
psychobunny
8432d8827e attempt at fixing #1323 2014-04-08 17:35:30 -04:00
psychobunny
d5baaacb72 utils.isAndroidBrowser 2014-04-08 17:35:29 -04:00
psychobunny
21a4651a64 latest templates.js, gotta switch to the version on npm soon 2014-04-08 16:45:17 -04:00
psychobunny
c52583ae28 replaying changes from a150b2c6f7 2014-04-08 16:10:27 -04:00
psychobunny
c5cae312d7 error out early when saving widgets 2014-04-08 15:58:47 -04:00
psychobunny
61478caa3d imported latest templates.js 2014-04-08 15:51:20 -04:00
psychobunny
a150b2c6f7 handle if invalid tpl is passed in 2014-04-07 18:06:58 -04:00
barisusakli
54ba2d2ac3 removed console.log 2014-04-07 18:01:48 -04:00
barisusakli
d1ec101248 fixed infinite load and select 2014-04-07 17:55:19 -04:00
Barış Soner Uşaklı
962b141e85 Merge pull request #1356 from miksago/fix-pagination-offset-error
Fixed: Category pagination error; Check if first offset is NaN
2014-04-07 17:12:50 -04:00
barisusakli
e5cf44d398 closes #1353
mark all read will mark everything read, can also select topics and mark
them read, can mark specific categories read too
2014-04-07 17:09:59 -04:00
Micheil Smith
47d21eb008 Fixed: Category pagination error; Check if first offset is NaN 2014-04-07 20:41:51 +01:00
psychobunny
b464099cca finally found reliable repro steps and squashed you like the bug you are. fixed #1280 2014-04-07 14:32:17 -04:00
psychobunny
591fb41c08 removed unused content variable 2014-04-07 12:46:03 -04:00
Julian Lam
b616ba7304 using preventDefault instead of return false 2014-04-06 21:11:31 -04:00
Julian Lam
14b9c03199 First pass at #1331 - Groups.search() + Tests 2014-04-05 13:01:31 -04:00