Commit Graph

880 Commits

Author SHA1 Message Date
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 d423fa566d Dashboard: Remove unnecessary inline cursor style, minor mods.
Call Routing: Minor mods.
2016-04-12 10:20:40 -06:00
Nate ab2c154446 Merge pull request #1544 from moteus/dashboard_session_count
Fix. Display session count on User Dashboard.
2016-04-12 10:10:52 -06:00
Alexey Melnichuk bc3bbcf41e Add. Make `Channels` link that point to `Active calls` 2016-04-12 16:25:06 +03:00
Alexey Melnichuk 1405f252e5 Fix. Display session count on User Dashboard.
Also it does not request information about all active calls which can be quite huge.
2016-04-12 16:18:19 +03:00
Alexey Melnichuk 4f4ae8e9ff Fix. Display `Switch Uptime` on User Dashboard. 2016-04-12 15:42:17 +03:00
reliberate 8b0c01c772 Theme: Integrate settings to control button styles and form input styles.
Dashboard: Remove table row hover and pointer cursor if not linked.
2016-04-11 17:52:58 -06:00
reliberate a887eab36a Fun Stuff: http://pasteboard.co/1ormWYp.png
Login: Add settings to style Reset Password (and related) text links, add (disabled) settings to display domain name field.
Theme: Add settings to control login box border size, color, radius and padding.  Explicitly defined placeholder text color/opacity (where possible).
2016-04-07 19:35:39 -06:00
reliberate 6a0465609f Dashboard: Fix issue with Ring Group Forward not saving changes.
Misc: Restore/Fix some missing/botched HTML tags.
2016-04-07 14:14:32 -06:00
reliberate 6b14dc2437 Default/Domain/User Settings: Handle boolean value for menu_main_icons setting. 2016-04-05 17:24:22 -06:00
markjcrane 2026793e1d Run upgrade to call app defaults. 2016-04-03 13:46:46 -06:00
markjcrane f6920838c7 Add a default group check. 2016-04-03 11:54:09 -06:00
markjcrane 4292386b6c Add users and groups php class. 2016-04-03 11:47:06 -06:00
markjcrane 9cb577f44f Update install freeswitch commented out copy scripts and create config lua as they handled in other code. Update install fusionpbx adding switch directories and creating groups handled in other code. When testing is completed will be removed from the code. 2016-04-03 08:39:47 -06:00
markjcrane 51ea37ed18 Rename the EventSocket class. 2016-04-02 19:23:16 -06:00
markjcrane 3ad26f1965 Change expire["sofia_conf"] to expire["sofia"] and expire["acl_conf"] to expire["acl"]. Then add a default value to prevent nil errors when the conf.lua script has not been updated. 2016-04-02 08:32:43 -06:00
FusionPBX 8f17db2ffc Merge pull request #1530 from moteus/install_new_db
Fix. Install with create new database for PgSQL/MySQL
2016-04-02 00:44:26 -06:00
FusionPBX 4cb0a372dc Merge pull request #1519 from moteus/install_config_lua
Fix. Generate same `config.lua` on install as on Upgrade.
2016-04-02 00:40:52 -06:00
reliberate 4a4517a5ab Functions: Enhance img_spacer() function.
Dialplan Edit: Integrate img_spacer() to fix row divider.
Default/Domain/User Settings: Use img_spacer() function for color swatches.
Contact Times: Adjust for recent changes on img_spacer() function.
2016-04-01 19:44:26 -06:00
reliberate 6213c1ab6e Dashboard: Minor visual adjustment on Voicemail block. 2016-03-31 18:13:16 -06:00
markjcrane a4005f46e3 Allow deleting system default groups. 2016-03-31 11:01:39 -06:00
reliberate 25eeda6414 Dashboard: Enable relevant System Counts block for Admin. 2016-03-31 10:30:30 -06:00
reliberate 907ffd150d User Edit: Fix logic used on Enabled field. 2016-03-31 09:48:30 -06:00
reliberate 5ad7291333 Default Settings: Enhance swatch display on color values. 2016-03-30 17:43:57 -06:00
reliberate 0ac33e601d Default Settings: Added ability to toggle the enabled state of checked settings. 2016-03-30 16:44:51 -06:00
reliberate c255ff0173 Dashboard: Include settings in app_defaults to display Call Routing and Ring Group Forwarding controls for the users group. 2016-03-30 15:53:12 -06:00
reliberate b90d404ff5 Dashboard: Corrected app_defaults to create missing Dashboard entries in Default Settings. 2016-03-30 15:42:25 -06:00
reliberate 9bb6bdb371 Dashboard: Added settings to app_defaults to enable certain blocks in the dashboard by default. 2016-03-30 15:32:06 -06:00
reliberate 65ff377972 Dashboard: Integrate Settings to control theme/style of Dashboard elements. 2016-03-30 14:41:45 -06:00
Alexey Melnichuk b9f2e358af Fix. Install with create new database for PgSQL/MySQL
* MySQL/PgSQL ignore error while create new user because user may already exists.
* MySQL on database page use same checkbox like one for PgSQL
* MySQL/PgSQL if create user empty try use db user.(may be better use root/postgres without pass)
* PgSQL fix `GRANT ALL ON DATABASE dbname` instead of `GRANT ALL ON dbname`
* MySQL fix connect string build
* MySQL fix use correct password to connect
2016-03-30 15:05:25 +03:00
reliberate 98d125aaa0 Dashboard: Rename dashboard setting for Call Routing visibility. 2016-03-29 16:41:24 -06:00
reliberate d853e357bd Dashboard, Call Routing, Ring Groups language file fix. 2016-03-29 16:36:39 -06:00
reliberate 7a1e3b7a0b Call Routing: More responsive layout, includes additional info in list view. 2016-03-29 16:28:17 -06:00
reliberate a1dda766d8 Theme: Minor CSS tweaks.
Ring Groups: Rework forwarding controls - integrate into Dashboard view and Ring Group edit page.
2016-03-29 14:15:01 -06:00
Alexey Melnichuk efa19d3be4 Fix. Generate same `config.lua` on install as on Upgrade. 2016-03-29 14:43:58 +03:00
reliberate ca591d2b5a Settings: Paging - Modify description to include "Default: 50". 2016-03-28 23:08:20 -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 5b97091e27 Theme: Add additional Settings to control the style of various elements, remove old css classes.
Default/Domain/User Settings: Add color previews in list view.
2016-03-28 22:29:15 -06:00
markjcrane 12699f5fc2 Fix the menu_delete add a delete to get remove data in menu_languages table. 2016-03-27 14:58:11 -06:00
markjcrane 32ffe4d37f Remove the create_menus() from the install as it is now handled in the menu class. 2016-03-27 02:15:27 -06:00
markjcrane 2107b2a1b5 Fix v_settings update sql command in app/settings/app_defaults.php. 2016-03-26 23:59:28 -06:00
markjcrane fa2b753e62 Add the menu_default method to app_defaults.php. 2016-03-26 22:59:00 -06:00
markjcrane f15645f2a1 Minor adjustment to the checkbox. 2016-03-26 19:51:44 -06:00
markjcrane a3f87106ee Fix two of the button labels. 2016-03-26 19:35:24 -06:00
markjcrane 3d7b9fef13 Fix a the name of a few of the install buttons. 2016-03-26 19:29:04 -06:00
markjcrane d71f1323c3 Update the install.php. 2016-03-26 19:17:33 -06:00
markjcrane c6f0759a5c Change the code in the menu to return immediately if the database object is not ready in this case its not ready until the install.php is finished. 2016-03-26 13:36:00 -06:00
markjcrane 7f64cca1fa Remove the conflict install language is set with the radio buttons. 2016-03-26 13:14:57 -06:00
markjcrane 2e5f4ab596 Remove the fieldset and label as the alignment is not working with bootstrap. 2016-03-26 13:09:22 -06:00
markjcrane 3e5c9f3be4 Adjust the width of the language section of the install. 2016-03-26 12:35:40 -06:00
markjcrane ba095f3852 Additional work to improve the install, template and the menu. 2016-03-26 12:22:15 -06:00
markjcrane 5468042d8d Fix the install.php. 2016-03-26 09:18:36 -06:00
reliberate 44e77b0eef Enhance: Default Theme - enable menu style and positioning options. 2016-03-25 19:38:57 -06:00
markjcrane 8c33f72ed5 Set the default theme as the default. 2016-03-25 16:30:35 -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
FusionPBX 5da0279a24 Merge pull request #1491 from dis45927/master
Fix bug preventing mysql database creation
2016-03-24 21:47:11 -06:00
reliberate 5fe4309166 User Settings: Select query fix, case adjustment on Domain Template select option labels. 2016-03-21 16:54:59 -06:00
reliberate 0184a34ffe Dashboard: Fix Memory & Disk Usage stats. 2016-03-21 10:45:03 -06:00
markjcrane 1b38202a9e Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-03-20 13:52:00 -06:00
markjcrane b3ffd0a1ec Fix the install title. 2016-03-20 13:51:17 -06:00
reliberate 4bd2639fcf Dashboard: Enhance with priority numbers and additional System Count items.
Devices: Fix missing translation.
Voicemails: Fix missing translation.
2016-03-20 03:22:29 -06:00
markjcrane e17c11f754 Update the IVR Menu class to make dialplan more modular. Add option for LUA or application IVR. 2016-03-19 19:06:06 -06:00
markjcrane bd5db4d7a0 Minor change to indent on one line. 2016-03-19 18:23:19 -06:00
reliberate aa44e02b32 Voicemail: Add bulk delete ability for Messages, instant saved indication when playing/downloading, and table row click to play.
Dashboard: Minor code cleanup.
2016-03-19 13:54:24 -06:00
reliberate 17c6193067 Default/Domain/User Settings: Uncheck the 'Check All' checkbox for a category when a subcategory item is unchecked.
Default Settings: Hide the 'Check All' checkboxes when using the search.
2016-03-17 08:45:07 -06:00
dis45927 64dcd97d23 Fix bug preventing mysql database creation 2016-03-15 10:30:33 +00:00
reliberate b503a127c9 User Dashboard: Restore Click-to-Call functionality. 2016-03-14 18:59:30 -06:00
FusionPBX bf5a45dc08 Merge pull request #1471 from mafoo/WhitespaceClean-core/batch
WhitespaceClean-core/batch
2016-03-11 13:35:06 -07:00
FusionPBX ab3aaf51cb Merge pull request #1462 from mafoo/BugFix-Translation-True_False
BugFix-Translation-True_False
2016-03-11 13:24:13 -07:00
FusionPBX 9a136d3b8f Merge pull request #1470 from mafoo/WhitespaceClean-core/install
WhitespaceClean-core/install
2016-03-11 13:22:30 -07:00
markjcrane 961e527abb Change device_provision_enable to device_enabled to make it consistent with the rest of the fields that are used for to enable and disable something. 2016-03-11 11:46:02 -07:00
mafoo ffc6bfcb2b WhitespaceClean-core/batch
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:06:20 +00:00
mafoo f803f03496 WhitespaceClean-core/install
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:03:29 +00:00
mafoo 77c72c8d7c BugFix-Translation-True_False
fixed various uses of ucwords() to render true/false to use
$text[label-*] instead
2016-03-11 11:34:52 +00:00
reliberate 788c7bfcb8 User Dashboard: Temporarily disable click-to-call till properly fixed. 2016-03-10 17:03:24 -07:00
reliberate 1b885beea5 Dashboard: Removed testing code on click-to-call function. 2016-03-10 16:49:26 -07:00
reliberate 49bb6c1ded User Dashboard: Add blocks with additional customizable information (voicemail count, missed calls, recent calls, system counts, domain limits, and system status).
CDR: Adjust icon status and missed call filter to be more accurate, simplify User's view of CDR, add additional call result filter.
2016-03-10 16:29:47 -07:00
markjcrane d4f8e98fc4 Move flags to a more standard directory. If they get used by another feature then the flags should be moved to the main fusionpbx/resources/images directory. 2016-03-09 11:12:47 -07:00
markjcrane e137068d23 Remove the limit on the setting value of 255 as it blocks the length fax footer. 2016-03-07 12:04:07 -07:00
reliberate 073c0e998a User Dashboard: Tweak user settings link and voicemail button. 2016-03-03 19:35:14 -07:00
reliberate c6b3b3c619 User Dashboard: Remove comment, unnecessary language strings. 2016-03-03 19:12:16 -07:00
reliberate 39a31432ba User Dashboard: Minor layout optimizations.
Follow Me: Added search and minimized paging controls.
Extensions: Added minimized paging controls.
2016-03-03 19:01:58 -07:00
reliberate 2230a6710d User Settings: Fix delete setting, move bulk delete function to user_setting_delete.php. 2016-03-03 11:28:35 -07:00
markjcrane b47c8d0422 Add the missing .php extension. 2016-02-29 20:07:32 -07:00
markjcrane a7faa3cc05 Fix title-install translation. 2016-02-29 19:53:13 -07:00
markjcrane 11a4a1d9a6 Minor change remove trailing tab. 2016-02-29 18:47:51 -07:00
reliberate 79d5ff5287 Settings: Only allow Admin to Add/Edit authorized settings. 2016-02-29 12:06:18 -07:00
markjcrane 1b439fdabc Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-02-29 11:43:48 -07:00
markjcrane d8eaf0e666 Fix the comment on install_switch.php. 2016-02-29 11:43:32 -07:00
reliberate b54b832145 Settings: Add interface for User Settings, add ability for Admin to manage (own) Domain and User Settings. 2016-02-29 11:39:46 -07:00
markjcrane c23f53ea34 install_first_time.php rename to install.php. 2016-02-29 11:28:43 -07:00
markjcrane 03897edf95 Rename install_first_time variable and file name. Remove the install/upgrade_switch.php which isn't being used anymore. Update the indentation and remove inconsistent white spaces. 2016-02-29 09:24:05 -07:00
reliberate e35a0ffe8f Account Settings: Bypass browser password manager prompt when saving. 2016-02-25 18:51:49 -07:00
reliberate 224f3d4301 Default/Domain Setting: Bypass browser password manager prompt when saving. 2016-02-25 18:38:19 -07:00
reliberate 9b9d8b4e3b Devices, Extensions, Gateways, Users: Bypass browser password manager prompt when saving. 2016-02-25 18:19:51 -07:00
markjcrane d8c79d0731 Add translations for the install. 2016-02-22 22:27:53 -07: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
markjcrane 4385d0edde Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-02-04 23:19:23 -07:00
markjcrane 71a0fa12fa Switch settings are not always needed so removing the "throw new Exception" 2016-02-04 23:18:48 -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
markjcrane 9bc3e6553f Fix the install problem. 2016-01-26 09:01:56 -07:00
markjcrane 08f39071cc Change the variable from cmt to comment to make it easier to read the code. 2016-01-25 09:41:29 -07:00
mafoo 944662cba9 BugFix for remote pgsql databases 2016-01-25 14:29:27 +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
markjcrane fa081456b1 Change $_SERVER['DOCUMENT_ROOT'].PROJECT_PATH to $_SERVER["PROJECT_ROOT"]. 2016-01-17 00:01:13 -07: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
Matthew Vale 8137300bb5 fixed missing on new Exception 2015-12-31 16:32:51 +00:00
Matthew Vale 7bf32cd637 correction for button name 2015-12-30 16:58:39 +00:00
Matthew Vale a12e3f12b0 added correct bits detection 2015-12-30 16:54:36 +00:00
markjcrane 5da1286329 Add session cookie httponly and set it to true. 2015-12-21 20:52:54 -07:00
Matthew Vale c0cc276601 migrated install_switch's recursive_* routines 2015-12-21 10:54:48 +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
markjcrane 836a41ddbb Minor adjustments. 2015-12-20 22:46:52 -07:00
FusionPBX bd914ba376 Merge pull request #1315 from mafoo/Enhance-Languages
Enhance languages
2015-12-19 09:20:42 -07:00
Matthew Vale 787ca31388 Removed dirs we don't use 2015-12-18 17:00:28 +00:00
Matthew Vale fdd1542b66 patch for SunOS
corrected collection of switch version during detect_switch
2015-12-11 14:57:14 +00:00
Matthew Vale 81b85c3caf Merge branch 'fusionpbx/master' into Enhance-Languages
Conflicts:
	app/extensions/app_languages.php
2015-12-11 08:45:26 +00:00
Matthew Vale 45d9c2039d updated switch version detection
will now work with both git and packaged version numbers
added bits to detect_switch
2015-12-10 10:51:38 +00:00
Matthew Vale 742db50120 First pass on core/* 2015-12-10 10:09:07 +00:00
Matthew Vale e3f1e919da Migrate app_languages.php from core to resources 2015-12-10 09:57:08 +00:00
reliberate e7162402b1 Domain Edit/Create: Use file_exists instead of isset on recordings directory path check. 2015-12-08 11:24:47 -07:00
Matthew Vale 93a83ccb61 Fixed temp_dir not getting set correctly
this would have also affected backup_dir
2015-12-07 21:19:59 +00:00
markjcrane 84ff743e84 Last commit commented out the permission this comments out the menu. 2015-12-06 14:21:36 -07:00
markjcrane 52f87223b0 Commenting Advanced -> Install menu until its reason developer that added the menu explains its purpose. 2015-12-06 14:19:18 -07:00
markjcrane cde9debb29 After removing domain name from the default recordings dir path need to add the domain name every where the recordings directory is currently used. 2015-12-06 13:37:35 -07:00
markjcrane 622efef416 Convert localhost to 127.0.0.1 before determining the host_type. 2015-12-06 12:43:18 -07:00
markjcrane b4e3ee5b0d Detect the host type for PostgreSQL so it works with host or ip address. Also improve the code consistency by correcting the indentation and adding a few more comments. 2015-12-06 12:25:34 -07:00
Matthew Vale 36652ff231 use DOCUMENT_ROOT rather than assume path 2015-12-04 12:24:22 +00:00
Matthew Vale fb4edcdd74 added suppression of progress by default 2015-12-03 14:59:46 +00:00
Matthew Vale 7ce32f11d4 corrected function name 2015-12-03 14:25:33 +00:00
Matthew Vale 8894c86c16 split install into phases
this is to prevent catch 22 between copy_conf and app_defaults
2015-12-03 14:04:27 +00:00
Matthew Vale 875f0a6262 added save_switch_xml during install 2015-12-03 13:36:43 +00:00
Matthew Vale e036c88c99 fixed storage of domain_count 2015-12-03 11:55:40 +00:00
Matthew Vale 68cd03d598 added workaround for lua not resolving localhost 2015-12-03 11:36:29 +00:00
Matthew Vale cc3f8e9945 changed path handling for create_config_lua
thanks moteus for the hint
2015-12-03 11:19:09 +00:00
Matthew Vale 5149307d11 corrected path retrieval for test
added missing () when reporting domain name
2015-12-03 10:49:38 +00:00
Matthew Vale f3f24c4085 add caveat when the config.lua is inside scripts\resources
due to app_defaults running before install_switch create_config_lua
cannot create it's config if the detected folder is scripts\resources\
this solves this by adding a caveat to create it's parent folder when it
is called resources
2015-12-03 10:40:54 +00:00
Matthew Vale 9bc96195c1 corrected references to scripts 2015-12-03 09:52:53 +00:00
Matthew Vale 31619d8747 fixes during upgrade 2015-12-02 15:55:21 +00:00
Matthew Vale 120ea2cc40 Removed redundant code 2015-12-02 14:46:03 +00:00
Matthew Vale 86b945a997 accidentally cancelled redirect during testing 2015-12-02 14:39:53 +00:00
Matthew Vale b9b05f757c reorganised upgrade routine to make more sense 2015-12-02 14:32:49 +00:00
Matthew Vale 3f6fdc1df4 added automatic odbc_database definition 2015-12-02 14:17:53 +00:00
Matthew Vale de2cb97113 Bugfix batch 2015-12-02 14:05:21 +00:00