Ralf Becker
a964f2e8f2
- Allow app attribute to be specified in the template file, not just at run-time
...
- Use app attribute to fix infolog customfields in addressbook CRM view
2015-02-10 09:38:15 +00:00
Nathan Gray
dd30ac28f4
- Allow app attribute to be specified in the template file, not just at run-time
...
- Use app attribute to fix infolog customfields in addressbook CRM view
2015-02-10 00:13:31 +00:00
Hadi Nategh
4249dca91d
* All apps: Activate cross-browser autocomplete
2015-02-06 13:23:40 +00:00
Hadi Nategh
2554c30da7
Fix security error about autocomplete form happens only in FF
2015-02-04 09:40:52 +00:00
Hadi Nategh
13684d4903
Activate cross-browser autocomplete
...
- Replace et2_contianer from DIV to FORM
- Add autocomplete fixer to submit action
- Add autocomplete fixer to nextmatch search box
2015-02-03 17:42:32 +00:00
Ralf Becker
1177acd3d3
fix clicking on favorite in filemanager does not work when showing shared files (or any other view then current index-url), thought setting of favorite still fails
...
r51522: Update favorite GET fallback to use new style of favorite
2015-02-02 17:28:54 +00:00
Nathan Gray
3ec43f0421
Update favorite GET fallback to use new style of favorite
2015-02-02 17:19:20 +00:00
Hadi Nategh
59e922221c
Enhance autocomplete fixer and fixes some bugs
2015-01-27 10:52:42 +00:00
Nathan Gray
456ea984c6
Clean up debug
2015-01-26 17:35:54 +00:00
Nathan Gray
6b01a18960
Clean up debug
2015-01-26 17:30:10 +00:00
Hadi Nategh
ebab506aa9
* All Applications: Get browser autocomplete form working
2015-01-26 16:13:08 +00:00
Ralf Becker
70b603ac77
moving VFS API classes into a namespaced PSR4 autoloadable structure:
...
- PSR4 autoloader exists beside our old autloader to support old as well as new structure until everything is ported over
- moved ported API stuff from phpgwapi to new api directory (idea is phpgwapi become a compatibility layer for old code, while we only port selected stuff to new api directory)
- namespaces use prefix "EGroupware", then (first letter capitalised) app-name or "Api", sub-system names like "Vfs" or for apps "Ui", "Bo, "So" and at least class name starting with a capital letter and without understores eg. "StreamWrapper" plus just ".php"
- examples:
+ egw_vfs in phpgwapi/inc/class.egw_vfs.inc.php --> EGroupware\Api\Vfs in api/src/Vfs.php
+ sqlfs_stream_wrapper in phpgwapi/inc/class.sqlfs_stream_wrapper.inc.php --> EGroupware\Api\Vfs\Sqlfs\StreamWrapper in api/src/Vfs/Sqlfs/StreamWrapper.php
+ sqlfs_utils in phpgwapi/inc/class.sqlfs_utils.inc.php --> EGroupware\Api\Vfs\Sqlfs\Utils in api/src/Vfs/Sqlfs/Utils.php
- api directory is no a new svn module but exists (like home) as sub-directory under base egroupware module
2015-01-26 09:15:07 +00:00
Nathan Gray
d633ce970a
Don't try to transform missing templates, it doesn't end well.
2015-01-16 18:10:30 +00:00
Hadi Nategh
f8e9911743
Serach js files for new phrases for translation
2015-01-15 14:56:23 +00:00
Nathan Gray
06abca167d
If a widget is transformed into a template, try to load and process that template too.
2015-01-14 20:10:34 +00:00
Ralf Becker
86eba3f137
for nextmatch filters we need to encode global nextmatch definition too
2015-01-12 14:10:40 +00:00
Ralf Becker
f15a37f368
always run fix_encoded_options to cope with customfields of type select got resorted by Firefox
2015-01-12 12:53:50 +00:00
Ralf Becker
60f67bfff8
* all apps: preserving for current user unavailable categories (eg. private categories of other user) when editing entries
2014-12-17 13:58:15 +00:00
Nathan Gray
da3d0d23c4
- Use link registry to open notification links
...
- Fix mark all notifications as read on popup close
2014-12-15 19:09:22 +00:00
Hadi Nategh
81cc0f35f7
Convert ambiguous column to tablename.column name
2014-12-15 16:57:45 +00:00
Nathan Gray
afcad4b50f
Set value to a new location using a prefix to avoid changing the original, should fix contact-templates
2014-12-10 00:07:23 +00:00
Ralf Becker
9b5c68f743
hidden widget to transport content from server to client and back, thought server to client could easier be done by accessing content via content array manager
2014-12-05 08:59:51 +00:00
Ralf Becker
ecc9dece92
throw an exceptin with a more maningful message if a template does not contain a template tag with an id attribute matching template name, eg. it was forgotten to rename when customizing
2014-12-04 15:51:59 +00:00
Ralf Becker
cf9326391c
document tooltip name "hint" for actions
2014-12-04 09:19:03 +00:00
Nathan Gray
681566471a
Accept and process commands even if they're right at the beginning.
...
Fixes bug where commands at the start of content were not processed.
2014-12-03 19:58:59 +00:00
Ralf Becker
597e9b82ae
remove no longer necessary resize from (old) eTemplate, as it is done now by egw.js for all popups
2014-12-03 07:34:30 +00:00
Ralf Becker
f7610cd6d6
do not validate vfs-widgets not returning a value, as it overwrites preserved values with null
2014-12-02 19:17:03 +00:00
Ralf Becker
8a9657541d
moving egw_openWindowCentered() to egw(window).openPopup()
2014-12-01 10:45:24 +00:00
Hadi Nategh
7f4f340efd
Missing code from commit r49612
2014-11-27 17:31:03 +00:00
Ralf Becker
674fd0736a
fix PHP Fatal error: Access to undeclared static property: customfields_widget::$non_printable_fields
2014-11-19 13:24:12 +00:00
Ralf Becker
7bfa13728d
class var to enable/disable memory_usage reporting to error_log
2014-11-19 12:57:31 +00:00
Ralf Becker
c633e0033b
* all aps: lower memory requirements of insert into document by skipping HTML processing, if there are no html (custom-)fields
2014-11-19 12:20:59 +00:00
Ralf Becker
ca7bdb66a3
fix error introduced by previous commit
2014-11-19 09:22:52 +00:00
Ralf Becker
b10cf0a295
quiten permanent error_log on disabled cells and fixed IDE warnings
2014-11-19 08:53:17 +00:00
Ralf Becker
5eeac7093c
use filemanager UI as UI for sharing directories
2014-11-18 12:55:32 +00:00
Ralf Becker
be66f13885
fix unknown modifier "n" warning caused by a "/" in replacement
2014-11-18 12:28:20 +00:00
Ralf Becker
08ab6679d2
try to increase/double prce.backtrack_limit no failure to preg_replace up to 1/4 of memory_limit
...
previous code was adding max 10 time 10000 to default limit of 1000000, which increased it by 10% max, given we have now a default memory_limit of 128M
2014-11-14 19:08:18 +00:00
Ralf Becker
8f713fe2f1
fix fatal error if customfields contains widget with no validation method --> nothing to validate / return
2014-11-13 09:28:22 +00:00
Ralf Becker
1c6524cf0b
remove upper limit of number of characters at last domain-part to allow new domain-names like .hamburg
2014-10-30 13:20:04 +00:00
Ralf Becker
93bc0feb16
* Filemanager: fix since PHP 5.5.18 not longer working non-ascii chars in filenames, eg. German umlauts or accents
2014-10-18 12:17:17 +00:00
Nathan Gray
f099800b62
Prevent empty options being sent when selectbox is in a row.
...
Fixes unwanted numeric options in auto-repeat rows.
2014-10-14 16:43:47 +00:00
Ralf Becker
a1e444fdfd
fix non-fatal PHP Parse error, when $j was used eg. in onload
2014-10-13 12:21:53 +00:00
Ralf Becker
55e931871e
mtime postfix for WebDAV has to use "?download=", as our WebDAV treats everything else literal
2014-10-13 12:15:30 +00:00
Ralf Becker
178bca7f7a
fix redirect loop initiated eg. by saving a mail, caused by document.location=url triggering etemplate unload handler and destroying et2 request, identical redirect url detected by jdots framework causes refresh via nextmatch --> next redirect
2014-10-08 20:02:59 +00:00
Ralf Becker
fcd03a54c8
refactored code to always run Nathans fix (before it was only run for ajax requests, not for initial request)
2014-10-08 12:16:13 +00:00
Ralf Becker
3edc0f3080
revert r48945, as it break for some conditions
2014-10-08 09:07:01 +00:00
Nathan Gray
7111e0bb83
Change email regex to allow email addresses of the form "Ralf Becker <rb@stylite.de"
2014-10-07 22:27:27 +00:00
Nathan Gray
26261e080d
Fix bad logic breaking historylog
2014-10-07 20:47:54 +00:00
Ralf Becker
cf96d4e82d
do not convert empty values, otherwise we will get current date or 1970-01-01 instead
2014-10-07 10:19:21 +00:00
Nathan Gray
aeefd2823a
Use a client-side setDetachedAttributes() to do needed data changes for dates.
2014-10-06 20:43:46 +00:00
Ralf Becker
11fefa28fa
remove debug stuff
2014-10-06 11:22:02 +00:00
Ralf Becker
1e4e044f5b
using a compiled list of timestamp column-names instead a regular expression, fixes duration columns like "info_used_time" get transformed too
2014-10-06 11:20:58 +00:00
Ralf Becker
aff6248300
fixed row vanishes on refresh, eg. after editing an address in an already refreshed addressbook list, caused by row_modified no longer a timestamp when it get checked in ajax_get_rows
2014-10-02 15:00:18 +00:00
Ralf Becker
e316379373
* Mail/Calendar/eTemplate2: fix timezone problems of times in grid or lists, if server_timezone differs from php.ini date.timezone
...
- for grid this is a real fix by correctly expanding names in auto-repeated rows and therefor running widgets beforeSendToClient methods
- for nextmatch is is just a hack looking at get_rows content and converting everything "looking" like a timestamp to a "Y-m-d\TH:i:s\Z" string
2014-10-01 19:10:59 +00:00
Ralf Becker
b537c3963d
fix IDE warnings
2014-10-01 19:05:33 +00:00
Nathan Gray
b1e77ca062
Add some handling to allow ID to be different from the value source by allowing the value attribute to point to the value.
2014-10-01 17:29:22 +00:00
Nathan Gray
6ee7f3f219
Basics of infolog-value and tracker-value widgets
2014-09-30 22:08:57 +00:00
Nathan Gray
aa6c36ba3f
Work on app-entry widgets (contact-value)
2014-09-30 21:37:45 +00:00
Ralf Becker
3e12e8f2f9
* Preferences: opening forced preferences set selectboxes for not set values to first real value not "Users Choice"
...
caused by etemplate_widget_menupopup not being run, it is now run by etemplate_new::exec / etemplate_new::fix_sel_options for everything in sel_options
2014-09-30 14:27:29 +00:00
Nathan Gray
88a6114c0a
Look for old widgets that were adapted to etemplate2 but still follow old name scheme
2014-09-25 18:30:32 +00:00
Ralf Becker
fad57f202b
using egw_json_response::json_encode() for GET requests too, to work agains empty windows caused eg. by wrong encoding
2014-09-10 18:25:36 +00:00
Ralf Becker
9e60cadb70
fixed date client/server protocol to always just append "Z" after seconds, so apps can compare date values
2014-09-10 10:22:55 +00:00
Ralf Becker
837a84b330
fixed IE 11 names almost all files "blob"
2014-09-09 16:30:00 +00:00
Ralf Becker
c73cc6b398
fixing the fix: now cat_id=1 got not lost with a 2nd default option set in addressbook (0=None)
2014-09-09 14:11:42 +00:00
Ralf Becker
8ecaac7dde
fixed category with cat_id=1 got lost in addressbook
2014-09-09 13:13:27 +00:00
Ralf Becker
b1f0448b6d
fixed advanced search was always filtering by first option of custom-fields of type select or select-*
2014-09-09 08:36:34 +00:00
Nathan Gray
ff327c30fe
Limit link search to 1000 results
2014-09-08 19:15:01 +00:00
Nathan Gray
7f291a17a6
Fix missed case of 'really need it'. See SVN r47435.
2014-09-08 18:23:34 +00:00
Ralf Becker
88a111b2c5
fixed storing same password twice in admin makes account unusable:
...
caused by tabs and callbacks added multiple times and therefor passwords beforeSendToClient method was called twice causing password to be replaced with asterisks
2014-09-06 10:00:42 +00:00
Ralf Becker
9e71712e2f
fix indention
2014-09-04 08:27:45 +00:00
Ralf Becker
d50ccc9c21
fixed not working custom date filter
2014-09-02 16:26:37 +00:00
Ralf Becker
757a741d99
* Tracker/eTemplate: user could not empty CC field (taglist-email)
2014-09-02 12:22:31 +00:00
Klaus Leithoff
a1bf9c0d9b
allow to empty the taglist (even provided prior content is part of the preserve array), by returning null upon validation when array is empty
2014-09-02 11:39:23 +00:00
Nathan Gray
ff29be3197
Fix history log widget no longer working
2014-08-27 17:13:38 +00:00
Nathan Gray
55ae503923
Even more date fixes:
...
- Don't send a date (just 1970-01-01) with timeonly values
- Avoid infinite loop when setting timeonly with timepicker
2014-08-25 19:33:35 +00:00
Nathan Gray
60b02ccb4b
- validate filters when getting rows
...
- run method (beforeSendToClient, validate) needs to include all sub-templates (header_left, header_right, header_row, template) or those widgets get left out.
2014-08-25 17:28:00 +00:00
Nathan Gray
ec1471c6d2
Another attempt at resolving the browser timezone issue
2014-08-19 21:22:26 +00:00
Nathan Gray
1e5ea67595
Fix unable to have checkboxes with an unselected value that evaluates to false.
2014-08-18 17:33:43 +00:00
Nathan Gray
5b91e871de
Deal with languages helpfully adding timezones into timestamps
...
Fixes random (12, 6, 7) hours sometimes added to dates
2014-08-18 16:47:27 +00:00
Nathan Gray
f6bca11f4f
Add an additional format to parse times in the formatY-m-dTH Ⓜ️ s for insertion into spreadsheets, fixes warning when merge printing "Unable to parse date ... left as text"
2014-08-12 23:19:39 +00:00
Nathan Gray
4944b1a1fb
Fix double encoded & in merge functions
2014-08-12 17:48:47 +00:00
Nathan Gray
694a63d1f4
Indicate merge class to use for mail, fixes infolog placeholders not known
2014-08-12 16:58:07 +00:00
Nathan Gray
0fa3ad831b
Fix no longer working 'None' category option
2014-08-11 22:50:38 +00:00
Ralf Becker
672297df94
fix for somehow empty etemplate request content, giving an error when (or after) sending mail
2014-08-11 15:12:34 +00:00
Hadi Nategh
6689ca64f7
SelectAccount with type "none" should get sel_options but it should be readonly if user has no admin access. Fix infolog delegation for admin users with selectAccount type "none" selected
2014-07-29 17:39:35 +00:00
Nathan Gray
8a70df4df8
Handle num_rows set by application:
...
- Don't overwrite num_rows setting if the application sets it for some reason
- If num_rows is 0, don't get the initial rows server side
- If num_rows is 0 and the initial rows are missing, trigger an update right away to get them asyncronously.
2014-07-28 21:00:39 +00:00
Hadi Nategh
40aa20eaa2
As we replace spaces with + for those account ids which contain spaces, therefore we need to do the same for getting request-id too.
2014-07-28 15:29:49 +00:00
Ralf Becker
1266aeb52a
quiten permanennt error_log in etemplate_widget::run, if widget is disabled, and therefore not running
2014-07-24 09:38:55 +00:00
Nathan Gray
8f0513c99e
Don't clear children if tabs attribute not provided
2014-07-22 21:33:41 +00:00
Nathan Gray
101eee1e1c
Extend run() method for tabs:
...
- Apply additional tabs once in run() before applying the method, instead of in each method
- Apply tab readonlys to disable tabs, so they can be skipped
2014-07-22 21:26:03 +00:00
Nathan Gray
bd41288788
- Add special handling for ids like something[{$row}] to only send select options once
...
- Don't need to process or send options for account, it is done client side now.
2014-07-21 16:31:10 +00:00
Ralf Becker
9712e625db
* Admin/API: remove no longer fully supported method to not "store session-id in cookie", it is the safer default anyway
2014-07-18 10:02:51 +00:00
Ralf Becker
4fc6102162
removed not used setting of application via GET parameter
2014-07-18 08:48:37 +00:00
Ralf Becker
f49bbab26f
fix an other CSP error, caused by json-responses send eg. from get_rows method on a GET request, filemanager opened in iframe from tracker
2014-07-17 17:26:00 +00:00
Klaus Leithoff
0aa84dbaa1
use self::get_id on multiple selects and radio AND regard its output-format
2014-07-17 12:39:20 +00:00
Ralf Becker
9fa607c3bd
fixed problems reported by LFRZ
2014-07-16 12:18:04 +00:00
Nathan Gray
67390bbcfa
Add HTML5 drag support for Chrome for all files in link lists
2014-07-14 22:34:55 +00:00
Nathan Gray
94b726f883
Don't remove request from POSTs, etemplate is still active client side.
...
Fixes etemplates stop working after downloading a file (merge print, zip, etc.)
2014-07-14 12:03:04 +00:00
Ralf Becker
c54e53d405
fixed PHP Strict Standards: Declaration of etemplate_widget_*::set_attrs() should be compatible with etemplate_widget::set_attrs()
2014-07-14 10:02:47 +00:00
Ralf Becker
2a6168a1c2
* Addressbook: fixed sorting of category tree
...
fixes not displayed cat-tree and validation error introduced with r47575
2014-07-09 11:18:47 +00:00