Commit Graph

37 Commits

Author SHA1 Message Date
jebsolutions 89d4dcb959 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 15a6d67a41 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 4b6f4f3801 Make sure the array exists for the backup tool. 2016-04-29 17:13:36 -06:00
markjcrane c3b12c217d Cleanup the indentation ... tabs and whitespace after the last pull request. 2016-04-28 16:56:44 -06:00
Harry G. Coin f02028629a 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 bda6861f88 \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 7f082bdef3 Add a missing permission on backup. 2016-04-04 19:51:22 -06:00
markjcrane af18c963c0 Rename .project.ROOT to project_root.php this conforms better with current file naming standards. 2016-02-22 14:01:18 -07:00
Mafoo 56b34c34ca 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 87dbd6b428 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 6999198492 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 a41e89af76 Added full logic to support cli as well 2016-01-13 17:38:54 +00:00
Matthew Vale 0176d30312 change to use '/' instead of DIRECTOR_SEPERATOR 2016-01-12 14:47:50 +00:00
Matthew Vale e6ad46cfbf Rollout of root.php 2016-01-12 13:55:39 +00:00
Matthew Vale f5bfeffe18 First pass on app/* 2015-12-10 10:12:41 +00:00
Mark Crane f57cf46674 Add latest translations 2015-06-30 13:30:02 +00:00
Mark Crane 4c71476922 Add latest translations 2015-06-29 22:30:02 +00:00
Nate Jones 63cd5bb78e Language file merge from translation server. 2015-05-01 11:13:39 +00:00
Mark Crane 3b8b7ad0ca 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 c5755666cb Add the text class to more of the applications. 2015-01-18 10:06:08 +00:00
Mark Crane 9369fd8d0d Move the menu array to app_menu.php 2014-12-26 03:27:54 +00:00
Mark Crane bbf2a3badc Add app_menu.php files for the menu. 2014-12-25 19:32:57 +00:00
Mark Crane 45e355617f Change the translations for the command option and label. 2014-11-16 00:46:58 +00:00
Mark Crane 5e27a20804 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 b767c12374 Fix a typo in the ubuntu/debian install scripts. 2014-11-14 06:44:02 +00:00
Nate Jones fca4dbd32f Backup: Added ability to generate a cron script for automated backups. 2014-11-13 07:42:24 +00:00
Mark Crane 4dfd71110a Fix the restore file so that file name can be provided. 2014-11-13 07:06:29 +00:00
Mark Crane 9e128ca34e Add a return string to the backup and restore. 2014-11-13 07:00:29 +00:00
Mark Crane e396d07eb1 Add download, backup and restore to the backup PHP class. 2014-11-13 06:56:35 +00:00
Mark Crane e6e1923dec Fix the backup extension in the backup class. 2014-11-13 02:11:23 +00:00
Mark Crane 01aa0e4b71 Add a new backup PHP class. 2014-11-13 01:50:39 +00:00
Philippe Rioual 14ca352a4f updated / enhanced french translations 2014-10-29 08:51:56 +00:00
Mark Crane 9162eb7bdb Correct the menu parent uuid 2014-08-16 22:42:50 +00:00
Mark Crane 874b3382f3 Move the Backup tool under the Advanced menu 2014-08-16 22:40:24 +00:00
Nate Jones 620d1002e5 Backup: Completed functionality to back up and restore paths defined in Default Settings. 2014-08-16 22:15:01 +00:00
Mark Crane f431507be2 Build the backup file and add the restore command 2014-08-15 23:49:46 +00:00
Mark Crane 37eb5b203a Add a backup feature 2014-08-15 23:33:20 +00:00