Commit Graph

91 Commits

Author SHA1 Message Date
nathangray
495d67d5d0 Testing max & min on date widget 2017-08-28 11:44:30 -06:00
nathangray
61dc75621d Etemplate simple date widget tests 2017-08-25 10:11:41 -06:00
nathangray
b0cd55f0b6 Some more Etemplate tests 2017-08-24 08:48:07 -06:00
nathangray
97543138f8 Some test documentation 2017-08-24 08:48:07 -06:00
nathangray
997c2fd1d5 Add simple tests for textbox widget 2017-08-24 08:48:07 -06:00
Hadi Nategh
1fc4f79850 Revert commit 8340520589 and implement the fix in more sane way 2017-06-14 14:52:31 +02:00
Hadi Nategh
11c03702dd Implement sub_app attribute for customfields widget, in order to be able to store sub-app's specific customfields 2017-06-07 17:54:09 +02:00
nathangray
75124d097b PHP v5.4 syntax 2017-04-21 15:04:24 -06:00
nathangray
f60461eb9f PHP v5.4 syntax 2017-04-21 12:33:27 -06:00
nathangray
9d1756e5d9 Basic Etemplate testing
Some simple exec / process round-trip tests
2017-04-21 12:17:59 -06:00
Hadi Nategh
848535874e Set children of readonly tab to disabled to avoid server side validation error 2017-04-20 18:33:52 +02:00
Hadi Nategh
7b810b57f3 Adopt taglist server side accordingly regarding domainOptional attribute 2017-04-19 16:40:20 +02:00
nathangray
8d7a9b7284 Move VFS widget file handling from Etemplate/Widget/Customfields to Storage/Customfields, to avoid errors with CalDAV/CardDAV not being able to find Etemplate/Widget/Customfields 2017-04-17 09:48:45 -06:00
nathangray
944718daaa Some more tests of basic Etemplate stuff 2017-04-17 08:30:24 -06:00
nathangray
bcd86f7ae9 Fix bug where some elements would not be returned if a child of a later sibling was the same type 2017-04-17 08:30:24 -06:00
nathangray
d5c24a2c8e Thumbnails (and handling) of uploaded files on new entries that have not yet been saved 2017-04-10 10:39:04 -06:00
nathangray
ee62801ace W.I.P. Some more Etemplate testing stuff 2017-04-10 08:12:17 -06:00
nathangray
6f13a9caa9 Test some core Widget functions 2017-04-05 10:10:08 -06:00
nathangray
319d217a3e Some test adjustments to make things a little smoother, and prepare for some widget tests 2017-04-04 10:31:30 -06:00
Ralf Becker
dfbd0d2e6f do NOT store actions in session or eT2 request, nor send for mobile devices skiped actions 2017-04-04 16:54:36 +02:00
Ralf Becker
4f9e14fcc6 never storing rows in Etemplate\Request and by that keeping apps from storing it as state into the session 2017-04-04 15:04:44 +02:00
nathangray
71ffd661ac Make sure to always call typeOptions() with a string
(to satisfy Scrutenizer)
2017-01-31 08:41:22 -07:00
Ralf Becker
5bf8630620 allow to additionally use just a name for which content array contains a path to upload pictures 2017-01-31 10:16:16 +01:00
Ralf Becker
388bffc48b * All apps: fix random failure in drag-n-drop or pasting images into CKEditor eg. mail compose 2017-01-27 17:38:08 +01:00
Hadi Nategh
acdf079fb1 * Etemplate: Fix error "Etemplate\Api\Auth not found" happening while to login 2017-01-05 14:59:20 +01:00
Ralf Becker
6d472b1592 use openssl_random_pseudo_bytes, if available, to generate etemplate_exec_id, as it is used for CSRF protection too 2016-11-17 11:09:30 +01:00
nathangray
a15aa412e2 Attempt to fix redirects to invalid /index.php 2016-11-16 09:20:03 -07:00
nathangray
8ecc188fd7 Customfields required bugs
- Load attributes from modifications array, were previously ignored
- Remove double required check, actual field widget should handle it
2016-11-07 09:22:33 -07:00
Ralf Becker
e989d079d6 removing server-side validation of non-ascii in local part of email, because \x80-\xff gives and invalid utf-8 compilation error in preg_match with /u modifier 2016-10-20 15:21:40 +02:00
Ralf Becker
ab79e193ec * Mail: show validation error if local part (before @) of email-address contains non-ascii chars 2016-10-20 12:29:56 +02:00
Ralf Becker
c2d1fe6d50 only check vfs for templates, if /etemplates is mounted 2016-10-19 16:44:04 +02:00
nathangray
fa8f53e6d4 Fix VFS ajax uploads did not work if path needed expansion 2016-10-05 16:13:31 -06:00
nathangray
3da08fa7a1 Make sure category data is an array before looking inside it, avoids warning if it is not 2016-10-03 09:58:59 -06:00
Ralf Becker
d99a283929 fix old class names in docu 2016-09-26 09:27:52 +02:00
nathangray
c2bd221ae0 Silence debug error log 2016-09-13 08:07:52 -06:00
nathangray
7afd7e420b Better version of optgroup fix to still allow additional data (title, color) in option entries 2016-09-12 10:42:12 -06:00
nathangray
dee0caa875 Fix validation of select values in an optgroup always failed 2016-09-12 08:40:48 -06:00
nathangray
4dcb415f44 Try to fix redirects from AJAX calls to static methods 2016-09-09 10:27:33 -06:00
Hadi Nategh
aff9f0eba8 Fix Ctrl+A in context menu does not get translated 2016-09-09 12:54:52 +02:00
Ralf Becker
ef5b160fdd fix for PHP Warning: Illegal string offset 'to_id' in api/src/Etemplate/Widget/Link.php on line 327 2016-08-29 13:50:13 +02:00
Ralf Becker
c474df28fb fix Scrutinizer bug: Api\Etemplate\Exception does not exist (missing \Exception) and remove old non-static stuff from Api\Etemplate\Widget::setElementAttribute(), as $this is allways unset for methods declared static 2016-08-28 12:51:19 +02:00
Ralf Becker
54bfaeb988 fix Scrutinizer docu bug: Api\Etemplate\Request\Files::__construct($id) $id is not array but string|null 2016-08-28 12:51:19 +02:00
Ralf Becker
8d2d4ef3dd fix Scrutinizer docu bug: Api\Etemplate\Request\Files::__construct($id) $id is not array but string|null 2016-08-28 12:51:19 +02:00
nathangray
73dbaa0dfb Preserve link order set by application 2016-08-17 10:52:45 -06:00
Ralf Becker
94bc949cfa * All apps: symlink files to not yet saved entries were not working 2016-08-17 16:05:26 +02:00
Ralf Becker
a8e1980a15 * Addresssbook: fixed category tree looses unavailable categories (eg. private categories of other users) 2016-08-15 18:22:38 +02:00
Ralf Becker
780d35c096 add not yet detected unicode in name-part of email, like "zero width space" 2016-08-12 11:22:56 +02:00
Ralf Becker
4315999573 use Etemplate\Widget::registerWidget, not some third class extended from Etemplate\Widget, as that might screw up autoloading if it happes to create a circle 2016-08-09 10:11:29 +02:00
nathangray
3b1ce04608 Avoid a Illegal string offset warning from link-entry widgets when they have only-app attribute set
Happened on infologs added from projectmanager element list
2016-07-21 12:51:32 -06:00
Ralf Becker
22b62aa168 fix Scrutinizer "bugs" 2016-07-02 11:57:26 +02:00