Commit Graph

150 Commits

Author SHA1 Message Date
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
FusionPBX
2c25c3e341 Update time_condition_edit.php
Work on the indentation and update the dialplan xml.
2017-02-27 22:25:55 -07:00
FusionPBX
811782d635 Update app_config.php 2017-02-15 23:22:57 -07:00
FusionPBX
a6612c1e25 Update time_condition_edit.php 2017-02-04 18:02:27 -07:00
FusionPBX
40d20b7427 Update app_config.php 2017-01-13 00:19:51 -07:00
FusionPBX
3c7762da86 Update app_defaults.php 2017-01-13 00:18:36 -07:00
FusionPBX
65a2945e73 Update app_defaults.php 2017-01-12 15:25:28 -07:00
FusionPBX
01991d69aa Update time_condition_edit.php 2016-10-22 23:24:28 -06:00
FusionPBX
44a8702e31 Update app_defaults.php 2016-10-22 21:12:48 -06:00
FusionPBX
f849fa44ce Update app_defaults.php 2016-10-22 18:50:56 -06:00
FusionPBX
7c40f2c86d Update time_condition_edit.php 2016-10-14 08:21:45 -06:00
FusionPBX
aab24688f3 Update time_condition_edit.php
Time condition time-of-day use 1 minute increments this solves multiple problems and more flexible for minutes 0 - 59.
2016-09-13 19:17:19 -06:00
FusionPBX
1481c778b9 Update app_defaults.php
Update all the time condition presets that used mweek (week of month) change to mday (day of month).
The week of the month starts according to the calendar even if its partial week on the calendar it counts as week one according to C language and the calendar in the United States. Example Labor day September 2016 1st week was Sept 1-3 2016. The second week is the first Monday.
2016-09-05 19:07:24 -06:00
FusionPBX
11bf24b209 Update app_defaults.php
Fix labor day change week of month from 1 to day of month from 1 - 7.
2016-09-05 18:52:01 -06:00
FusionPBX
c9d4ac8d4b Show global time conditions in the destination select list. 2016-08-29 21:06:07 -06:00
FusionPBX
039370b2b8 Update time_condition_edit.php 2016-08-29 20:56:00 -06:00
FusionPBX
35a2cd13ae Update time_condition_edit.php
Complete global time conditions.
2016-08-17 15:54:16 -06:00
FusionPBX
081e26abc0 Update time_condition_edit.php
Fix the global label for time conditions.
2016-08-17 15:30:23 -06:00
FusionPBX
1e52c1f5ac Update app_config.php
Add time condition domain.
2016-08-17 15:19:11 -06:00
FusionPBX
5dc0d55100 Update time_condition_edit.php 2016-08-17 15:14:56 -06:00
SJS87
38b504a6e5 Update to time_condition_edit.php (#1803)
When using 'time-of-day' it's not currently possible to specify a range which will finish at the end of the day.

This is a minor adjustment to allow the 'time-of-day' range to finish at 23:59.
2016-08-11 10:04:53 -06:00
SJS87
1b7a65a6b2 Time of day routing conversation fixed. (#1802)
This is a minor bug which is fixed with a few minor adjustments, this doesn't appear to have caused us any major problems in production.

Valid values for 'minute-of-day' in FreeSWITCH are 1-1440, the page is currently converting 'time-of-day' to 'minute-of-day' as 0-1439, the fix will correct the values to 1-1440.

Sources:
https://wiki.freeswitch.org/wiki/Time_of_Day_Routing
2016-08-11 10:01:21 -06:00
FusionPBX
ab1faef5da Update time_conditions.php 2016-08-04 19:17:21 -06:00
FusionPBX
e7a8de60de Update time_condition_edit.php
Fix the time condition edit and improve the indentation on the code.
2016-08-04 18:46:39 -06:00
markjcrane
855ea303f1 Add nowrap to time_condition_edit.php to correct a layout problem. 2016-06-26 11:20:13 -06:00
markjcrane
097a5d8ade Check the missing array has content before processing it. 2016-05-04 00:22:35 -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
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
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
reliberate
d5c60df4fc Added: Bootstrap Framework - initial integration.
Added: Bootstrap Plugins - DateTimePicker, ColorPicker (in multiple apps)
Added: Default Theme - responsive
Removed: RightJS Framework - no longer needed.
Removed: Accessible Theme - superseded by Default theme.
Removed: Minimized Theme - superseded by Default theme.
Enhanced: Menu - responsiveness added.
Enhanced: Dashboard - responsiveness added.
Etc.
2016-03-25 16:29:20 -06:00
markjcrane
0427a5ac97 Re-add the time condition dialplan button label. 2016-03-22 23:52:37 -06:00
markjcrane
82c18e988b Time condition hide the group label as it uses too much vertical space and the group number is provided by default. 2016-03-22 23:39:23 -06:00
FusionPBX
6c8aa675a2 Merge pull request #1468 from mafoo/WhitespaceClean-app/batch_1
WhitespaceClean-app/batch_1
2016-03-11 13:35:41 -07:00
mafoo
6eed9935d4 WhitespaceClean-app/batch_2
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:01:24 +00:00
mafoo
3b438926b6 WhitespaceClean-app/batch_1
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 11:56:29 +00: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
markjcrane
13725701cf Time condition fix alignment of the arrow button by adding style nowrap and 3 pixel padding. 2015-11-19 22:32:34 -07:00