Julian Lam
b6a10c7729
removed console log
9 years ago
Julian Lam
94a505a6bb
removed symlink logic and using route bridging instead.
...
Also allowed plugins to define modules from their plugin.json
9 years ago
Julian Lam
f91f705f90
Merge branch 'master' into fix-vendors
9 years ago
psychobunny
12ed4d2af5
remove PostCSS log
9 years ago
psychobunny
359b1fbe1a
cleanup
9 years ago
psychobunny
e2bc5f241a
optimizing process.send for js minification
9 years ago
psychobunny
acd24d856f
run tasks in series to speed up startup time
9 years ago
psychobunny
e134689324
we were accidentally including client-side LESS on the ACP
9 years ago
psychobunny
fc65b144b1
running less compilation in series
9 years ago
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
9 years ago
Julian Lam
8013f124da
fixes #4471
9 years ago
psychobunny
000d5b61c7
fix for retrieving css cache
9 years ago
psychobunny
baeed22f20
grunt: only compile ACP less if that was changed, and vice versa with theme/plugin less
9 years ago
barisusakli
91efab3c6d
closes #4437
9 years ago
Julian Lam
f7e4387748
closes #4380
9 years ago
barisusakli
b6e22b7723
closes #4367
9 years ago
Julian Lam
184a2c4540
IP blacklist functionality -- re: #4367
...
Squashed commit of the following:
commit 5c42fd732d091fa66cf5b45a2af5e1697cc1efcd
Author: Julian Lam <julian@nodebb.org>
Date: Mon Mar 14 17:29:45 2016 -0400
allowing blacklist.test to be called synchronously
commit 979faf2dba5e6f6e2ae1bd07341e63678438daf1
Author: Julian Lam <julian@nodebb.org>
Date: Mon Mar 14 17:01:14 2016 -0400
added plain ipv6 support and finished middleware logic
commit d4b72fc1aadff34df3ed7dec52ca8d3c3728a078
Author: Julian Lam <julian@designcreateplay.com>
Date: Fri Mar 11 16:05:31 2016 -0500
WIP IP Banning logic middleware
commit f08b2553890c5522b6a1eaf521fe4e94df40574a
Author: Julian Lam <julian@designcreateplay.com>
Date: Fri Mar 11 15:26:27 2016 -0500
tweaks to ACP, rule validator
commit 868abacaa494e6b8a88bd4ea429b1b066a9ecb2e
Author: Julian Lam <julian@designcreateplay.com>
Date: Fri Mar 11 13:50:05 2016 -0500
IP Banning ACP page, styling, save&load functionality
9 years ago
psychobunny
a6429af6c7
added cache buster to favicon
9 years ago
psychobunny
aa2af345f9
removed unused deps
9 years ago
psychobunny
329a7a1e08
@barisusakli fixing minfile caching for multiple processes
9 years ago
Julian Lam
432c3d777d
Merge branch 'master' into fix-vendors
9 years ago
Julian Lam
7bc9e4439a
removed .gitignore from list of sound files
9 years ago
Julian Lam
3f2872979f
added buzz
9 years ago
Julian Lam
44aae7daa5
removed hammer, updated semver, added mousetrap
9 years ago
Julian Lam
e1323c0295
Updated js code so vendors can be added to the modules folder, so
...
they can be required properly and we can finally get rid of that
really annoying "mismatched anonymous" error in Require.js.
First module to make the transition: Chart.js
9 years ago
psychobunny
e069150625
closes #2165
9 years ago
psychobunny
933115a853
almost had a heartattack when I saw 121 changed files in this conflict
...
# Conflicts:
# src/meta/templates.js
9 years ago
psychobunny
914fc1543e
meta/templates.js refactor
9 years ago
psychobunny
da5494fdf1
allow recursive base templates
...
ex. custom theme based off lavender which is based off vanilla
9 years ago
Julian Lam
dd050c8177
added new hook that is called before templates are compiled
9 years ago
Julian Lam
eb8b6af7fb
Fix global mod priv check and styling for flags page
9 years ago
barisusakli
3336365e53
closes #4024
9 years ago
barisusakli
c2e1426e57
fix syntax error, and actually show error if minification fails
9 years ago
Julian Lam
baaad13286
reverted latest change to translator match regex
...
- Fixes issue with parentheses in translations (closes #4107 )
- No longer marking translation keys invalid if they contain HTML,
as that was probably not performant. Instead, parameters will
simply be escaped via the StringJS library.
9 years ago
Julian Lam
afbbb33878
fixed #4093
9 years ago
psychobunny
e017ad432f
closes #3810
9 years ago
psychobunny
1853cc3cc1
better messaging for each minification process
9 years ago
psychobunny
f94cd21f83
#3875 filter:scripts.get now acts like filter:admin.scripts.get; does not get minified
9 years ago
psychobunny
42c0b973f1
closes #3134
9 years ago
psychobunny
5e4ef52911
some more cleanup
9 years ago
psychobunny
3cc5e1473f
cleanup / lint before diving in
9 years ago
psychobunny
f17fa3ca11
minify flag not actually being used
9 years ago
Julian Lam
96fe6d288f
Allowing theme to be re-ordered like plugins.
9 years ago
Barış Soner Uşaklı
ab4d4478e3
added rewards essentials
9 years ago
Julian Lam
4147e0cb94
closes #3719
9 years ago
Aziz Khoury
b4c8301596
[minor] meta tag, content-type shouldnt be escaped
...
so `text/html; charset=UTF-8` and not `text/html; charset=UTF-8`
9 years ago
Schamper
6b21e34c76
Also clean the minifier process options if the --debug option is used
9 years ago
Julian Lam
34725ec3e5
Fixes #3852
...
Added meta data to user profile pages, and also added noEscape
option to meta tag input. If set, validator escaping won't be
run on that value.
9 years ago
Julian Lam
8304740bd5
fixing crash on settings save
9 years ago
Julian Lam
3a34901cdb
on settingsv2 save, reload should be required
9 years ago
barisusakli
46c2563164
removed rooms.js removed browsing users, removed chat syncing across sockets
...
use lastonline for online detection
9 years ago
Julian Lam
ceaa3a334d
Squashed commit of the following:
...
commit 3a39e5e6bd3c357d78d8ec1dad6e3a64c18ee3ab
Author: Julian Lam <julian@designcreateplay.com>
Date: Tue Nov 3 20:15:10 2015 -0500
minor tweak
commit ed3c25ba8b431a2b730aae78a43cfa934521a5d4
Merge: d9cde96
d7a0adc
Author: Julian Lam <julian@designcreateplay.com>
Date: Tue Nov 3 20:12:32 2015 -0500
Merge branch 'master' of https://github.com/acardinale/NodeBB into acardinale-master
commit d7a0adc5c883c5fa3207f3adcd0661246221e7c9
Author: Andrea Cardinale <a.cardinale@webandtech.it>
Date: Wed Sep 30 10:32:25 2015 +0200
Get registry (if it's set) from config.json in suggest method (client-side)
9 years ago
barisusakli
9040a1a063
concat minimize most common routes
9 years ago
barisusakli
edf545cd2c
dont load sound data on cold load
9 years ago
barisusakli
7f72d80292
fix require
9 years ago
barisusakli
c3b8d0b328
check err first
9 years ago
barisusakli
ca294fc6ec
closes #3663
9 years ago
Julian Lam
839edc80b1
updated action:settings.set hook
9 years ago
Julian Lam
ebed9d641c
Add new ACP option to upload Touch Icon, #3668
...
Also added a number of fixes for mobile enhancements, such
as serving a manifest.json file for Android devices, and
serving proper link tags for all uploaded touch icons.
This commit also creates a new template helper for link tags.
9 years ago
barisusakli
fbfb39f967
moved socket connection out of app.js
9 years ago
barisusakli
a64cbbc6df
#3573
10 years ago
Julian Lam
4f766ac7b5
Updated cache buster logic
...
Removed css and script busters in favour of a uuid/guid cache
buster that is generated when the app starts.
This change means that in the event your NodeBB crashes often,
users will not be able to rely on their browser cache to serve
an unchanged style/js file, but if that's the case, you've
got bigger problems anyway.
re: #3573
10 years ago
psychobunny
265a16af1a
some old left over branding code
10 years ago
barisusakli
b4d465223a
if there is no description tag add one, fix missing winston
10 years ago
psychobunny
54ec105986
random attempt to fix bad dep check
10 years ago
psychobunny
25a419e458
Merge branch 'master' into v0.8.x
10 years ago
barisusakli
eaefd9d24c
remove meta/title.js and meta.title.build #3481
10 years ago
psychobunny
a217b42cb1
bonus two for #3481 - chats/username route
10 years ago
psychobunny
22fc257e36
bonus for #3481 - groups/group route
10 years ago
psychobunny
89b8622cfa
other routes done, closes #3481
10 years ago
psychobunny
0e0d8474a4
page titles for user pages #3481
10 years ago
barisusakli
d644542143
clearer text
10 years ago
Fokke Zandbergen
36c27633b9
Only use semver.satisfies on valid ranges
...
So it doesn't alarm when you use a package straight from git e.g.
10 years ago
barisusakli
274844a07f
check _resolved
10 years ago
Barış Soner Uşaklı
a2bf7d4230
Merge pull request #2895 from EvSpirit/master
...
#2893 increment --debug-brk port value when forking js-minifier child pr...
10 years ago
Barış Soner Uşaklı
eb0fb07f05
Merge pull request #3339 from mani95lisa/patch-4
...
allow use github module
10 years ago
Julian Lam
6f23e4bab1
changing the default base theme to persona, from vanilla
10 years ago
Julian Lam
ac46356cad
Revert "changed base templates path to Persona, from Vanilla."
...
This reverts commit fe7f5402a8
.
10 years ago
Julian Lam
3d9415b65e
Fixes #3442
10 years ago
Julian Lam
f53fb19468
Fix #3384
...
Resolved issue where if a bundled plugin was uninstalled, NodeBB would no longer start as the dep check could not be completed.
10 years ago
Julian Lam
56b399c900
Add new mixin, and added mixins to stylesheet.css
10 years ago
Julian Lam
fe7f5402a8
changed base templates path to Persona, from Vanilla.
...
This breaks all themes relying on templates from Vanilla!! See: https://community.nodebb.org/topic/6098/on-changing-the-default-theme-to-persona
10 years ago
Mani Wang
92968dfd8d
avoid outdated error
...
when use github address as module
10 years ago
Mani Wang
c13589735d
allow use github module
...
avoid `outdated` error when use github address as module.
10 years ago
psychobunny
c1a6bd8b8f
don't enforce dependency check when running in dev mode
10 years ago
Julian Lam
c6643082e2
closes #3303
10 years ago
Julian Lam
2d70733fa5
updated dependencies to use latest UglifyJS2, instead of my year-old fork
10 years ago
barisusakli
8e74d8f4fa
removed parallel
10 years ago
psychobunny
15a8ebaeff
only load rjs modules that are required on startup
10 years ago
psychobunny
0ad1c8afbf
forgot to add pagination to default minified file
10 years ago
psychobunny
b0907b8c3c
minify some modules that are required on cold load
10 years ago
psychobunny
7564881298
don't minify files in /client
...
adds an extra call to the client/route.js file on cold load but cuts a
ton of extra weight in nodebb.min.js
10 years ago
psychobunny
febc359e53
moved sortable to acp only
10 years ago
psychobunny
f8b3282295
closes #3141
10 years ago
psychobunny
ef6c30ad99
removed some unused variables
10 years ago
Julian Lam
394497c9d5
Merge branch 'categories-parent-acp' of https://github.com/NicolasSiver/NodeBB into NicolasSiver-categories-parent-acp
10 years ago
psychobunny
e74f3da89e
fixed sounds on windows
10 years ago
Nicolas Siver
3197a9e47c
register vendor script
10 years ago
Julian Lam
aae3ac6b98
updated title parsing methods to call a new hook: filter:parse.title
10 years ago
psychobunny
c1dd0dd669
fixing nodebb startup on windows
10 years ago
psychobunny
954212fc9f
emit templates:compiled event if skipped
10 years ago
barisusakli
d946a2fcbd
closes #3098
...
wait for templates to compile even if using clustering
fix emitter.all
upgrade.check error first
removed plugins.ready, using callback on plugins.init
removed webserver.init, using webserver.listen
10 years ago
Julian Lam
610d687a96
moved favicon into default link tags, and fixed bug that caused link tags to not show up
10 years ago
Julian Lam
a72501f3b4
closed #3076
10 years ago
Julian Lam
c26f274392
moved meta and link tag parsing out to a new module, meta/tags
10 years ago
Fokke Zandbergen
1eee970ebb
Allow NodeBB version to be set via config to package.json version can be incremented when needed.
10 years ago
barisusakli
7a3b4c08e0
closes #2922
10 years ago
Julian Lam
47a7ab15be
refactored translator system to be a require.js module, and not a global
10 years ago
Julian Lam
9dece4a1db
added some missing files from previous commits, fixed setParent mechanic which broke after I refactored, #2463
10 years ago
EvSpirit
8a6c189d80
#2893 increment --debug-brk port value when forking js-minifier child process
10 years ago
EvSpirit
3bd2f53056
#2893 increment --debug-brk port value when forking js-minifier child process
10 years ago
barisusakli
810d3be512
closes #2593
10 years ago
psychobunny
54cbbe2844
components system
10 years ago
Barış Soner Uşaklı
eda98a35ea
closes #2862
10 years ago
psychobunny
6d4b658579
using unminified version of autosize
10 years ago
psychobunny
5e3a990f2d
added vendor/autosize
10 years ago
Julian Lam
5d7b46935d
fixing issue where grunt wouldn't read js from file properly if nodebb wasn't run in production mode at least once
10 years ago
psychobunny
0c8e0ca46f
linted /meta
10 years ago
psychobunny
aa12ab9478
think its fairly safe to say this isn't experimental anymore
...
worked every single time I reloaded today, and that'd be about a hundred
thousand times so far
10 years ago
psychobunny
f8663bbfd0
added tpl flag to --from-file
10 years ago
barisusakli
d96a1f0365
closes #2630
10 years ago
Julian Lam
b4731ad47b
added colorpicker to frontend, badge colour changes for groups, #2588
10 years ago
Julian Lam
a2af8105ec
closed #2583
10 years ago
Baris Usakli
8522af504a
closed #2571
10 years ago
barisusakli
936ea5f686
sync config changes over redis pubsub
10 years ago
barisusakli
6b20cf5cff
#2508
10 years ago
barisusakli
64e13df14c
removed node cluster spawn procs on ports
10 years ago
Julian Lam
d16cfb89e0
extra log, #2246
10 years ago
Julian Lam
5cc30ca1a0
more cache hash fixes
10 years ago
Julian Lam
82708d65c6
propagating hash to all workers on css compilation
10 years ago
barisusakli
1abe35092b
cluster socket.io fixes
...
close proxy server on loader.stop
changed handles to object
10 years ago
barisusakli
0674258793
Merge remote-tracking branch 'origin/master' into socket.io1.x
10 years ago
barisusakli
c12d90ddfb
closes #2457
10 years ago
Julian Lam
8de2d1f58d
closed #2459
10 years ago
barisusakli
2ecfcc582f
Merge remote-tracking branch 'origin/master' into socket.io1.x
10 years ago
Julian Lam
23b14b3443
moving nearly all startup messages to verbose type
10 years ago
barisusakli
04175c92d9
Merge remote-tracking branch 'origin/master' into socket.io1.x
10 years ago
barisusakli
80d7ae597b
closes #2451
10 years ago
Julian Lam
fa39b5e46b
closed #2446
10 years ago
Julian Lam
ba9a5ad7d7
fixed #2448
10 years ago
barisusakli
702b1554fb
Merge remote-tracking branch 'origin/master' into socket.io1.x
10 years ago
barisusakli
73fb653ddf
emit works
10 years ago
psychobunny
c905f96108
closes #2412
10 years ago
Julian Lam
ae1528dc7e
closed #2407
10 years ago
barisusakli
0864480433
forgot return
10 years ago
Julian Lam
207bfa8960
closed #2419
10 years ago
barisusakli
363057cf49
closes #2390
10 years ago
barisusakli
d1b457b066
check err
10 years ago
psychobunny
70b5c631c6
if dev, compile view scripts only; let rjs dynamically load module scripts
...
fixes a bug introduced @ 11c83079f2
10 years ago
psychobunny
02b6a7893a
in dev mode, concatenate scripts instead of minifying
...
faster reboot & restores sanity to those trying to debug browser
specific issues on IE and FF. not that you have much sanity to begin
with if it's an IE bug...
10 years ago
psychobunny
11c83079f2
if env is dev, don't re-compile rjs files
...
faster reboot & easier to debug on browsers that don't support
sourcemaps
10 years ago
Julian Lam
52285239e9
fixed client-side so semver doesn't explode when nbbpm returns 'latest', fixed tests so they pass again, #2363
10 years ago
Julian Lam
19297e2d22
plugin installation takes a version now, and queries nbbpm, #2363
...
better error handling for #2363
upgrades now also call the suggestion route from nbbpm
upgrade button will show alert now if you try to upgrade past the suggested version, #2363
10 years ago
barisusakli
7c7be2e0c1
closes #2337
10 years ago
Julian Lam
1a90de7dd6
added new --from-file flag that will load js/css from the precompiled file instead of recompiling it on startup
10 years ago
psychobunny
73220aaa3d
didn't realize mousetrap was being used elsewhere in the code, added back to client again
10 years ago
psychobunny
8abf2835a5
removed modules/admin and moved mousetrap + keybindings out of client #2245
10 years ago
psychobunny
339d2b0143
closes #2246
10 years ago
psychobunny
ffc07ff6d2
moved settings module deps into ACP #2245
10 years ago
psychobunny
d759a7d9dd
moved semver out of client js files #2245
10 years ago
psychobunny
b51c90dcb3
doing some reshuffling in public/src
...
public/src/admin and public/src/client; also some cleanup in
src/meta/js, no need to filter out admin files anymore
10 years ago
psychobunny
f35a51e48d
making the loading sequence less verbose
...
in particular, the js stuff all happened sequentially at the same time
so there was no need for multiple messages
10 years ago
psychobunny
6418948570
only need one "meta/css done" message
10 years ago
psychobunny
3a069e028b
refactored meta/js
...
yay I haz sourcemaps on windows now
10 years ago
psychobunny
729ed6fbda
all your semi-colons are belongs to me
10 years ago
psychobunny
eb4baf62b5
closes #2235
10 years ago
psychobunny
2a2490541f
some minor linting elsewhere
10 years ago
psychobunny
319defd1d2
moved meta:js.compiled event to after minfile is committed to disk, closes #2173
10 years ago
psychobunny
fa8613d09d
moving meta:css.compiled further down, currently it gets emitted twice
10 years ago
psychobunny
9c8395808c
use page visibility api instead of window.onblur
...
this lib supports most major browsers
10 years ago
Julian Lam
5ba88b7152
fixed #2208
10 years ago
psychobunny
e5681097f4
added error to minification step
10 years ago
Julian Lam
6b786012d8
removed console.log
10 years ago
Julian Lam
343ff18014
closed #2179
10 years ago
psychobunny
2b5d0e89a5
up'ing templates.js
10 years ago
barisusakli
9c996e4b99
on config save update meta.config on all workers
...
also dont make 20 socket.emit calls for each setting field, everything
will be send in 1 socket call.
10 years ago
Julian Lam
625247611b
closed #1959
10 years ago
Julian Lam
e012479ab5
adding socket.io client lib into the minfile
10 years ago
Julian Lam
a59934fd65
only the cluster_setup thread will commit css to file
10 years ago
Julian Lam
c2fd89e050
committing of compiled js and css to file on startup
10 years ago
psychobunny
81ce7f93ad
compile admin stylesheet separately
10 years ago
psychobunny
977bc014f9
index acp files
10 years ago
psychobunny
5d344b3dac
linting
10 years ago
barisusakli
6abb0ff4c8
Merge branch 'master' of https://github.com/NodeBB/NodeBB
10 years ago
barisusakli
1a26cb0938
#2139
10 years ago
psychobunny
64b43d58ea
moved core templates into nodebb core (admin, status pages, emails)
10 years ago
barisusakli
c640e01969
show stack
10 years ago
Julian Lam
309ac6fec5
adding semver lib to scripts
11 years ago
barisusakli
655f5087d9
Merge remote-tracking branch 'origin/master' into hashtalk
11 years ago
barisusakli
25ed131b13
show stack trace of error
11 years ago
barisusakli
e9798028de
show error
11 years ago
barisusakli
5696ea2396
check errors on decodeURIComponent
11 years ago
Julian Lam
fd0622a1a3
removed console.log
11 years ago
Julian Lam
e5a35ce378
js propagation for cluster module, so only 1 thread minifies the js
11 years ago
Julian Lam
08abbe19bc
zero downtime and reload support with cluster module
11 years ago
Julian Lam
063a4e5628
finished up UX integration for in-topic searching, added mousetrap lib to capture ctrl-F only in topic view, closed #1800
11 years ago
Julian Lam
1d3aafc08f
adding sourceRoot to minified mapping
11 years ago
Julian Lam
2d9ca83ae0
better error messaging when js fails to compile when reloading
11 years ago
Julian Lam
fcbdc5e271
added recompilation of templates to NodeBB Reloading - #2010
11 years ago
Julian Lam
0c4a788698
added callbacks to css and js reloading, issue #2010
11 years ago
Julian Lam
3e033043f3
on-demand reloading of client-side assets
11 years ago
Julian Lam
a2fb4a66b0
migrated ACP themes page from html rendered via js to template engine
11 years ago
psychobunny
b1ef42889d
updated site title for tags page to be more user friendly
11 years ago
psychobunny
38dc35f480
console.log
11 years ago
psychobunny
3a32058be1
closes #1958
11 years ago
Julian Lam
4d73a563c5
closed #1850
11 years ago
Julian Lam
e5be1d2840
closed #1910
11 years ago
Julian Lam
ce8bec5edb
fixed mapping in web inspector
11 years ago
Julian Lam
7cdcb83a98
fixed #1640
11 years ago
psychobunny
9f6c05bb24
closes #1830
11 years ago
barisusakli
42ea8652f1
possible fix for #1830
11 years ago
Julian Lam
84832f57cc
firing action:settings.set hook AFTER the object is saved in the db. What was I thinking?!
11 years ago
barisusakli
43c1787754
dont exist if cant parse css
11 years ago
barisusakli
f288f80da6
meta.js refactor
11 years ago