Commit Graph

209 Commits

Author SHA1 Message Date
Aleksander Machniak
4a7603a207 Install Bootstrap and LessJS with install-jsdeps.sh 2018-03-04 15:35:55 +01:00
Nathan Rennie-Waldock
c7b6efdd47 installto.sh: Fix false reporting of failed upgrade (#6019)
system() returns the last line of output (or false on failure)
rsync will have no output if the file being copied hasn't changed

Signed-off-by: Nathan Rennie-Waldock <nathan.renniewaldock@gmail.com>
2017-11-03 08:40:30 +01:00
Thomas Bruederli
f038784dac Also rm empty timezone localization files 2017-10-30 22:17:29 +01:00
Aleksander Machniak
3f6ca2cffc Add --get and --extract arguments and CACHEDIR env-variable support to install-jsdeps.sh (#5882) 2017-08-20 19:30:44 +02:00
Aleksander Machniak
5ea0d5bfbb Support .user.ini in installto.sh 2017-07-12 13:29:26 +02:00
Felix Eckhofer
37d3710574 Fix regression when JAR_DIR is a relative path (#5815) 2017-06-27 19:21:01 +02:00
Aleksander Machniak
5597ff2107 Skip js deps installation if there's no jsdeps.json and install-jsdeps.sh 2017-06-27 17:34:46 +02:00
Kai Ren
9a6ab3dc86 Fix absent directory error in install-jsdeps.sh when processing maps section (#5819) 2017-06-27 17:21:27 +02:00
Aleksander Machniak
e5bc7b85e0 Cleanup target /vendor directory from old dependencies
- also slightly fixed rsync command syntax
2017-06-18 09:57:55 +02:00
Thomas Bruederli
109ca4dfc2 Fix js-deps check and installation 2017-06-16 09:48:54 +02:00
Thomas Bruederli
0a68b93e73 Update the list of obsolete composer dependencies 2017-06-16 09:48:45 +02:00
Thomas Bruederli
cbef314d69 Run bin/install-jsdeps.sh from installto.sh script 2017-06-16 09:48:23 +02:00
Aleksander Machniak
715e8bf8bd Print error from CLI scripts when system/exec function is disabled (#5744) 2017-05-05 11:36:30 +02:00
Aleksander Machniak
9eefa47e45 Fix codemirror re-installation
When re-installing a dependency with 'map' entries containing * character
these dest folders were not properly cleaned up before moving new files
to them. It's because path with * does not work in is_dir().
2017-03-17 10:13:26 +01:00
Aleksander Machniak
20da7f1539 Copy jsdeps.json file on update (#5598) 2017-01-20 13:32:28 +01:00
Aleksander Machniak
15d0c55b20 Throw error if one of required programs is not installed (#5598) 2017-01-20 13:30:01 +01:00
Aleksander Machniak
25de39d444 Merge branch 'dev-remove-js-deps' 2016-12-30 20:27:46 +01:00
Aleksander Machniak
d28a96e857 Remove old jsdeps.sh script 2016-12-30 20:26:01 +01:00
Aleksander Machniak
3679cb7c34 Add --delete argument to install-jsdeps.sh 2016-12-30 20:25:03 +01:00
Aleksander Machniak
c761f5b6e3 Fix function name 2016-12-30 19:46:17 +01:00
Aleksander Machniak
cb09ff0ffc Make it working with wget when curl is not installed, mark --force argument as boolean 2016-12-30 19:41:50 +01:00
Thomas Bruederli
40cd8d3bdd Add --force option + update install insructions (#5535) 2016-12-30 16:10:41 +01:00
Thomas Bruederli
10f6fb4cc7 Install script to fetch javascript dependencies defined in jsdeps.json (#5535) 2016-12-30 15:19:27 +01:00
Aleksander Machniak
ab429dbef2 Fix rsync error handling in installto.sh script (#5562) 2016-12-23 12:52:50 +01:00
Aleksander Machniak
279e11a45d jsdeps.sh: Store downloaded files in cache folder, add option to install deps from it
When in git-master you install deps and then want to switch to an older branch
you'll get a conflict. In such a case you can just call `jsdeps.sh cleanup`
and when you're back in master `jsdeps.sh from-cache` which will be much faster
and do not require re-downloading everything.
2016-12-11 12:59:39 +01:00
Aleksander Machniak
5bae3ca6f5 jsdeps.sh: Add 'cleanup' argument 2016-12-08 16:30:39 +01:00
Aleksander Machniak
12a49437d2 Upgrade to TinyMCE 4.5.1 2016-12-08 16:23:56 +01:00
Aleksander Machniak
7cbade1ade Cleanup tinymce.zip with localizations 2016-12-04 11:49:19 +01:00
Aleksander Machniak
5e1da48d0c Remove external javascript code from the git repo, add jsdeps.sh script (#5535) 2016-12-03 18:26:15 +01:00
Aleksander Machniak
c845343916 Shrink CodeMirror code 2016-11-27 05:16:08 -05:00
Aleksander Machniak
292b18b040 Use ECMASCRIPT5 and newest closure compiler 2016-08-15 17:50:44 +02:00
Aleksander Machniak
04aa29493c Fix so upgrade script makes sure program/lib directory does not contain old libraries (#5287) 2016-06-06 17:14:22 +02:00
Aleksander Machniak
d61d33a12a Fix handling of --delete argument in moduserprefs.sh script (#5296) 2016-06-01 20:15:22 +02:00
Thomas Bruederli
26c4006c87 Improve migration of the composer.json file when updating 2016-05-15 15:49:35 +02:00
Aleksander Machniak
e0481f0ccb Save copy of original .htaccess file when using installto.sh script (1490623) 2016-01-10 12:39:07 +01:00
Aleksander Machniak
14b8b4def4 Remove also old .htaccess file that is not used anymore (#1489980) 2015-09-25 20:06:35 +02:00
Aleksander Machniak
67fac374a3 Fix so gc.sh script removes also expired sessions from sql database (#1490512) 2015-09-01 14:08:20 +02:00
Aleksander Machniak
1b39d9a6c7 PHP7: Fixed some E_WARNING errors that previously were E_STRICT 2015-08-08 09:32:24 +02:00
Thomas Bruederli
a612c59a0f Fix composer.json update routine 2015-06-02 21:50:31 +02:00
Aleksander Machniak
8042e13af6 Add --config and --type options to moduserprefs.sh script (#1490051) 2015-05-25 08:51:10 +02:00
Aleksander Machniak
e7620812b0 Installer: Remove system() function use (#1490139)
Move some functionality of scripts from bin/ into rcmail_utils class
2015-04-12 09:24:25 +02:00
Aleksander Machniak
b86e091fcd Add initdb.sh to create database from initial.sql script with prefix support (#1490188) 2015-02-28 10:17:32 +01:00
Thomas Bruederli
96dee98e7f Copy the first comment block with license information for LibreJS when minifying 2015-02-07 20:14:58 +01:00
Thomas Bruederli
9a3fe2aacd Complete the repositories section in composer.json during update 2015-02-07 19:21:19 +01:00
Aleksander Machniak
dba43e7c8b Copy also INSTALL file 2015-02-04 09:00:34 +01:00
Thomas Bruederli
8d9945c4f6 Enable updating of composer.json dependencies 2014-12-18 16:18:35 +01:00
Thomas Bruederli
bd51db63de Sync vendor folder if exists in source package (#1490145) 2014-12-18 16:18:35 +01:00
Thomas Bruederli
63dd809b11 Remove empty labels and translation files 2014-11-12 09:07:25 +01:00
Thomas Bruederli
0c137f7dac Consider composer.json dependencies in installation and upgrading instructions and scripts 2014-11-09 15:36:57 +01:00
Aleksander Machniak
0ea079d604 dirname(__FILE__) -> __DIR__ 2014-10-13 14:41:55 +02:00