Commit Graph

366 Commits

Author SHA1 Message Date
FusionPBX 34432079a8
Update database.php 2018-02-12 08:40:23 -07:00
FusionPBX a90c785ea3
Update sounds.php 2018-02-10 08:46:15 -07:00
FusionPBX 35670dfdc0
Create sounds.php 2018-02-09 18:28:35 -07:00
FusionPBX 51b7deec86
Update destinations.php 2018-01-09 12:45:04 -07:00
FusionPBX 98f32c27a5
Update destinations.php 2018-01-09 12:43:23 -07:00
FusionPBX f72f409a0b
Update destinations.php 2018-01-07 20:01:32 -07:00
FusionPBX 501d43341e
Update destinations.php 2017-12-23 16:24:00 -07:00
FusionPBX 9527f5fb05
Update destinations.php 2017-12-21 01:36:36 -07:00
FusionPBX ad8a022e48
Update menu.php 2017-11-17 14:44:31 -07:00
FusionPBX 20292017cc
Update menu.php 2017-11-17 14:28:07 -07:00
FusionPBX 077f2adf53
Update menu.php 2017-11-17 13:06:04 -07:00
FusionPBX 004daa84d9 Update destinations.php 2017-10-27 04:36:37 -06:00
FusionPBX 4de4ea3f6b Update destinations.php 2017-09-28 03:19:12 -06:00
konradSC 73bea2f815 File cache sync via curl (#2851)
* Add sendevent when using file caching

* Create clear_cache.lua

FS receives a command via curl to call this script which deletes the single cache entry or flushes the entire cache.

* Create file_cache.lua

This scripts monitors for custom events. When an event is processed it will send out a command via curl to other FS servers telling them to clear their cache. 

This must be called from conf/autoload_configs/lua.conf.xml
 <param name="startup-script" value="app/server/resources/memcache.lua"/>
2017-09-20 16:19:56 -06:00
Mafoo 874b4032e2 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 c537b6db78 Update database.php 2017-09-11 01:21:36 -05:00
FusionPBX 7c4e575483 Update cache.php 2017-09-02 09:56:30 -06:00
FusionPBX 5b40a0d5dc Update cache.php 2017-07-22 15:52:45 -06:00
FusionPBX c857ce7f69 Update cache.php 2017-07-22 13:18:03 -06:00
FusionPBX 815a6e0ec6 Update database.php 2017-07-15 23:06:22 -06:00
FusionPBX 06a1aca61a Update database.php 2017-07-15 22:26:01 -06:00
FusionPBX b45e7ceac9 Update database.php 2017-07-15 20:38:56 -06:00
FusionPBX 11ad3b0ee8 Update database.php 2017-07-15 20:20:51 -06:00
FusionPBX bf4c0a0cb0 Update database.php 2017-07-15 17:20:21 -06:00
FusionPBX bae575c875 Update database.php 2017-07-15 17:09:01 -06:00
FusionPBX 753555a948 Update database.php 2017-07-14 20:44:45 -06:00
FusionPBX 278bb44dd6 Update database.php 2017-07-14 20:41:23 -06:00
FusionPBX 313cb54164 Update database.php 2017-07-14 10:52:30 -06:00
FusionPBX 739aafa04d Update database.php 2017-07-11 12:48:20 -06:00
FusionPBX 7910cb8f04 Update database.php 2017-07-11 11:30:22 -06:00
FusionPBX 1cd030a2f0 Update database.php 2017-07-11 00:13:54 -06:00
FusionPBX 51c6b14e46 Update database.php 2017-07-10 22:38:29 -06:00
FusionPBX 749b97c253 Update database.php 2017-07-08 01:10:28 -06:00
FusionPBX 8a2f044109 Update database.php 2017-07-04 09:48:52 -06:00
FusionPBX 83cc908e75 Update menu.php 2017-07-01 16:05:25 -06:00
FusionPBX 60106b605f Update menu.php 2017-07-01 14:13:51 -06:00
Mafoo 2575da1a06 Enhance-Multiple messages display (#2702)
Store messages by mood so they can be grouped up
change default mood to positive and add a default colour to catch messages with a wrong mood
migrate settings so upgrading vs new is consistent
2017-06-21 08:27:05 -06:00
Mafoo 0ccafad11c Enhance - text class autofill (#2679)
Try and auto fill a value when its blank an the same baseline language
has a value
2017-06-12 22:19:02 -07:00
FusionPBX 5bc8691dfb Use null instead of an empty string for user_uuid when not available. 2017-06-11 08:48:18 -06:00
Mafoo ba9b0ade53 BugFix - messages class (#2674)
missed the self class reference when adding a legacy message
2017-06-10 16:12:05 -06:00
FusionPBX aa897aca47 Create text.php
Switch require back to include what it was originally as it breaks too many things with little benefits.
2017-06-10 09:42:54 -06:00
Mafoo 22392cdff2 Enhance text class (#2670)
make the get routine a little more rugged by checking if the file exists not the directory it is in.
throw a exception if we are asked to load a app_languages that doesn't exist
don't reload the resources/app_languages if exclude_global was ommitted
code styling update to match project
2017-06-10 09:14:58 -06:00
Mafoo 01eebd6244 Enhance - remove statsh/pop from messages class (#2671)
statsh/pop was present to work around a bad implementation in loginphp.
This removes the now redundant code.
2017-06-10 08:59:21 -06:00
Mafoo 5bfda43d16 Enhance - add message stash/pop (#2660)
add new methods to messages class to let it take care of stash and pop of the messages
update login.php to use new methods
tweak html function to put the $_SESSION['message'] in the stack so there is only one code point to maintain for rendering
2017-06-09 22:15:18 -06:00
Mafoo 4f4baf136b Enhance - better reasons for 403 in orm class (#2659)
update return message when code 403 to also state the permission that failed
2017-06-09 20:03:22 -06:00
Mafoo 37463204e4 remove debug lines in permissions (#2658)
because application defaults is now captured for output these debug
lines show up when used. This removes them
2017-06-09 13:32:31 -06:00
Mafoo 9e8eb943e8 BugFix - database class app_uuid (#2663)
if $database->app_uuid is not set it would use '' in some conditions
which isset would test true.
This fix uses strlen instead, but also fixes number_transations app that
highlighted the flaw
2017-06-09 13:31:50 -06:00
Mafoo 7015209e54 Enhance [master] provide $app_path during upgrade (#2573)
if a application is installed via a symlink PHP will resolve the symlink
for __DIR__ and __FILE__ making it impossible for an application to work
out it's relative path withing the fusion system.
By providing $app_path during upgrade routines an application will
beable to provide the correct link for menu items (e.g.
/opt/languages/index.php) instead of having to hard code it where it
could change depending on how the application was installed
2017-06-08 09:41:56 -06:00
Mafoo 2c97ce1144 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 3c23fb5115 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