Commit Graph

145 Commits

Author SHA1 Message Date
Nathan Gray
4648f91bb7 Calendar et2 conversion work in progress.
- Start of planner view
- Scroll moved to app.js so month works better
2015-06-25 17:44:28 +00:00
Nathan Gray
cdc3ad9a10 Fix insert into document from sidebox dropdown 2015-06-15 21:38:03 +00:00
Nathan Gray
920616e37a Calendar et2 conversion work in progress.
Context menu is enabled, but not all actions are fully implemented yet.
2015-06-10 21:51:28 +00:00
Nathan Gray
2f6c66c600 WIP on converting Calendar to etemplate2
- Weekview shows widgets now
2015-05-06 19:03:45 +00:00
Hadi Nategh
1f177aace4 Change category icon in all apps 2015-03-12 12:39:49 +00:00
Ralf Becker
de4d246726 * Calendar: speed improvments for huge calendar databases
by using time-range views instead of whole calendar and dates table
Also got old, much simpler non-union code working again, but union is still slightly quicker for huge databases (not at all for small ones!)
2015-01-19 19:32:26 +00:00
Nathan Gray
16c902196d Switch to nextmatch and edit dialog for customfield list (missed files from #49147) 2014-10-22 20:11:31 +00:00
Ralf Becker
9fa607c3bd fixed problems reported by LFRZ 2014-07-16 12:18:04 +00:00
Ralf Becker
b592a5088e fixed navigation calendar not shown for account-selection pref "none" 2014-07-01 15:26:05 +00:00
Hadi Nategh
ab3ffca7f8 Remove mime_filter to get all documents for "Insert in document" selectbox in calendar sidebox 2014-05-23 10:24:05 +00:00
Nathan Gray
3a004a2672 Add link to list of placeholders into app menu 2014-04-14 17:08:43 +00:00
Klaus Leithoff
00881d1c94 silence some warnings on mail-to-all-participants 2014-03-20 16:10:52 +00:00
Ralf Becker
346bbcd48b given all selectboxes below navigation calendar same width 2014-03-05 13:24:27 +00:00
Nathan Gray
7018d081d2 Fix missing state information 2014-02-25 17:59:22 +00:00
Hadi Nategh
68864a0683 Remove another inline-script in calendar dayView which was causing CSP violation 2014-02-24 09:48:22 +00:00
Ralf Becker
07db88276e fixed or working around javascript errors in IE11 2014-02-19 15:20:19 +00:00
Ralf Becker
f0d7751496 removed caret from group favorites, fixed prefered favorite was not show correct initialy nor updated 2014-02-12 21:51:25 +00:00
Ralf Becker
55524261dc mark calendar (sidebox) menu as open by default and fix ide warnings 2014-01-30 11:03:16 +00:00
Ralf Becker
fc18f4d1ab fix framework lost on search in Stylite/Pixelegg template 2014-01-24 11:24:14 +00:00
Ralf Becker
bc0f6950c5 fix calendar favorites by passing state for json requests via apply("app.calendar.set_state", array(state)) and checking on app.calendar.setState() if we need a redirect for listview to set owner, cat_id or filter, also fixed all IDE warnings in app.js 2014-01-24 09:47:33 +00:00
Ralf Becker
192bde119b no longer echo out message, we use egw_message/egw_refresh now 2014-01-21 15:01:06 +00:00
Hadi Nategh
8d4fc1001f Remove inline-script of flat() in calendar and move it to navigation.js, CSP concern 2014-01-10 17:31:24 +00:00
Ralf Becker
8ad1e7ed20 get navigation-calendar to use egw_link_handler too, so listview does not reload top window 2013-12-18 05:23:45 +00:00
Ralf Becker
042db5996a use egw_link_handler to stop calendar reload whole framework when switching away from listview 2013-12-13 00:09:40 +00:00
Ralf Becker
c8d6dc3c13 remove bullets from main calendar menu 2013-12-12 04:19:59 +00:00
Ralf Becker
1dc6964754 get calendar favorites working for list-view (eg. changing owner) 2013-12-12 03:42:08 +00:00
Nathan Gray
cfefedc8f7 non-et2 Favorites work in progress
Add current link shows popup with state details.
2013-12-05 23:22:54 +00:00
Ralf Becker
9cba54fb63 calendar state handling via set/getState methods in calendar app.js 2013-12-04 23:28:31 +00:00
Ralf Becker
58de54b04b prefix list-view urls with ajax=true, to open them im top window (not iframe) 2013-11-18 15:34:41 +00:00
Ralf Becker
842511b3d3 remove unneccessary scrollbars 2013-11-13 20:03:59 +00:00
Hadi Nategh
3ccfe3fb93 Add app prefix name to calendar css classes 2013-11-11 14:02:08 +00:00
Ralf Becker
aeb6ebd84c instanciate app.js object from egw.js, so non et2 apps can use it too, get et2_dialog working from app.calendar outside listview 2013-11-05 18:08:07 +00:00
Ralf Becker
6e76361736 open all sidebox admin link in admin vi admin.admin_ui.index loader 2013-10-15 16:53:43 +00:00
Ralf Becker
43e1bfcc12 switching on Content-Security-Policy: script-src 'self' 'unsafe-eval' for all templates, old non-et2 apps can call egw_framework::csp_script_src_attrs('unsafe-inline') to enable inline scripts in their scope, et2 does it for CK editor which does not support CSP currently and old etemplate does it for all apps using it 2013-10-05 13:33:28 +00:00
Ralf Becker
f8a0db06fc completly remove preferences menu from sidebox and tiled preferences index in favoir of app-sensitive entries in top-menu 2013-10-03 09:23:18 +00:00
Nathan Gray
2ea2ee2809 Open preferences in preferences tab 2013-08-13 17:39:16 +00:00
Ralf Becker
cb9c69e391 * Calendar: changed default filter for new users/instances from "all" to "default" (not showing rejected invitations) 2012-10-08 11:38:20 +00:00
Ralf Becker
74c201c714 docu fix 2012-07-15 08:01:13 +00:00
Ralf Becker
966bde0b88 fixed warning "implode(): Invalid arguments passed" 2012-06-24 06:04:44 +00:00
Ralf Becker
3e4ef81080 load wz_tooltips only if required: $GLOBALS[egw_info][flags][include_wz_tooltip] set or html::tooltip() called before calling common::egw_header(), calling header again as end of home page to allow apps to load stuff into the header (not only wz_tooltip) 2012-04-04 13:05:58 +00:00
Ralf Becker
11e6879aac * Calendar/Resources: do NOT unselect currently selected calendars when selecting a resource category, eg. to choose a meeting room 2012-01-09 21:26:41 +00:00
Ralf Becker
92dc786ebc * Calendar: showing now all open calendars in the owner-selection, not just accounts. Allows to close them from all views 2012-01-07 22:21:48 +00:00
Ralf Becker
14c36dd999 * Calendar: button to close a single calendar if multiple calendars are shown (day, week and planner view) 2012-01-05 04:12:13 +00:00
Klaus Leithoff
f616b34f58 API: introduce register_single_app_hook to be able to add or update one hook for an required app. register added/updated hooks with ->location; calendar and addressbook are using this to insert export_limit hook if not available. use app hook to fetch app specific export limit with import_export side_menu additions too 2011-09-15 16:53:20 +00:00
Klaus Leithoff
fc3fc728a4 register_hooks, without hook array, does not reregister all app hooks, so use register_all_hooks instead 2011-09-15 15:03:25 +00:00
Klaus Leithoff
d9905d3fb4 calendar/addressbook/API: introduce hook to fetch the export_limit to be applied for an app; introduce method to test if a specific hook exists for an application; fetch the export_limit via hook where appropriate 2011-09-15 14:46:56 +00:00
Klaus Leithoff
70a7026915 * merge_print/calendar: control the availability of mergeprint and csv export, if the export_limit is set to ->no<- and the user in question is not exempted from export_limit restrictions 2011-09-14 13:09:13 +00:00
Nathan Gray
275a1d3f27 Change category list links 2011-06-21 21:14:51 +00:00
Ralf Becker
65a8e4e8d3 fixed some printing stuff in calendar, printing in listview is disabled, because it is NOT working atm. 2011-06-17 15:16:40 +00:00
Ralf Becker
dbac6bf8f0 fixed fatal error using "Insert in document" dropdown in calendar sidebox 2011-06-17 13:27:45 +00:00
Ralf Becker
5dc47a9044 * Calendar: warning if user tries to move horizont further then default 1000 days and NOT start moving horizont, to allow adding events after the horizont 2011-06-14 18:33:26 +00:00
Nathan Gray
dd40662229 Allow filtering for multiple categories 2011-06-13 19:52:55 +00:00
Ralf Becker
1267d2ed60 reverted accidential commited calendar_ui (re-added old ical import) 2011-05-26 18:30:54 +00:00
Ralf Becker
547ec37257 new parameter "ical" to calendar_uforms::edit, to create a new event based on an ical 2011-05-26 18:28:41 +00:00
Nathan Gray
ab0522f774 Allow merging into files given by path 2011-05-24 14:45:27 +00:00
Nathan Gray
06626b4cfc Skip spreadsheets shown in other selectbox 2011-05-16 18:42:49 +00:00
Nathan Gray
76497460f5 Reset merge selectbox after choosing a file 2011-02-17 18:27:37 +00:00
Nathan Gray
8b1440560e - Add merge print directory to sidebox so it's available from all views
- Add day_n, yesterday, today & tomorrow tables
2011-02-15 20:35:46 +00:00
Nathan Gray
f8343aa0e3 - Add default iCal import & export
- Remove Export: & Import: from sidebox menu, use Import/Export app
2011-01-28 20:04:52 +00:00
Ralf Becker
a145fdb13f * Weeknumbers in calendar views, were wrong for week-start-day other then Monday
iso8601 defines them only for week starting Monday, so we use now the Monday to calculate the week-number, even if user prefers an other startday
2011-01-05 21:49:55 +00:00
Nathan Gray
7358243aa1 *Users can now see and restore their 'deleted' but held events, if deletion prevention is turned on. There is now a config setting to allow users to purge their own 'deleted' events. 2010-11-22 16:19:28 +00:00
Klaus Leithoff
01f7688185 allow to set/choose the view in home-view 2010-10-12 09:49:17 +00:00
Klaus Leithoff
c3fe8e2ded fix for scrollbar for searchfield in calendar sidebox for safari; provided by Chr.Fueller 2010-09-07 14:48:13 +00:00
Hans-Jürgen Tappe
a66ae024a9 Tracker #2453. Introduce a year view, which uses a fixed month / day grid and
displays the events inline (like in day / week view).
2010-07-31 07:51:52 +00:00
Klaus Leithoff
d813c7adc7 save states of calendar view to session only when we are in calendar 2010-07-16 09:00:49 +00:00
Ralf Becker
30b509e9ce reverting setting of target app, as it is unneccessary 2010-06-10 17:54:03 +00:00
Ralf Becker
3289d93605 - missing target for new button in sidebox
- adding message to opener.location.search, instead using referer (which points to toplevel frame and reloads framework)
2010-06-10 17:24:22 +00:00
Ralf Becker
3f344fd852 store whole state in prefs, so calendar displays identical view after a new login (beside the date) 2010-06-09 16:14:19 +00:00
Ralf Becker
9a32f0dc9e using relative width, works better then absolute one, giving just enough space for icon at minimal width of sidebox 2010-06-08 06:41:55 +00:00
Ralf Becker
48573b83a5 jdots adaption for calendar 2010-06-04 21:28:26 +00:00
Ralf Becker
ffc49a9ec6 fixed add link for jdots 2010-06-04 08:49:23 +00:00
Klaus Leithoff
09ea5fe114 feature to filter for only public events (no events tacked as private) 2010-04-26 07:08:23 +00:00
Ralf Becker
83884ab2c2 better understandable dialog for editing recuring events (plus missing translations) 2010-04-15 18:23:02 +00:00
Ralf Becker
928a38d5cf "fixed not working edit of recuring events on home page
(caused by curly brackets in if condition, which got interpreted as placeholdes by old Template class, removed them as they are unnecessary anyway)"
2010-04-03 13:44:28 +00:00
Nathan Gray
cb5054f2e4 Add an option to keep deleted events, only an admin can purge them 2010-03-05 20:01:44 +00:00
Jörg Lehrke
21ccdd5f28 Fix various synchronization issues (SyncML & CalDAV) 2010-02-17 13:29:28 +00:00
Ralf Becker
fad791eabd first version of a yearly planner 2010-01-15 03:53:12 +00:00
Christian Binder
fc63d67fb9 invalid the cache if saved_states get updated, otherwise changed states will not be saved correctly in some cases 2010-01-07 10:41:51 +00:00
Ralf Becker
8a9392c681 fixed problem with blanks in account_id of owner parameter 2009-12-04 10:22:33 +00:00
Christian Binder
5ce294aa5c calendar GUI classes now use centralized method in categories class to check for category permissions 2009-11-26 08:28:06 +00:00
Ralf Becker
d53b681f21 - reworked referer handling to allow calling from other apps and not
changing back to calendar
- allow to specify custom template for event edit
2009-11-25 20:16:41 +00:00
Christian Binder
8e63887331 respect category permissions in calendar gui, unified var name of categories object 2009-11-25 12:58:09 +00:00
Ralf Becker
71ef04effc added multiple week view to icons 2009-11-22 14:01:48 +00:00
Ralf Becker
55fc673dc5 - new configurable invitation ACL: Require an ACL grant to invite other
users and groups:
  * No: Every user can invite other users and groups (default and old
    behavior)
  * Groups: other users can allways be invited, only groups require an invite_grant
  * Users + groups: inviting both allways requires an invite grant
  One need to keep in mind, that setting an invitation ACL via a group,
  gives each groupmember the right to invite the group / create a group
  event. So the last option propable only works, if users manage
  invitations grants on their own, or admin only sets it in small working
  groups, where every member is allowed to invite the whole group.
  --> calendar backend code removes participants a user is not allowed
      to invite
- new "only groupevents" filter, showing only real groupenvents not
  events of groupmembers (added tooltips to explain filters)
2009-11-19 18:56:04 +00:00
Ralf Becker
91e694e79d Calendar UI improvments:
- show status of participants in border style of event
  + solid:  all participants accepted
  + dotted: all participants answered, but not all accepted
  + dashed: not all participants answered
- mark invitations (of current user, not calendar selected)
  + white background color (not category based color)
  + show blue questionmark icon in event header
2009-11-18 13:58:01 +00:00
Ralf Becker
e3c468361d "stop calendar to update prefs on each request (do it only on change)" 2009-10-12 09:34:56 +00:00
Ralf Becker
c38acb88d5 New filter for calendar based on participant status:
- Not rejected
- Accepted
- Invitations
- Tentative
- Rejected
- Owner too: display also events you own, not only ones you participate
- All incl. rejected
- Hide private infos: as usual
--> filter is stored in the user prefs (survives logouts)
--> old "show events you rejected" preference got removed
Also added a hook allowing applications supplying resources to modify
calendar search with SQL.
2009-09-29 19:58:51 +00:00
Ralf Becker
c29ab01e8d - added ability to store participant roles to calendar backend,
currently not settable via GUI, but GUI leaves them untouched
- showing quantity for resources in brackets behind resource name
- docu and formatting updates all over the place
2009-08-04 17:14:16 +00:00
Klaus Leithoff
1ac7c459c3 fix for lost owner selection in manage_states 2009-07-09 09:50:47 +00:00
Stefan Becker
78ce775f17 freebussy ACL added into calender. Now if you only give that right, you will see, that the time is blocked without a read right of user or group. But will see everything as private 2009-06-09 12:16:15 +00:00
Ralf Becker
9e3c1df37a "bugfixes for sidebox menu under prefs or admin:
- do NOT process the $_REQUEST vars
- if user changes selectboxes, go to default calendar view"
2009-04-20 15:44:24 +00:00
Christian Binder
72115c0ae4 added saving states to user prefs in calendar. the only saved state until now is owner, but this can be simply extended in future. 2008-10-07 08:57:09 +00:00
Stefan Becker
49897197c0 "hack to display the js calendar under IE 6 and PNGfix" 2008-07-24 08:48:50 +00:00
Ralf Becker
fa140e80ee "fixed not working change to planner group" 2008-06-12 08:25:57 +00:00
Ralf Becker
ef700b0061 new class naming schema 2008-06-07 17:45:33 +00:00