Commit Graph

35 Commits

Author SHA1 Message Date
nathangray
4d6a2cf1b1 Calendar: Fix some client side filter bugs
- Resources that weren't the first selected were not displayed properly
- Selecting a group via ajax under certain conditions would not display its events
2020-05-06 11:00:47 -06:00
nathangray
a15a7dd6a8 Calendar: Even faster initial loading by not triggering the user list at all 2020-04-22 16:37:43 -06:00
nathangray
09275367c0 * Calendar: disable some owner/participant pre-loading for faster initial open
We no longer send the accounts or owngroups to pre-fill the owner / participant options.   Accounts are pulled from the client-side cache, groups are now always via ajax like other resources
2020-04-22 13:09:14 -06:00
nathangray
3e38ce2268 Calendar - add missing group memberships on initial load when user is not in group 2019-09-03 15:50:14 -06:00
nathangray
ecdfc9808d Calendar - add missing group memberships on initial load. Fixes group calendars don't work. 2019-08-30 13:30:51 -06:00
Ralf Becker
bf51083891 * ActiveDirectory: fix "not a valid GUID" error, when getting an avatar of a group 2019-03-09 12:38:15 +01:00
nathangray
ac3656d85d Avoid JS error if account selection is turned off 2019-01-11 11:50:55 -07:00
nathangray
fa928efc57 Calendar - Pass group members on load to save some user data lookups 2018-12-19 15:31:44 -07:00
Hadi Nategh
2690ec5053 Introduces avatar.php and replaces all addressbook.photo urls accordingly 2018-10-31 13:49:51 +01:00
Hadi Nategh
eb5652dc20 * Api: get avatar showing up for taglist accounts and calendar owner 2018-06-29 10:12:59 +02:00
Hadi Nategh
4a9ce8e82f Fix calendar participants validation error, caused by commit 5995c63034 2017-06-26 12:52:12 +02:00
nathangray
5995c63034 Calendar - fix some bugs setting calendar owner via URL when calendar app is not yet loaded 2017-06-12 12:35:12 -06:00
nathangray
bd595469ab Calendar - Even better, just filter out accounts from contact results 2017-03-17 08:43:46 -06:00
nathangray
77b90abd54 Calendar - Lookup person_id and filter by that, in case account name is different from contact file_as 2017-03-17 08:25:27 -06:00
nathangray
f0b3a50d0f Always hide the contacts associated with user accounts from calendar owner options, we just show the accounts. 2017-03-09 13:16:57 -07:00
nathangray
2dbe3e785e Calendar - Remove contacts matching accounts user has no access to so nobody selects it thinking they are selecting the user account 2017-03-07 11:08:26 -07:00
nathangray
6a815b53b3 Fix calendar owner search would only return 1 matching resource category 2017-01-20 08:55:57 -07:00
Ralf Becker
0cf37ba54d * Calendar: fix PHP Fatal: Unsupported operand types caused eg. by deleted resources 2016-08-24 12:36:53 +02:00
nathangray
2b61cc4822 Fix distribution lists calendars to work when first added from search results 2016-07-20 12:39:06 -06:00
nathangray
6d5f820b97 Add resource categories to owner / participant search results
In the sidebox menu, resource categories are returned and selectable and will show events for all resources in that category.
In the edit popup, if the category name matches the search string, all resources of that category are returned and user can select them as if they would have searched for the name of the resource.
2016-07-19 14:10:15 -06:00
nathangray
76307c4bbf Allow contact lists as event participants 2016-07-06 13:19:54 -06:00
Ralf Becker
0a2b637f00 fix not possible to invite groups you are not a member of 2016-06-27 11:39:25 +02:00
Hadi Nategh
1fab6876c4 Fix calendar participant does not show user accounts 2016-06-23 17:21:45 +02:00
nathangray
61a9a28c4d Fix css include 2016-05-24 15:08:48 -06:00
nathangray
2976d910db Some bugfixes for planner view in sitemgr:
- Add check on sel_options arrayMgr for missing owner names, since sidebox is not there
- Pre-fill sel_options for above, so they can be found
- Fix clicking on an event could alter the calendar state
2016-05-16 14:32:03 -06:00
Nathan Gray
e4aa767911 Fix calendar resource search 2016-05-03 21:03:51 +00:00
Nathan Gray
5d14807720 Planner sitemgr module
- Check ACL and only offer users or resources anonymous user has access (read or free/busy) to
- Stop some errors from missing framework breaking the timegrid
- Fallback to be able to get resource labels in all cases
2016-05-02 19:22:52 +00:00
Ralf Becker
dcc003cedf move calendar to new api 2016-05-01 17:47:59 +00:00
Ralf Becker
429177686a make home a regular application, which can eg. disabled, incl. moving all services using "home" as appname to "api" and moved some other forgotten stuff from phpgwapi&etemplate to api 2016-05-01 09:57:48 +00:00
Nathan Gray
40fbf3e2c9 Update for resource selection to re-enable conflict detection
- Remove account & contact options from default resource selection preference
- Edit dialog participant now passes selected start & duration, so conflict detection works again
2016-04-29 18:01:17 +00:00
Nathan Gray
a81cdf73be When server gives taglist options via ajax, take them all. Only filter local suggestions.
- Filter accounts server side so they do not always show up
2016-03-25 16:08:22 +00:00
Nathan Gray
fbe3d2cc7d Only filter accounts by calendar permission, not groups 2016-03-10 17:43:02 +00:00
Nathan Gray
23a25e23d8 remove PHP 5.4+ array syntax breaking our PHP 5.3 support 2016-03-04 15:57:13 +00:00
Nathan Gray
32b4872084 Use calendar-owner widget in edit dialog for participants 2016-02-18 20:54:26 +00:00
Nathan Gray
58b7f38426 Promote calendar-owner to full widget, loadable by etemplate on its own 2016-02-18 19:45:37 +00:00