Commit Graph

248 Commits

Author SHA1 Message Date
psychobunny
5d28dbb0a4 closes #5027 2016-09-12 19:10:40 -04:00
Peter Jaszkowiak
59ed13b581 Rewrite translator for efficiency and clarity (#5013)
* Rewrite translator for efficiency and clarity

* Fixed failing tests

* Gorram tabs

* Move cache to Translator class, simplify creation

* Documentation and linting

* Use new translator API where it makes sense

* Revert 499fbe21fd (except translator.d.ts)

* promise polyfill for node<4

* Set `load` on the prototype

* Comment on Translator#translate

* Delete translator.d.ts

* Support translations added by plugins
2016-09-12 15:52:50 -04:00
barisusakli
d4c512cb3f handle the case where the object is not set at all #5018 2016-09-07 19:34:59 +03:00
barisusakli
7269d45e84 closes #5018 2016-09-07 19:27:29 +03:00
Julian Lam
4410385e8f Merge pull request #5012 from phit/patch-1
Use mousetrap.js minified version
2016-09-05 22:27:19 -04:00
barisusakli
c01a2bfa33 default sounds to off, show correct setting in user settings page 2016-09-05 21:47:18 +03:00
phit
00a06e9253 Use mousetrap.js minified version
didn't see a reason it shouldn't use the minified version
2016-09-04 20:02:02 +02:00
pichalite
3ef7c57a63 make jquery ui a r.js module 2016-08-29 21:53:12 +00:00
barisusakli
6d34bb4657 closes #2166 2016-08-29 12:43:37 +03:00
barisusakli
07fe5057e1 make sure validator.escape() receives strings only 2016-08-27 15:45:15 +03:00
psychobunny
0afa55517f fixed app.loadJQueryUI; minified jquery-ui.js; removed jqueryui from cold load payload; fixed broken image paths 2016-08-26 17:31:57 -04:00
Julian Lam
785f4fc5a0 updating to jQuery 3.x on frontend and ACP 2016-08-26 15:36:50 -04:00
barisusakli
8f408faf46 organize middlewares
removed app.locals.middleware
middlewares can be required anywhere, ie in controllers
2016-08-26 18:50:37 +03:00
barisusakli
5c83075806 moved variables parse to ajaxify.js 2016-08-26 16:39:09 +03:00
barisusakli
e5ecb333f9 closes #4978 2016-08-26 12:53:00 +03:00
Julian Lam
2428d5e442 Update bootstrap in ACP
Also fixed #4872 by moving user creation modal to root level
(outside of .panel)
2016-08-25 16:10:33 -04:00
Mathias Schreck
ce9ee62fa0 Handle callback errors 2016-08-17 12:54:59 +02:00
Julian Lam
bc961e2157 removing reload, closes #4936, closes #4929 2016-08-11 16:43:42 -04:00
Julian Lam
7902987900 added jqueryUI to list of prefetched resources, and updated its loader to not use $.getScript(). Updated require.js files to use ?v= in the url argument for cache buster 2016-08-03 13:10:39 -04:00
pichalite
b7b909bcc0 remove unused autosize lib 2016-07-29 23:03:47 +00:00
pichalite
8ef7ca4bdb update chart.js to new version 2016-07-29 19:31:48 +00:00
Julian Lam
e407dbfdd4 fix module bridging output to log the correct number 2016-07-20 11:46:31 -04:00
barisusakli
bb7303834f remove csrf r.js module 2016-07-14 21:44:39 +03:00
Julian Lam
cf7540d41c appeasing Travis CI, 'cause fuck code reuse, right? 2016-07-08 11:03:28 -04:00
Julian Lam
55bcc28e0e closes #4831 2016-07-08 10:43:28 -04:00
Julian Lam
ba412f4a56 fully completed #4658 2016-05-24 23:04:57 -04:00
Julian Lam
149565169b closes #4658 2016-05-24 22:01:46 -04:00
AdJones
693e724802 Fixing issue where the relative path was ignored for express modules (#4621)
* Fixing issue where the relative path was ignored for express modules

* Fixing issue where the relative path was ignored for express modules (without the console log lines!)
2016-05-10 09:13:45 -04:00
boomzilla
52e4a37df8 When forking a topic, updates user bookmarks in the topic to keep the last read position (#4554)
from inadvertently being too far down the topic due to post indices decreasing because
some posts were moved to a new topic.
2016-05-04 10:29:43 -04:00
Julian Lam
1d7a5f58e2 fixes #4576 2016-04-27 14:14:22 -04:00
psychobunny
d83a1987eb fix routing of rjs modules 2016-04-19 12:03:30 -04:00
psychobunny
d24b15a584 closes #4523 2016-04-18 10:06:32 -04:00
psychobunny
c88ed66312 closes #4502 2016-04-07 16:55:53 -04:00
Julian Lam
ba44db5b5b updated dependency check logic to better handle missing dependencies 2016-04-07 10:47:13 -04:00
Julian Lam
b6a10c7729 removed console log 2016-04-04 21:26:49 -04:00
Julian Lam
94a505a6bb removed symlink logic and using route bridging instead.
Also allowed plugins to define modules from their plugin.json
2016-04-04 20:43:21 -04:00
Julian Lam
f91f705f90 Merge branch 'master' into fix-vendors 2016-04-04 18:46:24 -04:00
psychobunny
12ed4d2af5 remove PostCSS log 2016-03-30 16:55:54 -04:00
psychobunny
359b1fbe1a cleanup 2016-03-30 16:05:11 -04:00
psychobunny
e2bc5f241a optimizing process.send for js minification 2016-03-30 15:54:45 -04:00
psychobunny
acd24d856f run tasks in series to speed up startup time 2016-03-30 14:37:00 -04:00
psychobunny
e134689324 we were accidentally including client-side LESS on the ACP 2016-03-30 14:19:00 -04:00
psychobunny
fc65b144b1 running less compilation in series 2016-03-30 13:25:19 -04:00
Julian Lam
3e2231d2cb Fixing viewport shuffling due to image load
Introduced new method ".loadImages()" in posts client side lib
to handle viewport height changes when loading images. Requires
nodebb-plugin-markdown@5.0.0

@BenLubar @boomzillawtf
2016-03-27 15:56:49 -04:00
Julian Lam
8013f124da fixes #4471 2016-03-25 19:54:22 -04:00
psychobunny
000d5b61c7 fix for retrieving css cache 2016-03-24 13:29:50 -04:00
psychobunny
baeed22f20 grunt: only compile ACP less if that was changed, and vice versa with theme/plugin less 2016-03-24 12:37:17 -04:00
barisusakli
91efab3c6d closes #4437 2016-03-23 11:17:17 +02:00
Julian Lam
f7e4387748 closes #4380 2016-03-18 12:24:51 -04:00
barisusakli
b6e22b7723 closes #4367 2016-03-15 12:13:35 +02:00