Ralf Becker
79040d1524
disable warnings under PHP 8 for now, as the hide fatal errors and log errors in xet files
2021-03-31 11:30:34 +02:00
Ralf Becker
ab9c089f70
fix PHP 8 Fatal error Array and string offset access syntax with curly braces is no longer supported
2021-03-21 21:13:07 +01:00
Ralf Becker
e54aebebca
xml tags must not include undeclared namespaces like: <link-entry:infolog
...
Reinstating "throw an exception on XML errors in eTemplates for easier fixing"
This reverts commit 18b7d9311c
.
2021-02-16 21:52:40 +02:00
nathangray
18b7d9311c
Revert "throw an exception on XML errors in eTemplates for easier fixing"
...
This reverts commit 81b4737710
.
2021-02-16 11:39:38 -07:00
Ralf Becker
81b4737710
throw an exception on XML errors in eTemplates for easier fixing
2021-02-16 17:38:47 +02:00
nathangray
98d5e86121
Avoid some warnings
2021-02-05 08:57:48 -07:00
nathangray
be9fcea5c5
Etemplate: Make sure all attributes get expanded
2021-02-04 14:48:22 -07:00
nathangray
0a95588642
Preference needs this to not get changed here, otherwise validation doesn't find what it needs
2020-12-22 11:54:31 -07:00
nathangray
8910983c8e
Etemplate: Fix for some attributes not getting set
2020-12-17 09:17:38 -07:00
nathangray
6f7c939d8b
Etemplate - avoid warning from method_exists if method is a callable
2019-07-11 11:25:30 -06:00
Ralf Becker
b6bbe8c681
trying to fix not working HtmlArea / TinyMCE in 19.1
...
seems it's caused by - for what ever reason - caching the wrong class for "htmlarea" widget
2019-07-08 10:09:01 +02:00
Ralf Becker
fa8ee606b3
WIP admin history: using eTemplate tree instead of regexp to parse labels and selectbox values
2019-03-19 15:34:44 +01:00
Hadi Nategh
e52f3493f1
Prevent select widget from loading when running setup-cli. Fixes travis failure.
2018-12-14 11:15:28 +01:00
Hadi Nategh
40fe3c0ce2
Try fixing loading order by explicitly select widget to load first
2018-12-14 10:43:59 +01:00
Ralf Becker
180c07e23c
fix PHP Warning: A non-numeric value encountered
2018-10-19 09:46:30 +02:00
Ralf Becker
5ceabc8e96
fix parsing of boolean attributes:
...
- no defaults for disabled/readonly as it defaults depend on readonlys[__ALL__] is set or not
- only cast value to boolean, if it does not contain a variable eg. "!@no_something"
2018-09-17 11:16:38 +02:00
Ralf Becker
e483ec4957
automatic cast and defaults for boolean attributes
...
Not all attributes are implemented, as many dont play any role on server-side.
Fixes taglist-account multiple="false" returns array(<selected id>)
2018-09-13 14:57:50 +02:00
nathangray
9e6ecce1d0
Move tests into app/tests subdirectory (not app/inc/test or app/test)
2017-10-18 18:30:54 +02:00
nathangray
b0cd55f0b6
Some more Etemplate tests
2017-08-24 08:48:07 -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
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
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
e87cbc4832
use static Hooks methods
2016-05-11 18:58:10 +00:00
Ralf Becker
3f3973af51
only scanning widget directory, not parent
2016-03-22 10:21:13 +00:00
Nathan Gray
e214a7153c
Break out Nextmatch sub-widgets into their own files, and make sure sub widgets can get autoloaded.
2016-03-21 18:40:43 +00:00
Nathan Gray
9905a3f6bd
Cache widget registry for an hour.
...
Fixes historylog not loading entries.
2016-03-21 17:08:17 +00:00
Ralf Becker
52a7f2198a
move egw_json_(request|response|push) to api
2016-03-20 13:02:55 +00:00
Ralf Becker
31b4e66690
fix not working changing of preferences, caused by missing reference operator in expand_widget
2016-03-20 11:14:06 +00:00
Ralf Becker
2f4c727f9d
moving eT2 server-side to api
2016-03-19 13:06:07 +00:00