Commit Graph

184 Commits

Author SHA1 Message Date
Nathan Gray
951f2b1a08 Attempt to set permissions for automatically created categories. 2011-04-14 16:57:49 +00:00
Nathan Gray
e61bb1abf7 Make sure lookups is initialized to an array 2011-04-13 14:32:45 +00:00
Nathan Gray
3333d18fae Avoid warning from array_shift() if egw_link::delete_attached() doesn't return an array 2011-04-13 14:16:05 +00:00
Nathan Gray
d204c688c8 Strip HTML tags from long description 2011-04-05 23:36:40 +00:00
Nathan Gray
1c4101575c Fix typo in error messages 2011-04-04 19:07:23 +00:00
Nathan Gray
fa8bf4218e Use automatic processing for human friendly values 2011-04-04 19:07:06 +00:00
Nathan Gray
b8c35b954f Default selection to search results 2011-03-28 22:10:59 +00:00
Nathan Gray
01fa7e080a Rename ID field to Resource ID to deal with Excel issue 2011-03-28 17:03:53 +00:00
Nathan Gray
e5bb02d799 Add preferences so default export definition can be set 2011-03-28 15:37:26 +00:00
Nathan Gray
0abd9582cd Update with some best practices:
- Change backend to use so_sql_cf to get custom fields into nextmatch
- Change file names to resources_*
- Fix missing category filter when returning from viewing accessories
2011-03-23 15:25:59 +00:00
Nathan Gray
31fd9eddc6 Fix for import / update search for existing record. If new record key (ex ID) was not set, search matched all 2011-03-21 23:05:26 +00:00
Nathan Gray
2d7a2c5d32 Automatically handle converting+adding text categories without explicit translation 2011-03-09 18:25:22 +00:00
Nathan Gray
bf2155634d * Add protection against inaccessable resources when their category is removed
Resources will be moved to the parent category, default category from setup, or an admin only 'No category'.  
Resources' ACL requires a category
2011-01-07 22:31:59 +00:00
Nathan Gray
852497c4f6 Implode arrays when not exporting human-friendly values so they don't say 'Array' 2010-12-10 22:56:02 +00:00
Nathan Gray
fd93d0579a Load custom field values, if needed 2010-11-23 18:27:14 +00:00
Nathan Gray
9c25a8c6d9 Respect convert to human friendly values option 2010-11-22 23:49:40 +00:00
Nathan Gray
1ddd40f94b Add importexport support 2010-11-15 20:14:50 +00:00
Klaus Leithoff
0aaf531ec7 resources: allow to retrieve the elements of the resources sidebox calendar elements only and not as full html 2010-10-13 07:15:09 +00:00
Klaus Leithoff
ea6ad0129a check the cat filter. If you have no read rights for any cats (and with that resources) set the cat-filter to null. As cat_id is enforced for resources by UI, you should not ret any results, which is expected if you have no read rights. 2010-07-08 15:01:40 +00:00
Ralf Becker
0b417cf339 fixed not working resource selection in calendar 2010-06-10 12:29:32 +00:00
Ralf Becker
bb76ce8cc1 using javascript:open_window url, instead of html markup 2010-06-04 11:37:38 +00:00
Nathan Gray
4653674fa9 Define colums_to_search and use search2criteria() to get extra search functionality 2010-04-01 20:57:15 +00:00
Ralf Becker
936c636ffd display upload failed (because post_max_size of webserver exceeded) message from etemplate, could be nicer but way better then before 2010-02-05 03:34:17 +00:00
Klaus Leithoff
4e2ae9e19c fix typo? 2009-12-11 14:29:41 +00:00
Nathan Gray
4139c23ef7 Implement new link hook view_list, to be able to be taken to a list of entries 2009-12-08 23:10:06 +00:00
Nathan Gray
00a75858ea Implement options so link_query() can be limited 2009-12-08 23:09:45 +00:00
Ralf Becker
d91933ac5f "fixed IE8 problem (maybe other IE version too): can NOT select resource" 2009-11-24 11:55:10 +00:00
Ralf Becker
e98c7b8770 "fixed missing categories in \"all categories\" filter, if (sub-)categories have same names" 2009-11-06 18:47:31 +00:00
Ralf Becker
18b145fe24 "identing category levels a bit more" 2009-11-06 10:00:02 +00:00
Ralf Becker
c531f0077e - inherit ACL and admin from parent categories
+ ACL get or'ed together (you can't take away rights)
  + admins only get inherited, if there's none defined in cat
- store state of category filter for select resource popup (not
  currently used in stock EGroupware)
2009-11-05 19:37:28 +00:00
Ralf Becker
0548cf5770 - added roles to UI
- enabling again resource booking without direct booking permission
  (status is then unknown, not accepted)
2009-10-12 19:16:42 +00:00
Ralf Becker
e13a988433 "upps debug message ;-)" 2009-09-29 10:07:03 +00:00
Ralf Becker
fd7fedabaf - new method to read multiple titles with one sql query
- pre-seeding title cache from get_calendar_info()
2009-09-29 10:02:09 +00:00
Ralf Becker
84519f0575 Modernized resource selection
- optional extra columns: description, location, storage info
- using column selection and nm sort-headers
- give selectbox more space 20% now
2009-09-29 09:30:41 +00:00
Ralf Becker
bfb5eb6682 "fixed not working regular expression to hide .picture.jpg, it was hiding all attachments" 2009-09-20 09:47:48 +00:00
Ralf Becker
b928db2182 some improvments for resource selection
- if parent cat select also return children
- disable column selection and csv export
- small rework of UI (more compact and close to rest of EGw)
2009-08-10 19:50:36 +00:00
Ralf Becker
97514cd296 "make cat selection identical to etemplate stock one" 2009-08-10 19:19:10 +00:00
Ralf Becker
232252475f patch fixing many depricated functions (eg. posix regular expressions) and features, which fill up the error_log under php5.3 (and will no longer be available under php6).
Patch is mostly created by script in egroupware/doc/fix_depricated.php in separate commit.
I do NOT advice to apply this patch to a production system (it's commited to trunk!), as the automatic modified regular expressions have a good change to break something ...
2009-06-08 16:21:14 +00:00
Klaus Leithoff
0977164c37 fixed a bug connected to ralfs category patch 2009-02-25 09:00:58 +00:00
Klaus Leithoff
fd1e565e6e quitening some errors, regarding some not found calendar/link data 2009-02-20 12:52:16 +00:00
Ralf Becker
b17b108062 "using static method of config class to fetch the custom fields" 2008-10-25 05:25:52 +00:00
Klaus Leithoff
78c724b0cb fixed a bug (copy&paste error) that hindered the saving of customfields 2008-10-24 11:30:53 +00:00
Klaus Leithoff
f5b04aa513 fixing a bug related to the saving of an resource, with an own picture already attached 2008-10-24 11:04:27 +00:00
Klaus Leithoff
c42bcee466 fixed typo/extra if in switch statement 2008-10-20 14:01:43 +00:00
Ralf Becker
b7d41043ac Store pictures now like file attachments with name .picture.jpg
(they are suppressed from being displayed as regular attachment).
Thumbnails are handled via etemplates thumbnail facility.
2008-10-10 17:04:22 +00:00
Ralf Becker
6ae2813e65 patch #1624 from Regis Leroy: check resource availablity on search and config to deny resource reservation on private events, plus German translation 2008-10-10 10:24:31 +00:00
Ralf Becker
785189d884 "sort users/groups by account_display pref" 2008-08-09 04:43:31 +00:00
Ralf Becker
e22ed15774 fixing renamed classes in calendar 2008-06-12 07:49:30 +00:00
Ralf Becker
b484528188 use new vfs end egw_link class 2008-04-20 19:37:12 +00:00
Ralf Becker
d7fe53b79e removed unnecessary instancations and using static methods of html and egw_link class 2008-03-25 16:07:08 +00:00