Commit Graph

37 Commits

Author SHA1 Message Date
jebsolutions 23326d6918 additional error handling for backup/restore (#2187)
prerequisite:
- add at least one backup path to the Advanced->defaults
- do NOT install rar archive/de-archive programs

test case #1
- go to backup screen and download backups as rar

test case #2
- go to backup screen and upload a RAR file

expected result:
- get a sign that an error occurs

actual result:
- not clear if it failed, or why

fix:
added error message.  And you will get the top-bar warning in red on error instead of in green.

note: cut-pasted from google translate for "extraction failed" part of message-restore_failed_extract
2016-11-24 20:53:03 -07:00
AgregarDeveloper b66617a40a Major changes to pt-br language. (#1835)
* Um teste por hora

* asd

* Edited and Added PT-BR language.

Minor and major fixes to pt-br translate.

2 fixes to mistyped english words.

* Create AgregarDeveloper.md

* Deleted wrong file placement

Deleted wrong file placement
2016-08-25 11:03:51 -06:00
markjcrane 8b4883c36c Make sure the array exists for the backup tool. 2016-04-29 17:13:36 -06:00
markjcrane bc51cd7d1d Cleanup the indentation ... tabs and whitespace after the last pull request. 2016-04-28 16:56:44 -06:00
Harry G. Coin fd313a7c66 fixes so cli installs/upgrades work.
Also another step along the way allowing freeswitch to run -u -g freeswitch and fusionpbx to run -u -g www-data
2016-04-25 21:26:26 -05:00
Harry G. Coin 91a92d8e5e \r\n --> \n
Cause all the .php files containing lines ending with \r\n to instead end with \n.

DYI with:

find fusionpbx -type f -name '*.php' -exec dos2unix '{}' \;
2016-04-25 20:30:23 -05:00
markjcrane 4ac03a8d1a Add a missing permission on backup. 2016-04-04 19:51:22 -06:00
markjcrane 5a06f486af Rename .project.ROOT to project_root.php this conforms better with current file naming standards. 2016-02-22 14:01:18 -07:00
Mafoo ad324f4744 changed throw Exception to die
nothing ever eval runs the root.php so changed to die to cause a immediate report of error and stop code processing.
2016-01-20 11:30:31 +00:00
Mafoo 2669f6f1a9 Added check for if .project.ROOT is missing
If a installation is missing the .project.ROOT previously it would just use the last search path as the project root (wrong) this will cause a Exception should it be unable to find it
2016-01-18 09:38:16 +00:00
Matthew Vale b20a38f454 added logic in cli mode to chdir to the correct directory first
the webserver would normally do this for us, but we need to do it
2016-01-14 16:25:05 +00:00
Matthew Vale 173ae7001d Added full logic to support cli as well 2016-01-13 17:38:54 +00:00
Matthew Vale b81748bd22 change to use '/' instead of DIRECTOR_SEPERATOR 2016-01-12 14:47:50 +00:00
Matthew Vale 1ad1c31b27 Rollout of root.php 2016-01-12 13:55:39 +00:00
Matthew Vale b76a1a4b4f First pass on app/* 2015-12-10 10:12:41 +00:00
Mark Crane 2448a092b0 Add latest translations 2015-06-30 13:30:02 +00:00
Mark Crane f438ccef0f Add latest translations 2015-06-29 22:30:02 +00:00
Nate Jones ab403f5f3c Language file merge from translation server. 2015-05-01 11:13:39 +00:00
Mark Crane d6636aee17 Update the translations from the translation server. Includes the following new languages Brazilian Portuguese, Polish, and Swedish Sweden. Thanks to those that put in the effort to add these languages additional translator volunteers are welcome. 2015-04-08 13:38:58 +00:00
Mark Crane 03220c9754 Add the text class to more of the applications. 2015-01-18 10:06:08 +00:00
Mark Crane ddca77629e Move the menu array to app_menu.php 2014-12-26 03:27:54 +00:00
Mark Crane 6d98ffc320 Add app_menu.php files for the menu. 2014-12-25 19:32:57 +00:00
Mark Crane 7da3244285 Change the translations for the command option and label. 2014-11-16 00:46:58 +00:00
Mark Crane 729d14ae2d Change backup cron script to command because it generates the backup command that could be used in a cron script but its not a cron script. 2014-11-16 00:26:11 +00:00
Mark Crane 22b3619da6 Fix a typo in the ubuntu/debian install scripts. 2014-11-14 06:44:02 +00:00
Nate Jones d3c504fe4e Backup: Added ability to generate a cron script for automated backups. 2014-11-13 07:42:24 +00:00
Mark Crane 78146515d9 Fix the restore file so that file name can be provided. 2014-11-13 07:06:29 +00:00
Mark Crane 7836ed1211 Add a return string to the backup and restore. 2014-11-13 07:00:29 +00:00
Mark Crane 1eac4b3608 Add download, backup and restore to the backup PHP class. 2014-11-13 06:56:35 +00:00
Mark Crane 19734f0e3f Fix the backup extension in the backup class. 2014-11-13 02:11:23 +00:00
Mark Crane d28f86f783 Add a new backup PHP class. 2014-11-13 01:50:39 +00:00
Philippe Rioual 22f04d0556 updated / enhanced french translations 2014-10-29 08:51:56 +00:00
Mark Crane d52de4b4d8 Correct the menu parent uuid 2014-08-16 22:42:50 +00:00
Mark Crane bfe852b3e6 Move the Backup tool under the Advanced menu 2014-08-16 22:40:24 +00:00
Nate Jones 3b9daf63fb Backup: Completed functionality to back up and restore paths defined in Default Settings. 2014-08-16 22:15:01 +00:00
Mark Crane a1c10a012b Build the backup file and add the restore command 2014-08-15 23:49:46 +00:00
Mark Crane abc1106ee0 Add a backup feature 2014-08-15 23:33:20 +00:00