Commit Graph

2594 Commits

Author SHA1 Message Date
Nathan Gray
e4aa767911 Fix calendar resource search 2016-05-03 21:03:51 +00:00
Ralf Becker
e5d6f6a909 fix calendar preferences to show start- and end-time of day 2016-05-03 13:24:21 +00:00
Ralf Becker
bc4362c22e remove old phpgwapi datetime class from calendar, as it is no longer in api 2016-05-02 20:22:47 +00:00
Ralf Becker
c15a722f3a do not instanciate eT2 Widget in setup (no need, and gives autoloading conflict), also calling static calendar_bo method static 2016-05-02 20:21:59 +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
5db786a7ae fixed (hopefully correct) some undefined variables and other IDE warnings 2016-05-02 15:39:41 +00:00
Nathan Gray
cbb2d73b98 Make some old code that returns HTML unused, then remove it 2016-05-02 15:26:56 +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
Ralf Becker
0eb3619cd1 * Mail/Addressbook/Calendar: add and use charset when sending/receiving mails with vCard/iCals, change default vCard charset preference to utf-8 2016-04-29 07:51:13 +00:00
Ralf Becker
38412a1149 use new api in home and portlets 2016-04-28 18:06:46 +00:00
Nathan Gray
67faad146f Fix extra empty participant in new event for another user from planner by user view 2016-04-27 23:06:51 +00:00
Nathan Gray
91b8995938 Implement ical context menu action on single events in non-list views 2016-04-27 19:28:31 +00:00
Nathan Gray
ebc14c847c Avoid empty popup & cryptic error from drag and drop series in the past with future conflict 2016-04-27 18:53:15 +00:00
Ralf Becker
7c2b2d4950 * CalDAV: fix exceptions (EXDATE) was exported with timezone and Zulu-time, causing eM Clinet to fail
current Horde_Icalendar only exports EXDATE in Zulu-time, so we can only remove timezone. Apple calendar on OS X 10.11.4 uses a timezone, so does Horde eg. for Recurrence-ID
2016-04-27 16:27:04 +00:00
Ralf Becker
df83dcf933 fix wrong replacement 2016-04-27 16:23:30 +00:00
Ralf Becker
3e92578753 fix some ocurences with: <object> instanceof <phpgwapi-class>, which is no longer true, when object is from new Api, but old <phpgw-class> extends new Api class 2016-04-27 07:10:04 +00:00
Nathan Gray
e88c3da6b8 Add missing placeholder (no rows) action 2016-04-26 23:11:29 +00:00
Nathan Gray
42ac5b8a08 Hide participants for private events 2016-04-26 20:13:14 +00:00
Nathan Gray
61029657f5 Log recurrence end date into history 2016-04-26 16:41:22 +00:00
Hadi Nategh
171a160383 Switch weekend action in toolbar with week view, as week view is more important than weekend toggle 2016-04-26 12:35:09 +00:00
Ralf Becker
1742ebf6f1 use new et2 config 2016-04-24 13:41:36 +00:00
Nathan Gray
80e935fb0b Some adjusting of calendar list sort order:
- All filters except Before default to sorting earlier events first  (start date asc)
- For all day events for the same date, non-blocking before blocking
2016-04-20 16:52:52 +00:00
Nathan Gray
f7588fb0ea Update to use static method for country 2016-04-19 20:25:35 +00:00
Hadi Nategh
e75a1b6348 Dialog styling W.I.P.:
- Get all buttons fit into footer toolbar for calendar edit
- Fix tabs flicker when switching between tabs
- Fix padding right for td
- Fix general styling for buttons
2016-04-07 12:42:27 +00:00
Ralf Becker
fc9c345930 move egw_ical_iterator to Api\CalDAV\IcalIterator 2016-04-04 23:45:39 +00:00
Ralf Becker
ca1bf71361 fix PHP Fatal error when creating/updating entries 2016-04-04 22:39:49 +00:00
Nathan Gray
3ecd30fb35 Fix no category showed blank tag in category taglist. 2016-04-04 21:40:45 +00:00
Ralf Becker
682fd42a26 move CalDAV/CardDAV server to api 2016-04-02 10:44:17 +00:00
Ralf Becker
9eb1ecbd36 fix all IDE warnings, before moving classes to api, in case we want to merge it back to 14.x 2016-04-02 08:40:34 +00:00
Nathan Gray
abd1830ec2 Fix multiple categories show as just IDs 2016-03-31 23:06:23 +00:00
Hadi Nategh
3261906a09 Mobile theme W.I.P.:
- Implement plus button for calendar views and bring day view action into toolbar header, thanks Christoph Kaulich.
2016-03-30 16:03:19 +00:00
Hadi Nategh
989d1ca389 Mobile theme W.I.P:
- Fix calendar toolbar messed up with too many shown actions
- Fix SVG icons for list, planner, 4days, multiweek and today buttons
2016-03-29 10:33:10 +00:00
Ralf Becker
db5533058d possible fix for An error happened (ErrorException): Argument 2 passed to EGroupware\Api\Etemplate::exec() must be of the type array, string given, called in calendar/inc/class.calendar_ui.inc.php on line 593 2016-03-29 09:12:56 +00:00
Nathan Gray
dc3fdfdea6 Remove invalid participant fields from export field options 2016-03-25 16:32:15 +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
521c28cfd5 Get planner sitemanager module working 2016-03-18 15:49:11 +00:00
Nathan Gray
f9b5b2fc1e Remove birthday / event display preference 2016-03-15 18:27:32 +00:00
Nathan Gray
70b00c8d70 Remove some unused code 2016-03-14 19:36:22 +00:00
Nathan Gray
a13035ac06 Fix event from mail did not add users as participants 2016-03-14 15:58:25 +00:00
Nathan Gray
fbe3d2cc7d Only filter accounts by calendar permission, not groups 2016-03-10 17:43:02 +00:00
Nathan Gray
a8f158e72b Add 'Today' as calendar list date range option 2016-03-09 22:38:45 +00:00
Hadi Nategh
dbd97cd37a Mobile theme:
- Eliminates some actions from contextmenu only on mobile
2016-03-09 12:31:55 +00:00
Ralf Becker
6f0728cd9d fix for different return values of accounts->member(s) / membership(s) 2016-03-06 16:09:58 +00:00
Ralf Becker
3971dd8915 fix use of deprecated accounts::member and accounts::membership, should be members and memberships 2016-03-06 14:58:36 +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
Ralf Becker
4c37f90cc1 remove old no longer used stuff 2016-03-01 16:26:14 +00:00
Nathan Gray
b2d1f0edbe Fix incorrect owner/group showing for planner on home 2016-02-23 21:47:33 +00:00
Nathan Gray
17f2882639 Get calendar home less broken
- Fix actions missing on home reload
- Fix full reload on home reload
- Fix calendar reload removed home events
2016-02-23 21:29:13 +00:00
Ralf Becker
4121546e85 fix docu and logging as logic for change is in backend 2016-02-23 15:04:30 +00:00
Ralf Becker
1da38599b2 change ctag timeout to 29sec to get z-push ping with 30sec to request a new ctag 2016-02-23 15:02:40 +00:00
Nathan Gray
9460e1a2f9 Home improvements - Weekend toggle, weekN & month support 2016-02-22 22:45:48 +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
Ralf Becker
61027429eb alignment of NM header 2016-02-17 19:56:54 +00:00
Nathan Gray
e3fdbd0c62 Fix removal missing events 2016-02-17 15:33:34 +00:00
Nathan Gray
5955705002 Owner widget changes:
- Now returns results with users, then groups, then other apps
- If a result is found in the static options, the server is not queried
- 2 character limit before searching
- Change event fires on blur, not change in selection
2016-02-11 20:30:55 +00:00
Hadi Nategh
44c29d52db Mobile theme W.I.P.:
-Fix calendar view header
2016-02-10 17:03:42 +00:00
Nathan Gray
26f4c6556b Fix changing status sometimes changed time(zone) 2016-02-10 00:19:55 +00:00
Nathan Gray
d7dfd44c8b Use taglist for owner 2016-02-09 20:28:57 +00:00
Nathan Gray
069da4dace Fix changes via popup edit are not shown in main (week, etc) views 2016-02-04 19:30:32 +00:00
Nathan Gray
edf60ac0f8 Completely remove any planner_days and switch to using other views for calculation 2016-02-03 18:27:52 +00:00
Ralf Becker
cd9b6b77fe fix not working download of holidays from egroupware.org, caused by not working redirect with old network class, now replaced with standard php http wrapper and use egw_framework::proxy_context() for optional proxy server 2016-02-01 11:08:39 +00:00
Nathan Gray
174387b958 Fix home showed wrong day for single days 2016-01-27 17:48:33 +00:00
Nathan Gray
794d6aee5c Fix events missing if home loaded before calendar 2016-01-27 17:35:25 +00:00
Ralf Becker
e9d48ff687 4-day-view icon incl. sources from Pixelegg, thought I had to change briteness by +80% to get a simmilar looking icon as for other calendar views 2016-01-26 14:47:05 +00:00
Hadi Nategh
1c4647492d Show caption if there's no icon available for toolbar actions
- Remove icon from today action in calendar
2016-01-26 13:43:00 +00:00
Nathan Gray
837e19ae2c Use new function to update client data when moving via DnD 2016-01-25 23:24:42 +00:00
Nathan Gray
0ae7ba40ce Toolbar changes:
- Change Add button icon from new to +
- Add Today button to toolbar
2016-01-21 18:41:54 +00:00
Nathan Gray
80ce556003 Remove view names from header 2016-01-21 18:35:53 +00:00
Nathan Gray
72991fc007 Smarter updates for recurring events, to avoid refreshing more than needed. 2016-01-20 20:58:14 +00:00
Nathan Gray
85eebd426d Fix fatal error when copying an event 2016-01-19 00:42:27 +00:00
Nathan Gray
f438940598 Fix alarms not updated when event is moved 2016-01-18 17:45:25 +00:00
Nathan Gray
2c31029f66 Fix early ajax update losing not yet saved partially entered events 2016-01-15 21:11:19 +00:00
Nathan Gray
cc53069d40 Some missing bits for Stylite theme
- Missing new & day toolbar icons (thanks Ulle)
- Incorrect colors
2016-01-14 21:52:40 +00:00
Nathan Gray
6b78eb9d36 More intelligent updating to avoid having to re-do a whole week when one event is added 2016-01-14 15:46:55 +00:00
Nathan Gray
15dd34edcb Re-enable/implement preference for showing events as a per-day list 2016-01-12 23:55:59 +00:00
Hadi Nategh
9afd1976a9 * Calendar/ mail integration: Fix created event out of mail has no delete button available in participants list 2016-01-12 11:13:16 +00:00
Nathan Gray
22770805c4 Use toggle for weekend in toolbar 2016-01-09 00:54:27 +00:00
Nathan Gray
000376c69d Fix sorting users in non-consolidated day view 2016-01-08 22:38:11 +00:00
Nathan Gray
d1739fd873 - Fix day view user header
- Fix toolbar add button
2016-01-06 20:37:29 +00:00
Nathan Gray
556495e6cc Move sidebox buttons into a toolbar 2016-01-06 18:24:45 +00:00
Nathan Gray
4d0977f8f9 - Fix inconsistency in participant / owner between planner & weekview
- Change default participant default to selected users
2016-01-05 22:54:33 +00:00
Nathan Gray
7d1de17438 Refactor & more intelligence in grid views for speed improvements 2016-01-05 20:43:19 +00:00
Nathan Gray
260c320ba9 Stop planner & nextmatch from fighting over events, some timing improvements 2015-12-29 22:12:30 +00:00
Nathan Gray
4792b69802 Increase default consolidation by 1 2015-12-29 16:28:29 +00:00
Nathan Gray
f08cfee22c Fix context menu action 'Add' in grid views 2015-12-29 00:19:45 +00:00
Nathan Gray
d89e847acc Add a preference for participants for new events - just me, or selected
Applies when there is no obvious participant (clicking on a single user's calendar)
2015-12-29 00:11:29 +00:00
Nathan Gray
bcea893927 Todo icons:
- Use defaults for missing icons
- Prevent wrapping
2015-12-28 17:59:47 +00:00
Nathan Gray
6dfef23ae3 Match consolidation number to the phrasing in preferences 2015-12-28 16:55:51 +00:00
Nathan Gray
ffad978c81 Move consolidation limit from config to preference, and split it into two for day & week views 2015-12-22 23:34:53 +00:00
Nathan Gray
18a7c47b95 Fix drag and dropped events in a different timezone get set to the wrong time 2015-12-22 00:26:56 +00:00
Nathan Gray
0e50aaee77 Remove no longer used preference for preselected group entering the planner 2015-12-17 00:02:38 +00:00
Nathan Gray
6236c7e1ca Add some exceptions to Month header button
- Planner & list view stay, they just update their date to that month
2015-12-16 19:54:22 +00:00
Nathan Gray
4aed504622 Fix drag and drop series exception in a different timezone did not remove original event 2015-12-16 00:28:56 +00:00
Nathan Gray
2e5b034ca0 - Change default weekN to 2 weeks (& fix error)
- Remove no longer useful default view
2015-12-15 20:06:03 +00:00
Nathan Gray
c5eac7749c When the current view is nextmatch, pass sidebox merge through the listview nextmatch action so it gets proper processing of the selected rows and nextmatch filter. 2015-12-15 16:36:54 +00:00
Nathan Gray
4503abf1bc - Fix view list hook to be able to view the list from any other application
- Participant is not always an integer
2015-12-12 00:07:40 +00:00
Nathan Gray
33437acb96 Keep internal date span up to date if user is using list view and week or month filter.
Fixes some problems with strange date ranges when merging using the sidemenu selectbox
2015-12-11 19:38:52 +00:00
Nathan Gray
8a5e720851 Revert r54516, it can cause infinite loops 2015-12-10 00:40:04 +00:00
Nathan Gray
da2d6cc321 Keep client side state up to date with month & week filters 2015-12-10 00:06:08 +00:00
Nathan Gray
b4cfde8c35 Automatically make adjustments to merge range to try to match the selected template 2015-12-09 23:12:12 +00:00
Nathan Gray
0e834e372c Add ACL check to allow editing other users events via drag and drop 2015-12-09 17:36:46 +00:00
Nathan Gray
77d4a48a5b Fix missing resource name in initial load of owner list 2015-12-08 22:29:56 +00:00
Nathan Gray
cbf2497d58 Do not check for conflicts when changing status via ajax 2015-12-08 22:13:35 +00:00
Nathan Gray
4ece177cf9 Fix exceptions on the day of series ending got copied to new series 2015-12-08 17:00:49 +00:00
Nathan Gray
9dd383c5a9 Add external owners that a select account widget will not find, so they are there on initial load 2015-12-08 00:57:45 +00:00
Nathan Gray
d547416956 Fix missing 'add' refresh call 2015-12-07 16:11:44 +00:00
Nathan Gray
7d20c6074d Fix typo breaking some merge combinations, make sure to always merge to end date 2015-12-04 20:58:37 +00:00
Nathan Gray
003b090103 Fix exceptions before split time were disconnected from original series 2015-12-04 19:52:53 +00:00
Nathan Gray
7b527d699e Fix some more cases with recurring events & drag and drop (duration changes) 2015-12-03 22:56:52 +00:00
Nathan Gray
3ec70206cd Fix some load order bugs. Firefox finishes loading list view before the sidebox, causing some discrepancies in views 2015-12-03 20:44:52 +00:00
Klaus Leithoff
3f861274aa first shot at missing (recurring) appointments 2015-12-03 15:55:48 +00:00
Nathan Gray
ecb2003f4f Change calendar merging to be able to handle merging a range into a document with only pagerepeat 2015-12-02 17:34:06 +00:00
Nathan Gray
e172ff448b Fix some app_id vs id issues breaking drag & drop 2015-12-01 22:02:47 +00:00
Nathan Gray
ede4956797 Changes to how recurring events are split when you change them
- Events before today can (still) not be changed
- Events after today can (still) be changed
- If you change a series by editing (or dnd) an event after today, the change is effective as of that day
2015-11-27 16:57:25 +00:00
Nathan Gray
9a97d108a5 Fix recurring private events breaking things 2015-11-25 17:20:30 +00:00
Nathan Gray
af42a71332 Fix unable to merge from listview into document that has {{pagerepeat}} 2015-11-24 22:42:46 +00:00
Nathan Gray
422ecd25a9 Add labeled week & month filters for list view 2015-11-24 19:45:00 +00:00
Nathan Gray
b034eeac92 Fix changing recurring end date to earlier always gave one extra recurrence 2015-11-24 18:15:11 +00:00
Klaus Leithoff
7a99c3f8a5 improve ical2array as it messed up the ical information on recurring calls 2015-11-24 16:05:01 +00:00
Nathan Gray
dd6df6b077 Change listview filter options to include date 2015-11-24 00:18:37 +00:00
Nathan Gray
5088739a86 Fix wrong user name on initial load of list view 2015-11-23 23:18:05 +00:00
Nathan Gray
adb64aa0b8 Fix removing recur end date did not change recurrences 2015-11-23 19:23:39 +00:00
Nathan Gray
2b6eacd472 Fix specifying owner as an array quietly failed 2015-11-23 18:01:21 +00:00
Nathan Gray
0861a6d58c Fix some more sneaky caching / refresh bugs 2015-11-18 17:44:22 +00:00
Nathan Gray
adbc4d2b8b Fix one more case where full update is needed. 2015-11-18 16:19:34 +00:00
Nathan Gray
22e4fc038f Send some refresh commands when deleting 2015-11-17 21:32:46 +00:00
Nathan Gray
0df5d6f207 Fix planner events
- Createing event by clicking on row had wrong end date
- Display problems from previous commit
2015-11-17 17:59:23 +00:00
Nathan Gray
7467f3b855 Fix display issues with multi-day events
- fix missing events when span is changed to cover new days
- fix events stay when changing weeks, and the new week has a day with no events
2015-11-17 16:57:34 +00:00
Nathan Gray
ceb9f48f11 Fix missing group member permission errors 2015-11-16 19:40:52 +00:00
Nathan Gray
5846aaa317 - Automatically handle when time rows are too small for proper display
- Increase options for weekN display to 4
2015-11-16 18:31:09 +00:00
Nathan Gray
98c18b04ec Fix delete of series did not work 2015-11-16 16:45:02 +00:00
Nathan Gray
61d4e1535e Fix drag and drop series exceptions did not remove original 2015-11-13 23:30:26 +00:00
Nathan Gray
43e69977f2 Fix some update conditions that were missing some cases 2015-11-13 20:22:58 +00:00
Nathan Gray
ddb63f4f46 - Fix clicking to create an event on another user's calendar did not always set that user as owner, even with add permission
- Fix doubled users in planner view when users and groups were selected
2015-11-13 17:07:48 +00:00
Ralf Becker
5f919ced72 * ImportExport: switch notifications off by default on import 2015-11-13 15:50:32 +00:00
Ralf Becker
ae72f4d481 * Calendar/CalDAV: allow to download whole calendar as one big iCal file using "https://$user:$passwd@domain.com/egroupware/groupdav.php/$user/calendar/?download" 2015-11-13 15:23:36 +00:00
Nathan Gray
83390eca97 Fix missing conflict dialog if you drag a full day non-blocking event to a time changing it to full day blocking, and there's a conflict with en existing event that day. 2015-11-12 18:54:20 +00:00
Nathan Gray
0077befe25 Fix drag and drop of non-blocking event makes it blocking event 2015-11-12 15:42:14 +00:00
Nathan Gray
28d4ebe407 Event display:
- Always respect granularity in multiweek view, number of users selected doesn't matter
- Reduce multiweek options to 2 or 3
- Fix start of day positioning when there are several all day non-blocking events
- Try to work with CSS transitions and sizes a little better
2015-11-12 01:01:21 +00:00
Nathan Gray
cfb341137f Replace accidentally removed deleted filter 2015-11-11 16:44:11 +00:00
Nathan Gray
3209a6671c Show error message when trying to get calendars with no access. 2015-11-10 23:31:55 +00:00
Nathan Gray
fff964f307 Better handling of drag and drop between full day and times 2015-11-10 18:35:24 +00:00
Ralf Becker
557adc4051 allow to download whole CalDAV collection as one big iCal file by adding "?checkout" to collection url 2015-11-08 12:33:35 +00:00
Nathan Gray
b4087292a8 Add toggle button for weekends 2015-11-06 00:37:23 +00:00
Nathan Gray
cc5b035d15 - Fix drag & drop breaks when changing to another application tab
- Fix wrong ajax method called to move infologs
2015-11-05 20:56:13 +00:00
Ralf Becker
aa7666baac remove old zpush (1) support and refactored backend (autoloadable name, moved interfaced to separate file 2015-11-05 13:23:00 +00:00
Nathan Gray
547338d14c Remove year view 2015-11-04 15:12:58 +00:00