php-utility-classes.git
4 years agofix date and time inputs
Robert Kaiser [Thu, 23 Apr 2020 17:39:49 +0000 (19:39 +0200)]
fix date and time inputs

4 years agoadd a loadHTML5() function that ignores 'invalid' tag names when loading content
Robert Kaiser [Sun, 15 Mar 2020 23:07:02 +0000 (00:07 +0100)]
add a loadHTML5() function that ignores 'invalid' tag names when loading content

4 years agoadd functions to add a style element (should only be needed inside <head>)
Robert Kaiser [Thu, 12 Mar 2020 00:39:04 +0000 (01:39 +0100)]
add functions to add a style element (should only be needed inside <head>)

4 years agoMerge branch 'master' of linz:/srv/git/php-utility-classes
Robert Kaiser [Thu, 12 Mar 2020 00:00:00 +0000 (01:00 +0100)]
Merge branch 'master' of linz:/srv/git/php-utility-classes

4 years agosmall fixes: HTML5 charset, deprecated curly brackets, argument names
Robert Kaiser [Wed, 11 Mar 2020 23:59:54 +0000 (00:59 +0100)]
small fixes: HTML5 charset, deprecated curly brackets, argument names

4 years agodon't use curly braces for string index access
Robert Kaiser [Sun, 9 Feb 2020 21:13:29 +0000 (22:13 +0100)]
don't use curly braces for string index access

4 years agoimprove HTML for rrd pages
Robert Kaiser [Thu, 26 Dec 2019 19:36:33 +0000 (20:36 +0100)]
improve HTML for rrd pages

4 years agoadd a function to append a cloned element, return actual element from appending JS
Robert Kaiser [Thu, 26 Dec 2019 19:35:53 +0000 (20:35 +0100)]
add a function to append a cloned element, return actual element from appending JS

5 years agosupport a number of additional HTML5 form elements
Robert Kaiser [Fri, 26 Apr 2019 23:40:26 +0000 (01:40 +0200)]
support a number of additional HTML5 form elements

5 years agoallow adding a title attribute to links for convenience
Robert Kaiser [Fri, 22 Mar 2019 21:34:20 +0000 (22:34 +0100)]
allow adding a title attribute to links for convenience

6 years agoMerge branch 'master' of linz:/srv/git/php-utility-classes
Robert Kaiser [Sun, 30 Sep 2018 23:46:11 +0000 (01:46 +0200)]
Merge branch 'master' of linz:/srv/git/php-utility-classes

6 years agoadd a workaround for when imap module is missing
Robert Kaiser [Sun, 30 Sep 2018 23:46:01 +0000 (01:46 +0200)]
add a workaround for when imap module is missing

6 years agooops, revert, that's not what we want!
Robert Kaiser [Sun, 2 Sep 2018 18:26:56 +0000 (20:26 +0200)]
oops, revert, that's not what we want!

6 years agodeal with empty link value
Robert Kaiser [Sun, 2 Sep 2018 18:12:52 +0000 (20:12 +0200)]
deal with empty link value

6 years agoadd a linebreak convenience function
Robert Kaiser [Fri, 11 May 2018 19:24:17 +0000 (21:24 +0200)]
add a linebreak convenience function

6 years agoadd shorthand functions to set/add classes and set IDs on elements
Robert Kaiser [Fri, 20 Apr 2018 19:40:27 +0000 (21:40 +0200)]
add shorthand functions to set/add classes and set IDs on elements

6 years agoadd a strictmatch option to the select element functions, stay with lazy match by...
Robert Kaiser [Thu, 25 Jan 2018 21:24:59 +0000 (22:24 +0100)]
add a strictmatch option to the select element functions, stay with lazy match by default

6 years agorequire an exact match for the list entries
Robert Kaiser [Thu, 25 Jan 2018 20:52:28 +0000 (21:52 +0100)]
require an exact match for the list entries

6 years agoadd MJ12bot to tests
Robert Kaiser [Thu, 25 Jan 2018 20:51:15 +0000 (21:51 +0100)]
add MJ12bot to tests

6 years agoadd DomainCrawler to test list
Robert Kaiser [Sat, 30 Dec 2017 11:33:24 +0000 (12:33 +0100)]
add DomainCrawler to test list

6 years agoadd SemrushBot
Robert Kaiser [Thu, 14 Dec 2017 13:50:03 +0000 (14:50 +0100)]
add SemrushBot

7 years agoMerge branch 'master' of linz:/srv/git/php-utility-classes
Robert Kaiser [Sun, 16 Apr 2017 23:13:06 +0000 (01:13 +0200)]
Merge branch 'master' of linz:/srv/git/php-utility-classes

7 years agoKaiRo bug 416 - Use ss instead of netstat for connect stats
Robert Kaiser [Sun, 16 Apr 2017 23:12:56 +0000 (01:12 +0200)]
KaiRo bug 416 - Use ss instead of netstat for connect stats

7 years agoreplace workaround for HTML markup with a sane way of doing it, via loadHTML()
Robert Kaiser [Thu, 15 Dec 2016 21:59:12 +0000 (22:59 +0100)]
replace workaround for HTML markup with a sane way of doing it, via loadHTML()

7 years agosupport defer and sanc for added JS files
Robert Kaiser [Thu, 1 Dec 2016 19:14:44 +0000 (20:14 +0100)]
support defer and sanc for added JS files

7 years agoKaiRo bug 401 - Convert UA tests to using ExtendedDocument, also updating the used...
Robert Kaiser [Wed, 30 Nov 2016 22:34:02 +0000 (23:34 +0100)]
KaiRo bug 401 - Convert UA tests to using ExtendedDocument, also updating the used HTML somewhat while at it :)

7 years agoadd a quick comment on using Bugzilla instead of GitHub issues
Robert Kaiser [Tue, 29 Nov 2016 21:01:23 +0000 (22:01 +0100)]
add a quick comment on using Bugzilla instead of GitHub issues

7 years agoenable a derived class to init HTML5 to its own document class - this was needed...
Robert Kaiser [Tue, 29 Nov 2016 20:05:33 +0000 (21:05 +0100)]
enable a derived class to init HTML5 to its own document class - this was needed for KaiRo bug 402

7 years agoput clear MPL2 license headers on all files
Robert Kaiser [Tue, 29 Nov 2016 17:24:20 +0000 (18:24 +0100)]
put clear MPL2 license headers on all files

7 years agoadd a LICENSE and a README to things are all nice at GitHub :)
Robert Kaiser [Tue, 29 Nov 2016 17:14:19 +0000 (18:14 +0100)]
add a LICENSE and a README to things are all nice at GitHub :)

7 years agore-add the CSS file and rework the UA tests not to rely on outdated non-public includes
Robert Kaiser [Tue, 29 Nov 2016 16:59:55 +0000 (17:59 +0100)]
re-add the CSS file and rework the UA tests not to rely on outdated non-public includes

7 years agoCOM elements have no place in the common class
Robert Kaiser [Tue, 29 Nov 2016 16:59:01 +0000 (17:59 +0100)]
COM elements have no place in the common class

7 years agomove the files needed for the new php-utility-classes repo into new directories
Robert Kaiser [Mon, 28 Nov 2016 01:47:39 +0000 (02:47 +0100)]
move the files needed for the new php-utility-classes repo into new directories

8 years agoadd appendEntity() function to ExtendedDocument - note that it only works for *named...
Robert Kaiser [Mon, 14 Nov 2016 17:30:43 +0000 (18:30 +0100)]
add appendEntity() function to ExtendedDocument - note that it only works for *named* entities, not *numeric* ones though

8 years agoadd email input and JS script tags pointing to files, return element from appendCOMEl...
Robert Kaiser [Mon, 24 Oct 2016 01:56:00 +0000 (03:56 +0200)]
add email input and JS script tags pointing to files, return element from appendCOMElement (as doc always said)

8 years agoexplicitly mark functions as public
Robert Kaiser [Sun, 23 Oct 2016 18:25:36 +0000 (20:25 +0200)]
explicitly mark functions as public

8 years agoadd a static function that will initialize a new document as a basic HTML5 template
Robert Kaiser [Sun, 23 Oct 2016 18:22:48 +0000 (20:22 +0200)]
add a static function that will initialize a new document as a basic HTML5 template

8 years agoadd support for file input
Robert Kaiser [Thu, 6 Oct 2016 22:21:08 +0000 (00:21 +0200)]
add support for file input

8 years agoactually override createElement to support the escaping
Robert Kaiser [Sat, 1 Oct 2016 23:07:25 +0000 (01:07 +0200)]
actually override createElement to support the escaping

8 years agoadd support for number inputs to ExtendedDocument
Robert Kaiser [Thu, 29 Sep 2016 22:46:24 +0000 (00:46 +0200)]
add support for number inputs to ExtendedDocument

8 years agoadd a function for adding a form without <div> (which is fine in HTML5), and add...
Robert Kaiser [Mon, 26 Sep 2016 17:29:43 +0000 (19:29 +0200)]
add a function for adding a form without <div> (which is fine in HTML5), and add a way to add an ID to either variant of the form addition

8 years agoadding a value in createElement doesn't care for escaping but createTextNode does...
Robert Kaiser [Sun, 25 Sep 2016 16:48:58 +0000 (18:48 +0200)]
adding a value in createElement doesn't care for escaping but createTextNode does, so actually use appendText in appendElement

8 years agoignore some warnings
Robert Kaiser [Thu, 15 Sep 2016 18:50:17 +0000 (20:50 +0200)]
ignore some warnings

8 years agoonly cache the last_update value for 10 seconds, so that we can reasonably use this...
Robert Kaiser [Mon, 27 Jun 2016 16:48:48 +0000 (18:48 +0200)]
only cache the last_update value for 10 seconds, so that we can reasonably use this function to wait for updates but still don't flodd the commandline with requests

8 years agomake default fetch return the last entry and make sure we return C formatting; add...
Robert Kaiser [Sun, 26 Jun 2016 14:30:04 +0000 (16:30 +0200)]
make default fetch return the last entry and make sure we return C formatting; add recording of last alert messages and message on recovers; add alerting of btrfs cleanup needs

8 years agoprint scale factor as float number
Robert Kaiser [Thu, 23 Jun 2016 23:21:26 +0000 (01:21 +0200)]
print scale factor as float number

8 years agoadd some data fetched from RRD; make RRD fetch actually return data correctly
Robert Kaiser [Thu, 23 Jun 2016 13:48:38 +0000 (15:48 +0200)]
add some data fetched from RRD; make RRD fetch actually return data correctly

8 years agosupport Let's Encrypt in the UI as well
Robert Kaiser [Sun, 27 Mar 2016 20:16:10 +0000 (22:16 +0200)]
support Let's Encrypt in the UI as well

8 years agoupdate gitignore
Robert Kaiser [Thu, 28 Jan 2016 13:56:36 +0000 (14:56 +0100)]
update gitignore

9 years agoMerge branch 'master' of linz:/srv/git/git-kairo
Robert Kaiser [Sat, 5 Sep 2015 02:21:00 +0000 (04:21 +0200)]
Merge branch 'master' of linz:/srv/git/git-kairo

9 years agosee to get new router data recorded via SNMP
Robert Kaiser [Sat, 5 Sep 2015 02:18:28 +0000 (04:18 +0200)]
see to get new router data recorded via SNMP

9 years agoadd Panasonic FxOS TV detection
Robert Kaiser [Tue, 11 Aug 2015 21:35:33 +0000 (14:35 -0700)]
add Panasonic FxOS TV detection

9 years agoon mobile devices, default to a single column - add symlink for ua library
Robert Kaiser [Wed, 8 Jul 2015 22:51:23 +0000 (00:51 +0200)]
on mobile devices, default to a single column - add symlink for ua library

9 years agoon mobile devices, default to a single column - add symlink for ua library
Robert Kaiser [Wed, 8 Jul 2015 22:41:04 +0000 (00:41 +0200)]
on mobile devices, default to a single column - add symlink for ua library

9 years agoon mobile devices, default to a single row
Robert Kaiser [Wed, 8 Jul 2015 22:35:44 +0000 (00:35 +0200)]
on mobile devices, default to a single row

9 years agoMerge branch 'master' of linz:/srv/git/git-kairo
Robert Kaiser [Tue, 23 Jun 2015 20:32:53 +0000 (22:32 +0200)]
Merge branch 'master' of linz:/srv/git/git-kairo

9 years agoadd mobile Edge support
Robert Kaiser [Tue, 23 Jun 2015 20:32:45 +0000 (22:32 +0200)]
add mobile Edge support

9 years agoMerge branch 'master' of linz:/srv/git/git-kairo
Robert Kaiser [Tue, 23 Jun 2015 20:31:48 +0000 (13:31 -0700)]
Merge branch 'master' of linz:/srv/git/git-kairo

9 years agoadd Firefox mobile version with Android version included
Robert Kaiser [Mon, 22 Jun 2015 03:55:22 +0000 (20:55 -0700)]
add Firefox mobile version with Android version included

9 years agoadd Firefox for iOS detection
Robert Kaiser [Tue, 2 Jun 2015 19:44:41 +0000 (21:44 +0200)]
add Firefox for iOS detection

9 years agosome better variable names
Robert Kaiser [Mon, 25 May 2015 15:33:55 +0000 (17:33 +0200)]
some better variable names

9 years agoadd methods for password fields
Robert Kaiser [Mon, 25 May 2015 15:15:53 +0000 (17:15 +0200)]
add methods for password fields

9 years agoUse actual name of Edge and EdgeHTML
Robert Kaiser [Mon, 25 May 2015 14:23:04 +0000 (16:23 +0200)]
Use actual name of Edge and EdgeHTML

9 years agotransfer router stats from nog instead of running our own; remove direct pulling...
Robert Kaiser [Fri, 15 May 2015 00:14:39 +0000 (02:14 +0200)]
transfer router stats from nog instead of running our own; remove direct pulling of weather data, that's been done via script for a while; adjust both robert and nog overviews to include router.ifsum and remove non-existing pieces

9 years agoadd preliminary support for Microsoft's Project Spartan and Edge engine
Robert Kaiser [Fri, 3 Apr 2015 01:42:38 +0000 (03:42 +0200)]
add preliminary support for Microsoft's Project Spartan and Edge engine

9 years agoadd an appendButton method for adding buttons
Robert Kaiser [Mon, 9 Mar 2015 00:51:47 +0000 (01:51 +0100)]
add an appendButton method for adding buttons

9 years agoadd appendComment() methods so we can add comments in an easy fashion
Robert Kaiser [Sun, 8 Mar 2015 23:09:58 +0000 (00:09 +0100)]
add appendComment() methods so we can add comments in an easy fashion

9 years agoadd functions for easily adding images
Robert Kaiser [Sun, 8 Mar 2015 19:56:06 +0000 (20:56 +0100)]
add functions for easily adding images

9 years agoadd functions for easily adding images
Robert Kaiser [Sun, 8 Mar 2015 19:44:12 +0000 (20:44 +0100)]
add functions for easily adding images

9 years agosupport new version code of Win10
Robert Kaiser [Fri, 13 Feb 2015 01:41:41 +0000 (02:41 +0100)]
support new version code of Win10

9 years agoadd wien-hw stats and do some sensor swapping to reflect new reality
Robert Kaiser [Mon, 26 Jan 2015 02:58:46 +0000 (03:58 +0100)]
add wien-hw stats and do some sensor swapping to reflect new reality

9 years agoMerge branch 'master' of linz:/srv/git/git-kairo
Robert Kaiser [Sat, 3 Jan 2015 12:54:43 +0000 (13:54 +0100)]
Merge branch 'master' of linz:/srv/git/git-kairo

9 years agoadd a script to fetch weather data into a JSON file, including history data from...
Robert Kaiser [Sat, 3 Jan 2015 12:54:21 +0000 (13:54 +0100)]
add a script to fetch weather data into a JSON file, including history data from the intrnal memory of the weather station

9 years agoMerge branch 'master' of linz:/srv/git/git-kairo
Robert Kaiser [Sun, 14 Dec 2014 20:50:59 +0000 (21:50 +0100)]
Merge branch 'master' of linz:/srv/git/git-kairo

9 years agosupport Win10
Robert Kaiser [Sun, 14 Dec 2014 20:50:28 +0000 (21:50 +0100)]
support Win10

10 years agomake Konqueror rule case-insensitive so it detects current Konquerors
Robert Kaiser [Wed, 22 Oct 2014 16:40:46 +0000 (09:40 -0700)]
make Konqueror rule case-insensitive so it detects current Konquerors

10 years agodetect some more UAs and details, like Chromium specifically, now Googlebot-Mobile...
Robert Kaiser [Mon, 25 Nov 2013 00:28:07 +0000 (01:28 +0100)]
detect some more UAs and details, like Chromium specifically, now Googlebot-Mobile versions, Mobile/Tableton Firefox OS, etc.

11 years agodetect possible FxOS tablet UA
Robert Kaiser [Thu, 26 Sep 2013 01:24:15 +0000 (03:24 +0200)]
detect possible FxOS tablet UA

11 years agotry to get around PHP strict error by not passing result of array_key directly to...
Robert Kaiser [Sun, 15 Sep 2013 01:52:07 +0000 (03:52 +0200)]
try to get around PHP strict error by not passing result of array_key directly to array_shift, which expects a reference rather than a result

11 years agosupport Firefox OS with device specifier
Robert Kaiser [Fri, 13 Sep 2013 01:53:35 +0000 (03:53 +0200)]
support Firefox OS with device specifier

11 years agodetect MSIE 11 on Win8 in both a 'leaked' UA string version and an actually seen one
Robert Kaiser [Thu, 27 Jun 2013 23:36:40 +0000 (01:36 +0200)]
detect MSIE 11 on Win8 in both a 'leaked' UA string version and an actually seen one

11 years agoadd two Google TV UAs
Robert Kaiser [Sun, 17 Feb 2013 21:52:29 +0000 (22:52 +0100)]
add two Google TV UAs

11 years agoexpose 2.18 publicly
Robert Kaiser [Mon, 14 Jan 2013 00:16:20 +0000 (01:16 +0100)]
expose 2.18 publicly

11 years agoadd a current Firefox UA, add the actual Firefox OS one
Robert Kaiser [Tue, 27 Nov 2012 03:17:49 +0000 (04:17 +0100)]
add a current Firefox UA, add the actual Firefox OS one

11 years agoactually use the Gecko/XX.X as engine version when not a date
Robert Kaiser [Tue, 27 Nov 2012 03:12:33 +0000 (04:12 +0100)]
actually use the Gecko/XX.X as engine version when not a date

12 years agoadd mobile phone detecting in user agent library and expose it in browser check
Robert Kaiser [Sat, 13 Oct 2012 15:41:07 +0000 (17:41 +0200)]
add mobile phone detecting in user agent library and expose it in browser check

12 years agoadd some official IE10 strings, including ARM
Robert Kaiser [Fri, 3 Aug 2012 00:52:48 +0000 (02:52 +0200)]
add some official IE10 strings, including ARM

12 years agoswitch main home mount to WDblack disk
Robert Kaiser [Mon, 30 Jul 2012 11:36:59 +0000 (13:36 +0200)]
switch main home mount to WDblack disk

12 years agoremove a debug line that disturbs output
Robert Kaiser [Sat, 14 Jul 2012 16:00:58 +0000 (18:00 +0200)]
remove a debug line that disturbs output

12 years agodetect Chrome for Android
Robert Kaiser [Mon, 23 Apr 2012 01:44:37 +0000 (03:44 +0200)]
detect Chrome for Android

12 years agocorrectly detect IE10, Win8, and what could be coming for future FF
Robert Kaiser [Sun, 26 Feb 2012 01:02:56 +0000 (02:02 +0100)]
correctly detect IE10, Win8, and what could be coming for future FF

12 years agoadd another group of mobile browser UAs and detect them correctly - including the...
Robert Kaiser [Fri, 27 Jan 2012 18:45:31 +0000 (19:45 +0100)]
add another group of mobile browser UAs and detect them correctly - including the upcoming Fennec UA

12 years agoadd some new UAs to the recognition, parse some OSes correctly, finally make WebKit...
Robert Kaiser [Thu, 26 Jan 2012 01:10:04 +0000 (02:10 +0100)]
add some new UAs to the recognition, parse some OSes correctly, finally make WebKit its own engine and parse it correctly, detect Android, iOS, Maemo, MeeGo

13 years agoadd Nokia N9 browser
Robert Kaiser [Thu, 18 Aug 2011 11:22:18 +0000 (13:22 +0200)]
add Nokia N9 browser

13 years agosupplement gitignore for recent changes
Robert Kaiser [Tue, 8 Mar 2011 21:05:05 +0000 (22:05 +0100)]
supplement gitignore for recent changes

14 years agoMerge branch 'master' of linz:/srv/git/git-kairo
Robert Kaiser [Fri, 22 Oct 2010 13:26:32 +0000 (15:26 +0200)]
Merge branch 'master' of linz:/srv/git/git-kairo

14 years agoMerge branch 'origin'
Robert Kaiser [Fri, 22 Oct 2010 13:25:51 +0000 (15:25 +0200)]
Merge branch 'origin'

14 years agoadd some Gecko 2-0 UA strings for testing
Robert Kaiser [Sun, 12 Sep 2010 23:34:05 +0000 (01:34 +0200)]
add some Gecko 2-0 UA strings for testing

14 years agodetect Geckos with removed Windows token, correct IE and Trident version detection
Robert Kaiser [Thu, 5 Aug 2010 13:26:59 +0000 (15:26 +0200)]
detect Geckos with removed Windows token, correct IE and Trident version detection

14 years agoensure detection of newer Gecko UAs works correctly
Robert Kaiser [Mon, 19 Jul 2010 12:05:29 +0000 (14:05 +0200)]
ensure detection of newer Gecko UAs works correctly