Commit Graph

34 Commits

Author SHA1 Message Date
Hadi Nategh
dd4f998b36 Update uglifyjs to support ES6 syntax. @Devs: Make sure to install grunt-contrib-uglify-es (npm install grunt-contrib-uglify-es --save-dev) before running grunt. 2018-08-02 17:15:49 +02:00
Hadi Nategh
9834da71d0 Add notifications into minifying js files 2018-08-02 16:32:12 +02:00
Hadi Nategh
2c2cee6ee0 * Api: Fix minified themes cause multiple theme false entries 2018-07-25 16:27:28 +02:00
Hadi Nategh
23c844b90d Remove magicsuggest from api then add it to vendor 2018-06-21 13:39:00 +02:00
Hadi Nategh
0937718207 Include cropper.min.css into css minifying. Fix issue of avatar editor does not work when minifying is switched on. 2017-11-09 17:23:49 +01:00
Hadi Nategh
448cc8975f W.I.P of VFS Select widget restructure 2017-10-11 18:27:42 +02:00
Hadi Nategh
2ff84d5254 Add timestamper js file into minifying 2017-10-10 13:01:23 +02:00
nathangray
66f44e0131 Update Gruntfile to include added JS files, should fix bugs with minified JS 2017-03-06 09:36:30 -07:00
Ralf Becker
a41f78381c Stylite AG --> EGroupware GmbH 2016-10-08 14:32:58 +02:00
Hadi Nategh
c3fb98f3c1 Try to correct ckeditor references point to vendor directory 2016-10-07 12:15:03 +02:00
Ralf Becker
2857511ac9 calling jQuery.noConflict() as early as possible to NOT occupy $ variable stalling many SiteMgr templates 2016-06-15 08:54:12 +02:00
Ralf Becker
70e278d6a1 fix jquery.base64 path 2016-06-07 09:38:11 +02:00
Ralf Becker
37d3e8da3e remove leading slash in Gruntfile.js by running updateGruntfile.php 2016-06-07 08:58:07 +02:00
Hadi Nategh
93217a149d jQuery libraries updates via composer 2016-06-06 17:38:20 +02:00
Ralf Becker
fc6d854870 disable hub (processing of Gruntfile.js in apps/subdirs), unless we need it, as it gives a warning if none found 2016-05-25 15:06:04 +02:00
Ralf Becker
6c927a5a2c document how to install modules 2016-05-25 12:18:47 +02:00
Ralf Becker
5ced6f80ce fix JS dependencies by running ./updateGruntfile.php 2016-05-16 19:12:59 +02:00
Ralf Becker
9fe9f988d4 fix Gruntfile by running updateGruntfile.php to cope with changed dependency from et2_nextmatch_filterheader 2016-05-11 07:26:46 +00:00
Ralf Becker
d3418d5ca3 avoid encoded slashes 2016-05-05 08:04:57 +00:00
Ralf Becker
39aff50989 fw_mobile needs to be moved to pixelegg 2016-05-03 12:52:08 +00:00
Ralf Becker
1cda6e6cb4 change Pixelegg template to no longer depend on jdots 2016-05-02 14:19:34 +00:00
Ralf Becker
57f8a9a8eb remove dependency on phpgwapi as far as css is concerned 2016-05-02 12:31:24 +00:00
Ralf Becker
98bc67c1a4 using grunt-hub to run default tasks of Gruntfile.js of apps 2016-05-02 10:28:35 +00:00
Ralf Becker
1a3692c42c need to specify rebase:true to cssmin, otherwise relative urls to images are not rewritten in minify 2016-05-02 08:29:07 +00:00
Ralf Becker
9aac672e8f use Grunt&cssmin to minify CSS files, moved diverse conditional includes into etemplate2.css, as we anyway include all widgets from api 2016-04-30 09:29:54 +00:00
Ralf Becker
2e3bd32721 moving all - non ancient ;-) - js files to api/js 2016-04-07 10:38:05 +00:00
Ralf Becker
a03748fbb2 update Gruntfile.js to create an app.min.js for projectmanager 2016-03-23 08:20:38 +00:00
Ralf Becker
9b446f7c17 moving et2 js files to api 2016-03-19 13:48:07 +00:00
Ralf Becker
3377ef0483 install grunt-newer to run uglify only for targets with changed files 2016-03-02 20:00:41 +00:00
Ralf Becker
ecb4b7e74a remove ckeditor from api bundle (it does not work, is already minified and uglify work a lot faster without) 2016-03-02 14:34:01 +00:00
Ralf Becker
452233a9e5 docu update 2016-03-01 20:55:21 +00:00
Ralf Becker
f25070a9c2 - switching minifying of javascript to use Grunt and Uglify (instead of doing it on the fly with php on every host)
- generating now a couple of bundles: api, et2, mail, calendar, jdots, pixelegg and mobile
- developers need to update minified files whenever a javascript file changes: grunt uglify[:(api|et2|mail|calendar|jdots|pixelegg|mobile)]
- minified files also contains a map file allowing to debug with them
2016-03-01 20:45:31 +00:00
Ralf Becker
337127243a allow multiple uglify targets now: grunt [uglify:(api,et2,mail,calendar,...)] 2016-03-01 09:57:39 +00:00
Ralf Becker
ec9063bb6c work in progress to use Grunt and UglifyJS to minify javascript 2016-02-28 21:35:24 +00:00