Commit Graph

222 Commits

Author SHA1 Message Date
AlexanderDCrane 45c4b5661d Update time_condition_edit.php (#3308) 2018-08-27 20:36:45 -06:00
FusionPBX 3753b965e0 Update time_conditions.php 2018-06-05 18:42:54 -06:00
FusionPBX 71fcff19b8 Update app_config.php 2018-05-03 12:41:51 -06:00
Mafoo 4d60f4f6d5 Enhance [master] - Italian Translations (#2989)
* Reinstate comments detected by text class

* Updated Italian Translations
2018-02-12 10:50:47 -07:00
FusionPBX c351c0b18f Update time_condition_edit.php 2017-12-17 02:43:42 -07:00
FusionPBX 74031ad87f Update app_config.php 2017-11-17 12:06:20 -07:00
FusionPBX 5aaac846cd Update time_condition_edit.php 2017-09-24 10:12:58 -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
FusionPBX fb468b8f62 Update time_condition_edit.php 2017-07-04 12:22:50 -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
Dean Montgomery 66b849d946 Update Grandstream provisioning (#2652)
* Update Grandstream provisioning

* Add Vtech

* Create app_config.php

fix typo

* Update app_config.php

remove newline at end as it can break php

* Update app_config.php

remove newline at end as it can break php

* Create app_config.php

remove newline at end.

* Update app_config.php

remove trailing newline

* Create device_edit.php

Add both http and https

* Create app_config.php

remove newline

* Add gxp16xx and fix typos
2017-06-08 16:21:47 -06:00
Mafoo f0feb25016 Enhance - Convert more messages (#2646)
convert more messages to messages class
skipped dashboard messages due to them relying on $_SESSION['message']
to know if there has already been a change
2017-06-08 09:39:04 -06:00
FusionPBX fc2837887c Update app_config.php 2017-06-03 10:57:06 -06:00
FusionPBX d4666d78b3 Update app_config.php 2017-06-03 10:52:51 -06:00
FusionPBX 51a792cfb1 Update app_config.php 2017-06-03 10:46:48 -06:00
Mafoo 676d873a00 BugFix - time_conditions (#2635)
revert and earlier change that changed all quoting to "
2017-06-03 10:17:07 -06:00
Mafoo b98f9cb120 Enhance - app_config.php cleanup for apps (#2633)
make spacing and layout consistent
add all missing language tags
fill missing en-us descriptions
convert to $x$y$z usage for array filling
add a default version number
this is a by hand update
2017-06-03 09:00:20 -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
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
Matthew Vale fbc9488c05 added England bank holidays
currently it is not possible to integrate floating days (Christmas falling on a Sunday causing Tuesday to become holiday)
or Easter, as it isn't a fixed rule for what day
2015-11-03 15:15:33 +00:00
Matthew Vale f70266d669 bugfix when retrieving region 2015-11-03 14:34:29 +00:00
Matthew Vale 81a5fc0db1 initial rewrite of time_conditions 2015-11-03 14:23:52 +00:00
markjcrane 5eb280423c Move the time condition group to a location to make better use of the vertical space. 2015-10-24 18:55:24 -06:00
koldoa 13c9c5df31 Languages updates 2015-10-22 10:59:50 +02:00
koldoa 8eaa0f5122 More Formatting 2015-10-22 10:58:45 +02:00
koldoa 939c6e31b5 Formatting 2015-10-22 10:54:19 +02:00
koldoa f11d6f0e09 Ability to order the time conditions 2015-10-22 10:45:57 +02:00
markjcrane f935194fad Add select dialplan_context as context to fix the context for time conditions. 2015-08-11 13:13:58 -06:00
markjcrane 2f40dfac97 Add the missing echo. 2015-08-07 13:39:25 -05:00
markjcrane 1f496ef53c Make time condition use the new destinations class. 2015-08-06 15:24:42 -05:00
markjcrane 752c54d05c Escape the $ in the domain_uuid variable. 2015-08-05 18:17:39 -05:00
markjcrane bcf1363277 Add destination details to several app_config.php files. 2015-08-04 14:52:10 -06:00
markjcrane 7cc4aa21e0 Change title-time-conditions to title-time_conditions. 2015-08-03 15:53:48 -06:00
root 22c146f7f4 Add latest translations 2015-08-02 23:42:11 +00:00
markjcrane 969c6c6d77 Remove minute from time conditions as its better to use one of the other options. 2015-07-18 12:20:09 -07:00
Mark Crane d4a8c33f0d Add latest translations 2015-06-30 12:30:02 +00:00
Mark Crane 96c10412f7 Add latest translations 2015-06-15 19:30:00 +00:00
Mark Crane 63f1b8f8b2 Sync the recent translations 2015-06-13 05:35:54 +00:00
Mark Crane 4699d4c8e8 Synchronize the translations. 2015-06-06 02:37:26 +00:00
Mark Crane 6f855d44d5 Remove the underscore to fix the syntax. 2015-05-21 20:34:59 +00:00
Mark Crane c21adfd4c1 Missed str_len add it back. 2015-05-21 20:32:00 +00:00
Mark Crane 8a65a796cb If the time condition preset array name doesn't match a translation then use the nae from the array. 2015-05-21 20:28:42 +00:00
Nate Jones 63cd5bb78e Language file merge from translation server. 2015-05-01 11:13:39 +00:00
Mark Crane 5a34fb1a35 Add dialplan add temporary permissions. 2015-04-30 01:17:47 +00:00
Mark Crane 70453cfd5a Fix the permissions for admin using the time conditions and dialplan -> destinations. 2015-04-29 23:22:36 +00:00
Nate Jones f230cfa0e9 Time Conditions: Correct comments. 2015-04-13 19:57:09 +00:00
Nate Jones 74064fd59e Time Conditions: Convert time-of-day to minute-of-day values, due to inconsistent behavior for time-of-day. 2015-04-13 19:36:45 +00:00