Commit Graph

125 Commits

Author SHA1 Message Date
Alex caea15af15
php 8.1 changes (#6718)
* Update database_edit.php

* Update databases.php

* Update default_setting_edit.php

* Update email_templates.php
2023-05-25 10:18:46 -06:00
Anthony 672dc9fa4d
Corrected translations (#6705)
* Update app_languages.php
2023-05-19 14:52:45 -06:00
Anthony 60adb692ec
Corrected translations & added missing translations in core/app_languages.php (#6701)
* Update app_languages.php
2023-05-18 15:36:59 -06:00
frytimo fef8165be2
Frytimo pr patches for php8.1 (#6630)
* Passing null to parameter #2 ($string) of type string is deprecated

* Passing null to parameter #1 ($string) of type string is deprecated

* php 8.1 fixes

* php 8.1 fixes - replace strlen($var) > 0 with !empty($var)

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - strlower with null

* php 8.1 fixes - strreplace with null

* php 8.1 fixes - passing null to base64_decode

* php 8.1 fixes - check for false and check for null on $this->dir

* php 8.1 fixes - remove assignment of $db variable to modules object

* php 8.1 fixes - avoid sending null to substr

* php 8.1 fixes - change ${var} to {$var}

* php 8.1 fixes - check for null before preg_replace

* php 8.1 fixes - remove setting db variable on domains object

* php 8.1 fixes - set empty string if $row['domain_setting_subcategory'] is null

* php 8.1 fixes - set empty string if $_REQUEST['show'] is not available

* php 8.1 fixes

* php 8.1 fixes - correct $_POST checking syntax

* php 8.1 fixes - correct $_POST variables

* php 8.1 fixes

* Use brackets consistently

* Update user_setting_edit.php

* Change to not empty

* Update device.php

* Update text.php

---------

Co-authored-by: Tim Fry <tim@voipstratus.com>
Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-05-05 10:46:37 -06:00
Ben 719163331a
added German-ch and Turkish language and translations (#6652)
Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-05-03 11:13:35 -06:00
markjcrane 1513bd3301 Add Chinese, Korean, and Japanese translations 2023-05-03 10:36:25 -06:00
markjcrane 28fe89066e Add Chinese, Korean, and Japanese translations 2023-05-02 22:05:16 -06:00
Ben 3210441627
Added traslations and Greek (#6637) 2023-04-28 11:19:38 -06:00
Ben a86ef65e76
added translations (#6636) 2023-04-28 11:19:08 -06:00
Ben 0b3cc45032
Filled in traslations (#6634) 2023-04-28 11:17:29 -06:00
frytimo 69bd42af05
remove unneeded destruct methods as GC has higher performance (#6631)
Co-authored-by: Tim Fry <tim@voipstratus.com>
2023-04-27 20:18:53 -06:00
markjcrane d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
markjcrane eb5c25aa35 Add insert_date, insert_user, update_date, update_user to all tables 2022-09-18 00:54:37 -06:00
AlexC 2a74114cf2
Copy, toggle and delete buttons visible when checkbox is selected (#6242)
* Update bridges.php

* Update call_block.php

* Update call_center_queues.php

* Update call_center_agents.php

* Update call_broadcast.php

* Update call_flows.php

* Update call_recordings.php

* Update conference_centers.php

* Update conference_rooms.php

* Update conference_controls.php

* Update conference_profiles.php

* Update conferences.php

* Update contacts.php

* Update fax.php

* Update ivr_menus.php

* Update music_on_hold.php

* Update phrases.php

* Update recordings.php

* Update streams.php

* Update voicemails.php

* Update devices.php

* Update device_vendors.php

* Update device_vendor_functions.php

* Update extensions.php

* Update gateways.php

* Update dialplans.php

* Update destinations.php

* Update email_templates.php

* Update modules.php

* Update sip_profiles.php

* Update vars.php

* Update databases.php

* Update users.php

* Update default_settings.php

* Update domains.php

* Update groups.php

* Update menu.php
2022-01-13 11:37:59 -07:00
Nate 97eec1da04 Template, Core Apps: Update to new modal. 2020-03-25 16:48:12 -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 2d62d1157b Databases: Remove deprecated delete script. 2020-02-17 18:24:30 -07:00
Nate d6d38fcd58 Databases - List: Show record count in page title. 2020-02-17 18:24:03 -07:00
Nate 9a2ab8a426 Databases: List view and button updates. 2020-02-10 07:56:15 -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
Nate f24c6f05c6 Databases: Token integration. 2019-09-19 07:48:28 -06:00
FusionPBX db0506e039 Update app_defaults.php 2019-07-25 09:43:00 -06:00
FusionPBX 70d6f0c338 Update app_defaults.php 2019-07-25 08:48:58 -06:00
Nate 77b85a3f9c Database class integration. Modify database class singular() method to support table names ending in 'ses', such as v_databases. 2019-07-09 20:06:17 -06:00
markjcrane a72f1d6266 Change messages class to message 2018-08-31 03:09:01 +00:00
AlexanderDCrane a4bc939599 Update databases.php (#3315) 2018-08-27 20:31:38 -06:00
AlexanderDCrane 3ae6cf66ce Update database_edit.php (#3316) 2018-08-27 20:30:51 -06: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
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 3cab4401cf Enhance - More messages::add updates (#2662)
convert more messages over to messsagse::add
2017-06-09 20:13:40 -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 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
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 a585ccd69f Add German translation and update Austrian translation (#2425) 2017-03-16 03:22:38 -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 f099adf565 Update 2017-02-15 21:12:32 -07: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
reliberate 5974b686e9 Apps: Integrate ability to set paging via a Default/Domain/User Setting (domain > paging > numeric). 2016-03-28 23:02:11 -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