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>
7 years ago
Thomas Bruederli
f038784dac
Also rm empty timezone localization files
7 years ago
Aleksander Machniak
3f6ca2cffc
Add --get and --extract arguments and CACHEDIR env-variable support to install-jsdeps.sh ( #5882 )
7 years ago
Aleksander Machniak
5ea0d5bfbb
Support .user.ini in installto.sh
7 years ago
Felix Eckhofer
37d3710574
Fix regression when JAR_DIR is a relative path ( #5815 )
8 years ago
Aleksander Machniak
5597ff2107
Skip js deps installation if there's no jsdeps.json and install-jsdeps.sh
8 years ago
Kai Ren
9a6ab3dc86
Fix absent directory error in `install-jsdeps.sh` when processing `maps` section ( #5819 )
8 years ago
Aleksander Machniak
e5bc7b85e0
Cleanup target /vendor directory from old dependencies
...
- also slightly fixed rsync command syntax
8 years ago
Thomas Bruederli
109ca4dfc2
Fix js-deps check and installation
8 years ago
Thomas Bruederli
0a68b93e73
Update the list of obsolete composer dependencies
8 years ago
Thomas Bruederli
cbef314d69
Run bin/install-jsdeps.sh from installto.sh script
8 years ago
Aleksander Machniak
715e8bf8bd
Print error from CLI scripts when system/exec function is disabled ( #5744 )
8 years ago
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().
8 years ago
Aleksander Machniak
20da7f1539
Copy jsdeps.json file on update ( #5598 )
8 years ago
Aleksander Machniak
15d0c55b20
Throw error if one of required programs is not installed ( #5598 )
8 years ago
Aleksander Machniak
25de39d444
Merge branch 'dev-remove-js-deps'
8 years ago
Aleksander Machniak
d28a96e857
Remove old jsdeps.sh script
8 years ago
Aleksander Machniak
3679cb7c34
Add --delete argument to install-jsdeps.sh
8 years ago
Aleksander Machniak
c761f5b6e3
Fix function name
8 years ago
Aleksander Machniak
cb09ff0ffc
Make it working with wget when curl is not installed, mark --force argument as boolean
8 years ago
Thomas Bruederli
40cd8d3bdd
Add --force option + update install insructions ( #5535 )
8 years ago
Thomas Bruederli
10f6fb4cc7
Install script to fetch javascript dependencies defined in jsdeps.json ( #5535 )
8 years ago
Aleksander Machniak
ab429dbef2
Fix rsync error handling in installto.sh script ( #5562 )
8 years ago
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.
8 years ago
Aleksander Machniak
5bae3ca6f5
jsdeps.sh: Add 'cleanup' argument
8 years ago
Aleksander Machniak
12a49437d2
Upgrade to TinyMCE 4.5.1
8 years ago
Aleksander Machniak
7cbade1ade
Cleanup tinymce.zip with localizations
8 years ago
Aleksander Machniak
5e1da48d0c
Remove external javascript code from the git repo, add jsdeps.sh script ( #5535 )
8 years ago
Aleksander Machniak
c845343916
Shrink CodeMirror code
8 years ago
Aleksander Machniak
292b18b040
Use ECMASCRIPT5 and newest closure compiler
8 years ago
Aleksander Machniak
04aa29493c
Fix so upgrade script makes sure program/lib directory does not contain old libraries ( #5287 )
9 years ago
Aleksander Machniak
d61d33a12a
Fix handling of --delete argument in moduserprefs.sh script ( #5296 )
9 years ago
Thomas Bruederli
26c4006c87
Improve migration of the composer.json file when updating
9 years ago
Aleksander Machniak
e0481f0ccb
Save copy of original .htaccess file when using installto.sh script (1490623)
9 years ago
Aleksander Machniak
14b8b4def4
Remove also old .htaccess file that is not used anymore ( #1489980 )
9 years ago
Aleksander Machniak
67fac374a3
Fix so gc.sh script removes also expired sessions from sql database ( #1490512 )
9 years ago
Aleksander Machniak
1b39d9a6c7
PHP7: Fixed some E_WARNING errors that previously were E_STRICT
9 years ago
Thomas Bruederli
a612c59a0f
Fix composer.json update routine
10 years ago
Aleksander Machniak
8042e13af6
Add --config and --type options to moduserprefs.sh script ( #1490051 )
10 years ago
Aleksander Machniak
e7620812b0
Installer: Remove system() function use ( #1490139 )
...
Move some functionality of scripts from bin/ into rcmail_utils class
10 years ago
Aleksander Machniak
b86e091fcd
Add initdb.sh to create database from initial.sql script with prefix support ( #1490188 )
10 years ago
Thomas Bruederli
96dee98e7f
Copy the first comment block with license information for LibreJS when minifying
10 years ago
Thomas Bruederli
9a3fe2aacd
Complete the repositories section in composer.json during update
10 years ago
Aleksander Machniak
dba43e7c8b
Copy also INSTALL file
10 years ago
Thomas Bruederli
8d9945c4f6
Enable updating of composer.json dependencies
10 years ago
Thomas Bruederli
bd51db63de
Sync vendor folder if exists in source package ( #1490145 )
10 years ago
Thomas Bruederli
63dd809b11
Remove empty labels and translation files
10 years ago
Thomas Bruederli
0c137f7dac
Consider composer.json dependencies in installation and upgrading instructions and scripts
10 years ago
Aleksander Machniak
0ea079d604
dirname(__FILE__) -> __DIR__
10 years ago
Thomas Bruederli
68b005ca3d
Improve user deletion script by using DB transactions and a transaction-like protocol of plugin hook calls
10 years ago