fusionate
29b5b774eb
Upgrade: Detect alternate successful response.
2023-02-20 18:43:51 +00:00
FusionPBX
87360643ab
Update upgrade.php
2022-10-19 22:25:28 -06:00
FusionPBX
7e88b594dd
Use the database_dir variable
2022-10-19 11:07:43 -06:00
FusionPBX
14552806a1
Update upgrade.php
2022-10-19 11:06:38 -06:00
FusionPBX
353be53ba8
Use sqlite by default
...
FusionPBX uses PostgreSQL by default
FreeSWITCH uses SQLite by default
2022-10-19 11:06:24 -06:00
FusionPBX
d207508ac5
Use require_once instead of include for functions.php
2022-10-12 13:46:16 -06:00
FusionPBX
1dee0683ef
Add missing resources/require.php
2022-10-12 09:47:19 -06:00
FusionPBX
dc748c2376
Method text send the core/upgrade
...
Also remove the additional includes not necessary because of the auto loader in resources/require.php
2022-10-11 17:54:13 -06:00
markjcrane
d50bcb476a
Replace root.php
2022-10-10 16:35:14 -06:00
FusionPBX
f37dad8814
Update upgrade.php
2022-10-10 12:35:28 -06:00
FusionPBX
bc2b14739c
Change 'do' to 'action' and update options.
...
Options: upgrade_source, upgrade_schema, app_defaults, menu_defaults, permission_defaults
2022-09-20 19:01:32 -06:00
FusionPBX
7588c8d9f8
Use the argv[1] only if it is set.
2022-02-05 17:42:27 -07:00
FusionPBX
46190fadb4
Update upgrade.php
2022-01-27 09:07:59 -07:00
FusionPBX
8035e3ffa1
Add more command line upgrade options.
2022-01-26 23:48:00 -07:00
FusionPBX
47536f89a2
Update index.php
...
Deprecate the upgrade_data_types variable and use the php class data_types variable.
2020-10-21 14:38:04 -06:00
FusionPBX
8bfb098136
Update upgrade_schema.php
...
Use the new php class data_types variable.
2020-10-21 14:33:43 -06:00
FusionPBX
7f4c89bb55
Update upgrade_schema.php
2020-10-21 13:51:16 -06:00
FusionPBX
57327b1e78
Update upgrade_schema.php
...
Add formatting for html description.
2020-10-21 12:19:48 -06:00
frytimo
1f4a19bbd8
Rogue Apostrophe in SQL statement ( #5298 )
...
Remove rogue apostrophe in SQL statement for :default_setting_value.
2020-06-10 13:23:38 -06:00
Nate
33d06e7f67
Upgrade - Add step identifier to Data Types.
2020-05-06 12:40:59 -06:00
Nate
ac4841b627
Theme: Add Default Setting to control Upgrade step color.
2020-04-13 11:56:32 -06:00
Nate
5baad31c97
Upgrade - Add suggestive step numbering.
2020-04-11 15:53:38 -06:00
racitup
a1699f6fa6
Add en-gb fusionpbx language ( #5192 )
...
* Create en-gb language by copying en-us
* Add en-gb to app_configs
* Add en-gb to app_menus
* Language copy utility
* Fix missing quote mark
* Delete cp_lang.py
Co-authored-by: FusionPBX <markjcrane@gmail.com>
2020-03-20 14:47:13 -06:00
Nate
f8c74e6586
Multiple: Add IDs to common/default action buttons.
2020-03-05 10:01:09 -07:00
Nate
5e845d3c31
Upgrade: Button updates.
2020-02-10 21:54:04 -07:00
FusionPBX
69e506390e
Update app_config.php
2019-12-07 17:34:00 -07:00
FusionPBX
9365701f26
Update app_config.php
2019-11-28 03:47:34 -07:00
fneto1977
86ea29da4c
Fixed translations for Brazilian Portuguese ( #4920 )
...
* Fixed translations for Brazilian Portuguese
* Update app_config.php
* Fixed Translations for pt-br
* Fixed Translations for pt-br
* Fixed Translations for pt-br
* Update app_config.php
* Update app_languages.php
* Update app_menu.php
* app_config Domain
* app_languages.php - Domains
* app_menu - domains
* app_config - default settings
* app_languages - - default settings
* app_menu - default settings
* app_config - databases
* app_languages - databases
* app_menu - - databases
* app_config - upgrade
* app_languages - upgrade
* app_menu - upgrade
* app_config - users
* app_languages - users
* app_menu - users
* app_config - usersettings
* app_languages - usersettings
* app_menu - usersettings
* app_language - Reources
2019-11-27 17:53:28 -07:00
FusionPBX
da76cd0751
Update app_defaults.php
2019-11-07 22:42:52 -07:00
FusionPBX
af555a8f54
Update app_config.php
2019-11-07 22:39:35 -07:00
FusionPBX
6e1c82059c
Update app_defaults.php
2019-11-05 11:37:31 -07:00
FusionPBX
604010e769
Update app_defaults.php
2019-11-05 11:37:03 -07:00
chansizzle
10d23b7dd4
Update index.php ( #4653 )
2019-09-24 16:41:15 -06:00
Nate
c660b27096
Misc: Database class integration.
2019-08-28 21:02:08 -06:00
FusionPBX
9dd6794374
Update app_defaults.php
2019-07-25 09:39:18 -06:00
FusionPBX
6e80afef65
Update app_defaults.php
2019-07-25 09:37:03 -06:00
Nate
cf4bc6a64e
Database class integration.
2019-07-19 15:05:18 -06:00
markjcrane
a72f1d6266
Change messages class to message
2018-08-31 03:09:01 +00:00
FusionPBX
2708f94b3b
Update index.php
2018-04-14 15:17:49 -06:00
FusionPBX
282ffb13e3
Update index.php
2018-02-25 01:28:09 -07:00
Christian Bergamaschi
9f228ef8c5
Italian translation added ( #2852 )
2017-09-21 09:06:26 -06:00
Mafoo
05f76b0556
Pass on languages before importing updates ( #2849 )
...
put language files into consistent state in preparation of a import
2017-09-19 09:48:40 -06:00
The-Operator
2c0efdc6c6
Update German and Austrian translations ( #2722 )
...
* Update German and Austrian translations
Update German and Austrian translations and added missing English translations for FAX application.
* Update German & Austrian translations
2017-06-30 15:23:01 -06:00
Mafoo
1c58c1c1f9
Enhance-master-translation autofill ( #2681 )
...
Autofill all language files for pt de and es
2017-06-12 22:14:11 -07:00
Mafoo
d2d9443450
Enhance upgrade show during install ( #2676 )
...
the install uses upgrade_domains.php, update it to use well known
varibles to show output
2017-06-11 08:49:39 -06:00
Mafoo
ba5db22951
BugFix - app_languages.php - core/upgrade ( #2655 )
...
correct translation for message-upgrade_source
2017-06-08 12:09:08 -06:00
Mafoo
bfe3ff173f
Enhance - Display text on app_defaults ( #2645 )
...
enable display_type on domains (and therefore app_defaults)
capture the output of app_defaults
format if statements to project preference
use more generic label display for results reducing number of translations required
change upgrade.php to use the more consistent $display_type
2017-06-08 09:39:50 -06:00
Mafoo
d931d61042
Enhance - app_config.php cleanup for core ( #2631 )
...
make spacing and layout consistent
add all missing language tags
fill missing en-us descriptions
Repaired a couple of character encodings in fr-fr
convert to $x$y$z usage for array filling
add a default version number
this is a by hand update
2017-06-03 09:01:10 -06:00
Mafoo
30c8754065
Enhance [master] messages::add convert core/upgrade ( #2597 )
...
convert message handling to use messages class
unify response display to reduce boilerplates
fix for when performing source upgrade with any other operation going wrong (required preservation of cwd)
add missing $text for default permissions
removed surpless $text provided by reources/app_languages.php
correct all <br> tags
2017-06-02 22:38:15 -06:00
Mafoo
8709d01fb0
BugFix [master] language update ( #2628 )
...
Imported Found language ro as ro-ro Romanian (tested by reverse translation)
Add placeholders for all found languages
Add new missing flags
Enhancements to text class
* improved sort to keep language-* tags organized at the top
* if a language is missing a name tag, add it
* changed organizer to not add a final \n
* corrected some indenting
* added detect_all_languages that attempts to find any languages that haven't been defined in resources/app_languages.php
* added language_totals, this is used by the optional languages application to calculate how complete a language is
2017-06-02 13:24:12 -06:00
Mafoo
4ae8b418d4
BugFix [master] - Convert all menus to 2-2 format ( #2627 )
...
convert all app_menu.php files to have all placeholders and languages and use 2-2 format for languages
update app_defaults to convert any items found using legacy values in user_setings, domain_settings and default_settings
2017-06-02 12:17:50 -06:00
Kristian Karlsson
22c317eb2f
BugFix [master] - Update languages ( #2621 )
...
Update for the Swedish language translation.
2017-06-02 08:39:34 -06:00
Mafoo
f44aee3bf8
Enhance - Convert all languages to 2-2 digit ( #2581 )
...
Convert all languages to use the en-us style codes
Where an installation is using a 2 digit code, use the legacy map to find
the mapped language and provide that text correctly
Have escape_str strip \' before converting or we end up with a double
encode
Update organzie_languages to understand how to convert legacy languages
automatically
updated flags
2017-05-13 13:13:38 -06:00
Mafoo
0302d8085c
reworked text class to gather the languages on construction (more efficient) ( #2576 )
...
organize_languages will now use an internal function to escape values as fusion's check_str would not be appropriate
enabled two missing flags
organize on remaining app_languages.php and add missing 'he'
2017-05-12 08:44:53 -06:00
Mafoo
22dc22c30e
BugFix [master] Languages add missing text placeholders ( #2572 )
...
* BugFix [master] Languages add missing text placeholders
add placeholders for missing language text
reorganise file so languages are in a consistent order with en-us always first, and the remaining stored alphabetically
space out tag names to make them line up for readability
* add organize_language to text class
also add get_languages
2017-05-10 13:40:46 -06:00
The-Operator
32c1522cbb
Add/Update German and Austrian translations ( #2542 )
...
Updated remaining app_languages.php files and all app_config.php and app_menu.php files where necessary.
2017-04-26 23:41:55 -06:00
Vladimir
30055465b7
Adding ru-ru locales ( #2530 )
...
* Translation of the menu (sent by Victor Kraft)
* ACL translate
* Backup translated
* App Fax translated (sent by Victor Kraft)
* App Adminer trnslated
* Resources translated (sent by Victor Kraft)
* App SIP Profiles translated
* ru-ru
* Call Block added
* ru-ru
* Update app_menu.php
* voicemails/app_languages.php locales ru-ru
voicemails/app_languages.php locales ru-ru
* app/vars/app_languages.php locales ru-ru
app/vars/app_languages.php locales ru-ru
* core: apps, authentication, databases, default_settings translate
* app/traffic_graph/app_languages.php adding locales ru-ru
app/traffic_graph/app_languages.php adding locales ru-ru
* app/time_conditions/app_languages.php adding locales ru-ru
app/time_conditions/app_languages.php adding locales ru-ru
* /app/system/app_languages.php adding locales ru-ru
/app/system/app_languages.php adding locales ru-ru
* /app/sip_status/app_languages.php adding locales ru-ru
* /app/settings/app_languages.php adding locales ru-ru
* /app/services/app_languages.php adding locales ru-ru
* /app/ring_groups/app_languages.php adding locales ru-ru
* /app/registrations/app_languages.php adding locales ru-ru
* /app/recordings/app_languages.php adding locales ru-ru
* /app/provision/app_menu.php adding locales ru-ru
* /app/pin_numbers/app_languages.php adding locales ru-ru
* Update app_languages.php
* /app/phrases/app_languages.php adding locales ru-ru
* /app/operator_panel/app_languages.php adding locales ru-ru
* core/groups translated
* /app/music_on_hold/app_languages.php adding locales ru-ru
* core/install translated
* core/menu translated
* /app/modules/app_languages.php adding locales ru-ru
* /app/meetings/app_menu.php adding locales ru-ru
* /app/log_viewer/app_languages.php adding locales ru-ru
* /app/ivr_menus/app_languages.php adding locales ru-ru
* /app/gateways/app_languages.php adding locales ru-ru
* /app/fifo_list/app_languages.php adding locales ru-ru
* core/notifications translated
* /app/fifo/app_languages.php adding locales ru-ru
* core/upgrade translated
* Update app_config.php
* core/user_settings translated
* Update app_languages.php
* Update app_menu.php
* Update app_languages.php
* core/users translated
* call_block translate fix
* Call Broadcast added
* call_block выклюено fix
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* themes translated
* /app/extensions/app_languages.php for locale ru-ru
* /app/exec/app_languages.php add locale ru-ru
* Update app_languages.php
* Update app_menu.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_languages.php
* Update app_menu.php
* add locales ru-ru /core/install/app_menu.php
* /app/emails/app_languages.php add locales ru-ru
* /app/edit/app_languages.php add locales ru-ru
* /app/dialplan_outbound/app_languages.php add lacales ru-ru
* app/devices translated
* /app/dialplan_inbound/app_languages.php add locales ru-ru
* call_center_active + call_centers
* /app/dialplan/app_languages.php add locales ru-ru
* /app/destinations/app_languages.php add locales ru-ru
* /app/database_transactions/app_languages.php add locales ru-ru
* /app/contacts/app_languages.php addlocales ru-ru
* Update app_languages.php
* Update app_languages.php
* /app/contacts/app_languages.php add locales ru-ru
* /app/conferences/app_languages.php add locales ru-ru
* /app/conference_profiles/app_languages.php add locales ru-ru
* /app/destinations/app_languages.php add locales ru-ru
* /app/destinations/app_languages.php add locales ru-ru
* /app/conferences/app_languages.php add locales ru-ru
* app/calls_active translated
* app/click_to_call translated
* app/calls_active label-opt fix transtation
* translated
* translated
* translate
* /app/voicemails/app_config.php addlocales ru-ru
* /app/voicemail_greetings/app_config.php add locales ru-ru
* /app/vars/app_config.php add locales ru-ru
* /app/traffic_graph/app_config.php add locales ru-ru
* /app/tones/app_config.php add locales ru-ru
* /app/time_conditions/app_config.php add locales ru-ru
* /app/tftp/app_config.php add locales ru-ru
* /app/system/app_config.php add locales ru-ru
* /app/sip_status/app_config.php addlocales ru-ru
* app/devices translated ru-ru
* app/devices translated ru-ru
* /core/menu/app_languages.php add locales ru-ru
* /app/contacts/app_languages.php add locales ru-ru
* /app/conferences/app_languages.php add locales ru-ru
* /app/voicemails/app_languages.php add locales ru-ru
* /app/conference_centers/app_languages.php add locales ru-ru
* /app/ring_groups/app_languages.php add locales ru-ru
* /app/ivr_menus/app_languages.php add locales ru-ru
* /app/xml_cdr/app_languages.php add locales ru-ru
* /resources/app_languages.php add locales ru-ru
* /app/conference_centers/app_languages.php add locales ru-ru
* call_flows
* /app/call_broadcast/app_languages.php add locales ru-ru
* /app/call_block/app_languages.php add locales ru-ru
* /app/call_block/app_languages.php add locales ru-ru
* /app/call_block/app_languages.php add locales ru-ru
* By now
* calls
* /app/call_flows/app_languages.php add locales ru-ru
* /app/system/app_languages.php add locales ru-ru
* /app/exec/app_languages.php add locales ru-ru
* /app/vars/app_menu.php add locales ru-ru
* /app/backup/app_languages.php add locales ru-ru
* /app/ring_groups/app_languages.php add locales ru-ru
* /app/calls/app_languages.php add locales ru-ru
* /app/call_centers/app_languages.php add locales ru-ru
* /app/call_broadcast/app_languages.php add locales ru-ru
* app/fax fix translate label-fax_send_channels
* /app/extensions/app_languages.php add locales ru-ru
* /app/xml_cdr/app_languages.php add locales ru-ru
* /app/ring_groups/app_languages.php add locales ru-ru
* /app/contacts/app_languages.php add locales ru-ru
* Fix default language select
* /app/contacts/app_languages.php add locales ru-ru
* Fix translations in app edit, extensions, fifo, gateways, music_on_hold, services, time_conditions, xml_cdr
* Replaced "звонки" to "вызовы" and fix sorting in menu for "Конференции"
* More replace "звонк"
* Fix translate
* app/xml_cdr replace translate for label-start_range, label-end_range
* app/xml_cdr replace translate label-destination, description_search and description-4
* Corrections
* Repalce "Порядковый номер" to "Приоритет"
* app/operator_panel replace translation label-call_group
2017-04-24 16:37:00 -06:00
The-Operator
a8c3117f7b
Add German translations & update Austrian translations ( #2426 )
...
* Add German translation and update Austrian translation
* Add German translation and update Austrian translation
2017-03-16 10:13:43 -06:00
drenda
c37ce02d44
Added Italian translation ( #2379 )
...
* Added Italian translation
* add italian translation
* add italian translation
* add italian translation
* fix typo error
* add italian translation
* added italian translation
* added italian translation
* added italian translation
* added italian translation
* added italian language
* added italian translation
* added italian language
2017-02-16 19:46:50 -07:00
FusionPBX
ae67946d46
Update app_config.php
2017-02-15 21:22:08 -07:00
FusionPBX
c4ae07e255
Update app_defaults.php
2017-01-13 10:17:22 -07:00
FusionPBX
b17422e3a4
Update upgrade_domains.php
2017-01-10 00:20:46 -07:00
FusionPBX
dbd1927d92
Update upgrade_schema.php
2016-12-18 16:43:35 -07:00
jebsolutions
8761304449
show git branch + commit. +link to preview git changes ( #2186 )
...
* show git branch + commit. +link to preview git changes
new feature
- bottom of upgrade screen shows git branch + commit you are on
- provides a link to github showing changes since then on your current branch
More eyes reviewing the code is always a plus. The github link helps make it easier.
* Update index.php
Add translations and pretty it up a little.
2016-11-26 00:21:31 -07:00
jebsolutions
dd8385f63b
[master] include stderr in git pull results and check for error ( #2105 )
...
* [master] include stderr in git pull results and check for error
Old result (seems correct but actually failed):
Updating d190f6a..d958bea
Corrected result (includes failure message):
Updating d190f6a..d958bea
error: Your local changes to the following files would be overwritten by merge:
app/fax/fax_log_view.php
Please, commit your changes or stash them before you can merge.
* tab fixes
2016-11-20 13:54:57 -07:00
reliberate
4a0f4615e9
Users: Revamp and consolidate code, integrate ORM.
2016-10-05 10:29:30 -06:00
FusionPBX
74b8de3922
Update index.php
...
Advanced -> Upgrade -Remove label tag as it broke the checkbox and description vertical alignment.
2016-09-10 17:26:14 -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
5799ce6497
Work on the install.
2016-04-14 21:14:40 -06:00
reliberate
aeabb4a072
Misc: Fix datetimepicker on Time Conditions, CDR, Contact Times, etc.
...
Misc: Fix textarea height.
Theme: CSS adjustments to correct misc bugs.
2016-04-13 13:23:07 -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
9066858701
only offer the source upgrade if it is writeable
...
this check will prevent the source upgrade rendering if the .git folder
is not writeable
2016-02-04 11:14:26 +00: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
796674e815
Changed upgrade to use PROJECT_ROOT instead
2016-01-12 13:55:45 +00:00
Matthew Vale
e6ad46cfbf
Rollout of root.php
2016-01-12 13:55:39 +00:00
markjcrane
98b77a12c6
Remove a few more line from upgrade/index.php.
2015-12-20 23:04:12 -07:00
markjcrane
0c21af8f2b
Remove upgrade switch from advanced -> upgrade page. The work it did is handled by app/scripts/resources/classes/scripts.php and app_defaults.php calls it. So when running Advanced -> Upgrade -> App Defaults the scripts app_defaults.php will copy the scripts and rewrite the config.lua.
2015-12-20 23:01:28 -07:00
Matthew Vale
742db50120
First pass on core/*
2015-12-10 10:09:07 +00:00
Matthew Vale
36652ff231
use DOCUMENT_ROOT rather than assume path
2015-12-04 12:24:22 +00:00
Matthew Vale
d0d3240fc4
Added Switch upgrade as a separate option
2015-12-01 14:32:58 +00:00
Matthew Vale
14b873f5db
corrected spelling mistake
2015-11-26 18:25:46 +00:00
Matthew Vale
f45881ec4b
moved upgrade function from app_defaults
...
moved upgrade function out to upgrade.php otherwise during initial
install all app_defaults get run twice
2015-11-26 18:24:09 +00:00
Matthew Vale
ca6bd18b64
Corrected incorrect merge
2015-11-26 17:53:02 +00:00
markjcrane
5dfbc2e183
Improve code to update the scripts directory.
2015-07-20 15:32:52 -06:00
reliberate
60e9f57035
Upgrade: Better handle Git response.
2015-07-02 21:25:45 -06:00
reliberate
e24526fb92
Upgrade: Converted Advanced > Upgrade to use Git instead of SVN (untested).
...
Misc: Added provisions elsewhere to account for .git/* files, as currently done with .svn/* files.
2015-07-02 17:25:41 -06: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
Mark Crane
96c10412f7
Add latest translations
2015-06-15 19:30:00 +00:00
Mark Crane
4699d4c8e8
Synchronize the translations.
2015-06-06 02:37:26 +00:00
Mark Crane
dd9ade256f
Update release to fix big for systems where GLOB_BRACE is not available.
2015-05-13 04:37:36 +00:00
Nate Jones
e265cca378
Upgrade: Using Advanced > Upgrade > Source Code now automatically updates switch /scripts/ folder contents (on by default), keeping switch scripts up to date with each system upgrade. Option to opt out of auto script updates is available via a Default Setting (switch > scripts_update > boolean > false).
2015-05-12 22:42:20 +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