Commit Graph

1126 Commits

Author SHA1 Message Date
Ralf Becker
9937f44e5a "- using exceptions instead of die with function_backtrace --> gives nicer traces (specially with ajax)
- fixed typo in get_array"
2009-03-30 16:34:04 +00:00
Ralf Becker
2e4577ae83 skipping unnecessary redirect by directly displaying index-method link in navbar 2009-03-30 08:48:59 +00:00
Ralf Becker
7caeef71fd "Do NOT trim decrypted string, as it contains binary data (it is compressed) and can be demaged by that.
This might be a problem if a mcrypt alogrithm is used, that pad decrypted strings with \"\0\". (I tried rtrim($str,\"\0\"), but that still failed)"
2009-03-27 15:35:54 +00:00
Ralf Becker
4cbbbc3892 "upps" 2009-03-26 14:38:37 +00:00
Ralf Becker
4311a66215 "improved csv-export:
- use options to export values of select boxes
- use strtotime on not-numerical date or time values
- use specified number formats for int and float"
2009-03-26 14:25:41 +00:00
Ralf Becker
019dd988c8 fixed TranslationTools problem in trunk, caused by old copy of
solangfile in etemplate.
--> moved that now completely to etemplate
(Also updated the docu of TT a bit)
2009-03-20 09:02:41 +00:00
Ralf Becker
55d2aaa3ee Implemented symlinks for eGW's VFS:
- sqlfs can store now symlinks (implements symlink and readlink)
- vfs resolves symlinks before calling a mounted stream-wrapper
--> symlinks can be between different mount-points
- filemanger can create symlinks and follows them
- etemplate vfs_widget displays symlinks (to be improved)
Happy testing :-)
2009-03-19 20:12:35 +00:00
Ralf Becker
52db44fb83 make boetemplate::store_to_cache public (static) to call it from xul_io 2009-03-19 12:06:49 +00:00
Ralf Becker
85a93987a9 "etemplate_request class to store the request data in the filesystem
need to be explicitly enabled by setting: etemplate_request::$request_class = 'etemplate_request_files';"
2009-03-16 13:43:16 +00:00
Ralf Becker
486a32e86d Refractured eTemplate to use:
- the etemplate_request object which stores the request data in the
  a) session (as before) or
  b) compressed and encrypted in the form transmitted to the user
  Benefit of b) is that the session does not grow and the form can
  be submitted as long as the session exists, as we need no garbadge
  collection. Of cause more data needs to be submitt between
  browser and webserver. b) is choosen automatic if mcrypt and
  gzcompress are available, but can be turned off via setting
  etemplate_request::$request_class = 'etemplate_request_session';
- static class variables instead of the before used global ones
--> This new version of eTemplate is fully backward compatible with 1.6!
2009-03-16 12:58:24 +00:00
Ralf Becker
b8f6481688 not longer used 2009-03-15 15:08:21 +00:00
Ralf Becker
df134f3588 "removed prefered phone marker \"♥\" from url, causing 9829 to be appended to the phone-number otherwise" 2009-03-12 11:41:58 +00:00
Ralf Becker
f61ffc2e5e allow to pass $extra_cols parameter from get_rows to search 2009-03-11 12:14:15 +00:00
Ralf Becker
10e7a6ba21 "get default for query parameter of 'link-entry' working again and documented it (stoped working with patch fromRegis Leroy) " 2009-03-07 11:05:59 +00:00
Ralf Becker
8abb78f918 "small change on the upload to be still able to detect failed uploads caused by to small upload_max_filesize
--> !empty($file['name]) && empty($file['tmp_name'])"
2009-02-26 14:42:50 +00:00
Ralf Becker
a5a28ad708 Enhanced file upload to allow user to upload multiple files by appending
[] to the name of the widget, eg. "upload[]". In that case attaching a
file adds an other file upload via javascript direct under the current
upload and etemplate returns an array of files (each with keys
'tmp_name', 'name', etc.).
2009-02-26 13:51:25 +00:00
Ralf Becker
684ad891b8 "fixed wrong template-name in export, if name contains variables" 2009-02-25 15:55:53 +00:00
Ralf Becker
a80c2f92c8 "vfs-mime: fixed empty filename always showed directory logo, now empty filename shows an empty cell" 2009-02-25 15:54:24 +00:00
Ralf Becker
587a3b92bc automatic fix / pad 0 based arrays with the required number of false
values, to match the number of header lines in the rows template
--> allows to customize the template (number of header lines) without
the need to patch the code
(fixed pm's element list with uses 2 header lines, but required exactly
one pad done by the old code)
2009-02-24 07:42:12 +00:00
Ralf Becker
bdcb10ea2d Enable etemplate to mark rows of a grid / table as part of the header or
footer to repeat them on each printed page.
2009-02-23 13:21:28 +00:00
Ralf Becker
38aa29a852 "making process_show public again, as requested by Raphael Alla
(there was no real reason to make it private, beside hiding it from public interfaces, as I thought noone else is using it)"
2009-02-16 08:36:56 +00:00
Nathan Gray
346f749219 Improve readonly handling when a link is specified 2009-02-04 17:17:40 +00:00
Klaus Leithoff
964e28a3d8 adapting regex for emailvalidation to accept single letter subdomains 2009-02-04 07:57:30 +00:00
Ralf Becker
3b962e7064 Allow to set an explicit name for a tab_widget: "tabs=one|two|three"
In the example the tab itself is named "tabs", with tabs "one", "two"
and "three". Therefore the name of the tab-widget (where the select tab
gets reported and used to disable a single tab) does no longer depend on
the available tabs. This allows for a deeper customization.
Examples on how to use it are in the next two commits: tracker and pm
2009-01-29 18:31:40 +00:00
Nathan Gray
d3d47af015 Fix bug where if there are multiple nextmatches on a page, and your default num_rows is not in the list (ex: 15), and you cause a nextmatch to submit (by changing a filter or num_rows), the num_rows of the next nextmatch to be processed will be cleared 2009-01-23 19:33:19 +00:00
Nathan Gray
4c5d771cde Don't use htmlspecialchars, it causes issues with mixed quotes. 2009-01-22 15:05:54 +00:00
Ralf Becker
1b4d236d4a New class extending so_sql handing all custom fields needs: reading,
saving, searching, ordering and filtering
Makeing a full custom field implementation like in addressbook very easy
and quick
2009-01-17 03:36:58 +00:00
Nathan Gray
db48c553ab Fix # more... line at the bottom when there are more results that are not displayed 2009-01-07 16:47:00 +00:00
Nathan Gray
9b1132c631 - Fix bug that allowed tab key to trigger the search, which made tabbing through a list very annoying.
- Allow up / down arrow keys to trigger a blank search.  Due to the above bug, many users were doing this anyway.
2009-01-05 18:09:14 +00:00
Nathan Gray
66bb41b065 Check to see if the value is a string before we try to lowercase it, strtolower() doesn't like arrays. 2008-12-09 16:02:01 +00:00
Nathan Gray
dd749ffa6e Add special handling for query values of 'false' (the string) to convert them to false (boolean) 2008-12-05 21:27:12 +00:00
Ralf Becker
340e369e04 "fixed changed constructor name" 2008-11-27 10:31:19 +00:00
Ralf Becker
d4a01c41f3 "fix not working nextmatch widget in tracker, readonly detection was uncomplete ($readonlys can be an array!)" 2008-11-17 10:41:33 +00:00
Ralf Becker
aa4d4c3d0f "fixed typo prefenting sel_options set in get_rows to be displayed" 2008-11-16 07:20:23 +00:00
Ralf Becker
343ff1d77d "fixed eTemplates garbage collection to work with new session class, and lowed timeout of not used sessions to 30min (was 1h)" 2008-11-13 17:20:53 +00:00
Ralf Becker
33d617aa8f "stop storing rows content in session by using an empty new var $rows in calling the get_rows funktion:
get_rows($value,$rows,$readonlys) instead get_rows($value,$value['rows'],$readonlys)  
because $values['rows'] as reference would be stored in the session, when apps store $query parameter in the session
"
2008-11-13 16:55:03 +00:00
Ralf Becker
d61c1af60f "dont set unneeded extension data" 2008-11-13 16:50:05 +00:00
Ralf Becker
a921812095 "only supply extension data for non-readonly widgets or if it's already set
otherwise lists store >10k unnecessary data in each etemplate-session"
2008-11-13 16:49:44 +00:00
Ralf Becker
96e773777f "dont show thumbnails of files not readable by current user" 2008-11-09 15:54:01 +00:00
Ralf Becker
d28f6f672c - fixed url recreation for links (use ? for get-params, if no ? in the
link)
- made bo_tracking abstract
- added default return null to bo_tracking::get_config and removed it
  from extensions implementing no config
- fixed signature of get_config($name,$data,$old=null)
2008-11-08 10:37:52 +00:00
Oscar Manuel Gómez Senovilla
7c3ab3ab8c tracker #1774, added estonian translation 2008-11-02 14:23:56 +00:00
Oscar Manuel Gómez Senovilla
3edee675a7 tracker #1812 2008-11-02 13:38:18 +00:00
Ralf Becker
f713c095b2 "fixed link_widget to link-entry widgets and application type custom fields working again" 2008-10-27 13:26:43 +00:00
Ralf Becker
fa6ab9b7a1 "fixed lost right align in nextmatch sort headers, if they are active" 2008-10-22 07:06:45 +00:00
Ralf Becker
e54f9ee079 Fixed encoding problems in WebDAV and vfs:
- egw_vfs::download_url as not encoding + or ' ' in pathes
- HTTP_WebDAV_Server was urldecoding $_SERVER[PATH_INFO], which is
  wrong, as it is NOT encoded
- HTTP_WebDAV_Server was NOT urlencoding the pathes in PROPFIND
  responses, causing eg. cadaver not to be able to use dirs containing
  + or space
2008-10-21 11:57:26 +00:00
Ralf Becker
a749233461 "removed call to depricated bolink class" 2008-10-21 08:08:56 +00:00
Ralf Becker
273bd722e2 fix for bug #1739: config for CSV export for non-admins is not working.
Reworked it not in the following way:
- numerical limit or total disabling (setting "no"), are only valid for
  non-admins
- addressbook has it's own value, but uses now the global one, if no
  addressbook specific limit is set
2008-10-16 11:17:49 +00:00
Oscar Manuel Gómez Senovilla
504b096e06 latest update of egw translators pending work 2008-10-15 21:11:30 +00:00
Ralf Becker
4520f9e9ce "fix from Regis Leroy to allow to set some extra query parms from the calling application" 2008-10-10 07:58:59 +00:00
Ralf Becker
bb1ed52c7f updating version and dependencies for 1.6 2008-10-07 18:04:59 +00:00