Commit Graph

322 Commits

Author SHA1 Message Date
FusionPBX b7fafa2c50 Update extensions.php
Move extension registered before enabled and description which are always last.
2016-07-28 09:59:38 -06:00
FusionPBX de71fbdf7e Update app_config.php
Change the permission in app_config.php from extension_show_registered to extension_registered.
2016-07-28 00:01:47 -06:00
FusionPBX 47e22e5f61 Update extensions.php
Change extension_show_registered to extension_registered.
2016-07-27 23:59:25 -06:00
Chris Black 1cca98951d Fix my PR for the device registered on extensions page. (#1772)
* Fix my PR for the device registered on extensions page.

* Change to registered
2016-07-27 23:03:59 -06:00
markjcrane bd23c78670 Use FreeSWITCH to run mkdir so it inherits its own user and group permissions. 2016-06-28 15:18:40 -06:00
Mafoo 27dc84b3b8 BugFix-remove-legacy-warning (#1638)
changed switch_music_on_hold->select to be more inline of usage
changed extension_edit to use new format
changed call_center_queue_edit to use new format while
https://github.com/fusionpbx/fusionpbx/pull/1637 is in testing
2016-06-08 15:15:36 -06:00
reliberate 2ca4d5d1d9 Extension: Update assigned Device line password only if user has permission to view/edit Extension password. 2016-06-06 14:36:31 -06:00
Mafoo 71525c26b0 I got the permissions wrong (#1616)
it should have been in octal mod (leading 0)
also updated the fax application as it needs the stickygid too
2016-05-26 05:55:46 -06:00
Mafoo 86c4742347 Added sticky GID permissions (#1615) 2016-05-25 21:51:41 -06:00
reliberate bf5f1223af Gateways: Fix paging and order by.
Devices/Users/Extensions: Visual adjustments.
2016-05-21 13:04:31 -06:00
markjcrane b27b11fe40 Add a new permission number_alias. By default hide it to prevent confusing users. 2016-05-11 13:36:31 -06:00
markjcrane cbd78f0e74 Change extension permission defaults. 2016-05-11 13:03:06 -06:00
markjcrane 9e20f0a570 Update the record count for extensions list. 2016-05-07 18:06:36 -06:00
markjcrane 9d0eac2111 On the extensions page use is_array($extensions) instead of $num_rows 2016-05-07 17:37:24 -06:00
markjcrane 2378ace5a8 Change the method to detect if the array exists for extensions. 2016-05-07 17:27:27 -06:00
FusionPBX 3e33a7c15c Merge pull request #1562 from moteus/display_long_extensions
Fix. Display long extensions (>9 digits)
2016-04-29 09:25:46 -06:00
markjcrane 471da2bca0 Add (!class_exists('extension')) 2016-04-28 16:57:42 -06:00
markjcrane c3b12c217d Cleanup the indentation ... tabs and whitespace after the last pull request. 2016-04-28 16:56:44 -06:00
Alexey Melnichuk a0c79a685a Fix. Display long extensions (>9 digits) 2016-04-28 14:37:58 +03: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 1f9ad42543 include omitted column name, partial fix to support mariadb 10.1. 2016-04-25 20:44:30 -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
Harry G. Coin 8abe003a71 The goal is to increase confidence in fusionpbx, one step is to run by default with error_reporting (E_ALL ^ E_NOTICE);
So, please find in this set numerous small changes which eliminate numerous php warning messages.

Also, a small bug fix in an sql statistics routine, naming a count(*) field as count, so displaying correct detail.

If any of the proposed changes are omitted, the relevant page will experience php warnings.

There are no doubt fusionpbx pages I've yet to visit that still generate warnings, this set is nearly certainly not comprehensive.
2016-04-25 20:19:58 -05:00
reliberate d73ea93a14 Voicemail: Show Add button even when no Voicemails exist.
Extensions: Integrate keyboard shortcuts (Ctrl+A to select all, Delete to delete checked).
2016-03-31 18:03:32 -06:00
Alexey Melnichuk 04a0349050 Fix. Display extension on MySQL.
Problem that
```SQL
select (select count(*) as num_rows ...)
```
is  not the same as
```SQL
select (select count(*) ...) as num_rows
```

I think problem may be on SQLite too.
2016-03-29 19:00:59 +03:00
markjcrane b7ee8d69c3 Fix the problem with non-numeric extension causing an error. Not certain we will keep this method but its an interesting solution. 2016-03-29 03:42:24 -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 5793de2851 Destinations/Extensions/Voicemails: Better sorting ability. 2016-03-28 15:21:05 -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 ddcb4cab28 Revert "Revert "Revert "search selects""" 2016-03-24 22:25:18 -06:00
FusionPBX d7b95e462b Revert "Revert "search selects"" 2016-03-24 22:03:37 -06:00
FusionPBX f9096f9cf1 Revert "search selects" 2016-03-24 22:02:41 -06:00
blackc2004 c2e1755931 search selects 2016-03-22 15:42:46 -07:00
reliberate 39bfec7aa2 Extensions: Added bulk delete.
Voicemail: Added bulk delete.  On delete, remove recordings folder, and voicemail_options, _destinations, and _greetings database records.
2016-03-16 18:48:42 -06:00
FusionPBX 45704a7707 Merge pull request #1469 from mafoo/WhitespaceClean-app/batch_2
WhitespaceClean-app/batch_2
2016-03-11 13:35:24 -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 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
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 9b9d8b4e3b Devices, Extensions, Gateways, Users: Bypass browser password manager prompt when saving. 2016-02-25 18:19:51 -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 d65982cfac Add a new permission extension_user_record to control who is able to see extension record. By default superadmin has this permission. 2016-01-27 15:56:22 -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
markjcrane fa081456b1 Change $_SERVER['DOCUMENT_ROOT'].PROJECT_PATH to $_SERVER["PROJECT_ROOT"]. 2016-01-17 00:01:13 -07:00
FusionPBX d298dad5cc Merge pull request #1331 from mafoo/BugFix-root.php_logic
Rollout new root.php
2016-01-16 10:09:44 -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
markjcrane fca7beb7af If the call group or toll allow have a value set set selected. 2016-01-13 17:57:25 -07:00
markjcrane 9c5eb3faea Use call group singular instead of plural. 2016-01-13 16:40:26 -07:00
markjcrane b8d3ca338d Add an option for toll allow and call group select list. 2016-01-13 16:26:55 -07:00
Matthew Vale a41e89af76 Added full logic to support cli as well 2016-01-13 17:38:54 +00:00