Commit Graph

205 Commits

Author SHA1 Message Date
TangoCash
364a86a34d add url to curl error log
Origin commit data
------------------
Branch: ni/coolstream
Commit: c27672b573
Author: TangoCash <eric@loxat.de>
Date: 2021-09-30 (Thu, 30 Sep 2021)



------------------
This commit was generated by Migit
2021-10-01 20:50:22 +02:00
Thilo Graf
aa166a4bf6 helpers.cpp: fix fallback to 'service' as default command
Our buildsystem/image (Yocto/OE) is using systemctl as default and we have defined 'systemctl' as
3rd parameter (e.g. see drivers/lcd4l.cpp), but users of our source could
use systems without 'systemctl' in their own buildsystems/images,
therefore it makes sense to have a fallback to 'service'.
This should avoid patching the sources.
Thx GetAway for hint.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8870512979
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-07-13 (Tue, 13 Jul 2021)



------------------
This commit was generated by Migit
2021-07-14 18:59:54 +02:00
Thilo Graf
93c66140cd helpers.cpp: optimize fallback for use with systemd
Origin commit data
------------------
Branch: ni/coolstream
Commit: ab00ab779d
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-07-11 (Sun, 11 Jul 2021)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2021-07-11 20:09:41 +02:00
Thilo Graf
6ea802b34f heipers.cpp: use getuid() instead getenv()
Enabled only on generic hardware.

Thanks seife for hint.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 33a282527c
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-06-30 (Wed, 30 Jun 2021)



------------------
This commit was generated by Migit
2021-06-30 20:35:27 +02:00
vanhofen
29ec36cd81 helpers: fix exec_initscript
Origin commit data
------------------
Branch: ni/coolstream
Commit: 8cb24ed24c
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-06-29 (Tue, 29 Jun 2021)

Origin message was:
------------------
- helpers: fix exec_initscript

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2021-06-29 21:22:07 +02:00
Thilo Graf
d7be7d29c2 helpers.cpp: fix possible crash
Possible error is:
terminate called after throwing an instance of 'std::logic_error'


Origin commit data
------------------
Branch: ni/coolstream
Commit: d9c894a1e3
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-06-28 (Mon, 28 Jun 2021)



------------------
This commit was generated by Migit
2021-06-28 23:06:12 +02:00
vanhofen
6dbd79a092 helpers: fix return value of exec_controlscript() too
Origin commit data
------------------
Branch: ni/coolstream
Commit: 438cdca55c
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-06-22 (Tue, 22 Jun 2021)

Origin message was:
------------------
- helpers: fix return value of exec_controlscript() too

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2021-06-22 21:39:51 +02:00
vanhofen
9e4e882762 helpers: fix error message in exec_initscript()
Origin commit data
------------------
Branch: ni/coolstream
Commit: c6b72f034f
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-06-22 (Tue, 22 Jun 2021)

Origin message was:
------------------
- helpers: fix error message in exec_initscript()

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2021-06-22 21:39:51 +02:00
Thilo Graf
6b6260d37c helpers: modify exec_initscript() for usage with systemctl
Current behavior is untouched, but return value is boolean
and so far, the function obviously has returned true on error. So far this
was currently not evaluated but is changed now. Otherwise, "bool" makes
not really sense or was this intended?


Origin commit data
------------------
Branch: ni/coolstream
Commit: d2d22e5748
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-06-22 (Tue, 22 Jun 2021)



------------------
This commit was generated by Migit
2021-06-22 21:39:51 +02:00
vanhofen
ebed9f1aea add Maxytec Multibox SE 4K
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0555f8b2c7
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-05-28 (Fri, 28 May 2021)

Origin message was:
------------------
- add Maxytec Multibox SE 4K

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2021-05-28 23:18:29 +02:00
vanhofen
304a1bb9d4 helpers: add getBoxMode() function
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3dc8822e9b
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-03-14 (Sun, 14 Mar 2021)

Origin message was:
------------------
- helpers: add getBoxMode() function

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2021-03-14 10:08:27 +01:00
vanhofen
6d816a0a26 helpers: add function to execute init scripts
Origin commit data
------------------
Branch: ni/coolstream
Commit: b4e75bdb24
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-02-01 (Mon, 01 Feb 2021)

Origin message was:
------------------
- helpers: add function to execute init scripts

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2021-02-01 00:08:56 +01:00
vanhofen
80967e3f2f helpers: remove hardcoded path
Origin commit data
------------------
Branch: ni/coolstream
Commit: cc3b296ebb
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-12-10 (Thu, 10 Dec 2020)

Origin message was:
------------------
- helpers: remove hardcoded path

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2020-12-10 21:44:19 +01:00
Thilo Graf
2b93b5c4d8 helpers.h/cpp: add default timeout parameter with value 1
For flexible usage of timeout in related downloadUrl methods if required.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 7cabce4b80
Author: Thilo Graf <dbt@novatux.de>
Date: 2020-11-16 (Mon, 16 Nov 2020)



------------------
This commit was generated by Migit
2020-11-16 16:19:12 +01:00
TangoCash
6bc6693985 set download logo timeout to 1 sec
Origin commit data
------------------
Branch: ni/coolstream
Commit: 24df0c1405
Author: TangoCash <eric@loxat.de>
Date: 2020-11-15 (Sun, 15 Nov 2020)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2020-11-15 23:00:28 +01:00
vanhofen
21585e72de helpers: add function to get backup suffix
Origin commit data
------------------
Branch: ni/coolstream
Commit: 427a949807
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-11-12 (Thu, 12 Nov 2020)

Origin message was:
------------------
- helpers: add function to get backup suffix

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2020-11-12 22:17:34 +01:00
TangoCash
994e8d34ff add hisilicon; re-add hd61
Origin commit data
------------------
Branch: ni/coolstream
Commit: 485d28ab28
Author: TangoCash <eric@loxat.de>
Date: 2020-10-03 (Sat, 03 Oct 2020)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2020-10-03 19:06:43 +02:00
TangoCash
bb7a4fc19f keep all logo-naming conventions together
Origin commit data
------------------
Branch: ni/coolstream
Commit: 978fcedcbe
Author: TangoCash <eric@loxat.de>
Date: 2020-09-20 (Sun, 20 Sep 2020)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2020-09-20 21:10:53 +02:00
Markus Volk
cad564fbd9 helpers.cpp: fix narrowing conversion
switch expression is 'int', but f_type gets stored as 'long unsigned int' on 32-bit machines since it may not fit otherwise. Recent compilers diagnose this and bail out with:

../../../git/src/system/helpers.cpp:330:9: error: narrowing conversion of '2240043254' from 'long unsigned int' to 'int' [-Wnarrowing]

casting the switch expression to long unsigned int seems to be the solution.

in short: this fixes the build for 32-bit machines with gcc ≥ 10.x

Signed-off-by: Markus Volk <f_l_k@t-online.de>


Origin commit data
------------------
Branch: ni/coolstream
Commit: 1d73d07f22
Author: Markus Volk <f_l_k@t-online.de>
Date: 2020-08-04 (Tue, 04 Aug 2020)



------------------
This commit was generated by Migit
2020-08-05 23:43:25 +02:00
Thilo Graf
030db508a3 helpers.cpp: add add script name to debug output
Origin commit data
------------------
Branch: ni/coolstream
Commit: b11646d5ce
Author: Thilo Graf <dbt@novatux.de>
Date: 2020-07-08 (Wed, 08 Jul 2020)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2020-07-08 20:49:35 +02:00
vanhofen
9b6e6bea2f rework VUPLUS defines
Origin commit data
------------------
Branch: ni/coolstream
Commit: e299801f1f
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-06-12 (Fri, 12 Jun 2020)

Origin message was:
------------------
- rework VUPLUS defines

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2020-06-12 22:27:13 +02:00
vanhofen
2deca73ebf remove unsupported BOXMODEL_HD61
Origin commit data
------------------
Branch: ni/coolstream
Commit: 74f12bb199
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-02-27 (Thu, 27 Feb 2020)

Origin message was:
------------------
- remove unsupported BOXMODEL_HD61

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2020-02-27 22:07:33 +01:00
vanhofen
5ad8df1ce8 rename OSMIOPLUS4K => OSMIO4KPLUS
Origin commit data
------------------
Branch: ni/coolstream
Commit: 97cb3a981d
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-02-18 (Tue, 18 Feb 2020)

Origin message was:
------------------
- rename OSMIOPLUS4K => OSMIO4KPLUS

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2020-02-18 21:59:57 +01:00
max_10
d100d531be add osmio4k / osmio4kplus not yet ready
Origin commit data
------------------
Branch: ni/coolstream
Commit: f00b047142
Author: max_10 <max_10@gmx.de>
Date: 2020-02-17 (Mon, 17 Feb 2020)

Origin message was:
------------------
- add osmio4k / osmio4kplus not yet ready

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2020-02-17 21:21:47 +01:00
Markus Volk
e56c919450 add osmioplus4k stb
Origin commit data
------------------
Branch: ni/coolstream
Commit: a5a273db4e
Author: Markus Volk <f_l_k@t-online.de>
Date: 2020-02-16 (Sun, 16 Feb 2020)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2020-02-16 20:32:55 +01:00
vanhofen
cb22fb5815 helpers: fix getBaseName() and getFileExt() for urls with query-strings
Origin commit data
------------------
Branch: ni/coolstream
Commit: e2b84f0259
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-02-15 (Sat, 15 Feb 2020)

Origin message was:
------------------
- helpers: fix getBaseName() and getFileExt() for urls with query-strings

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2020-02-15 17:22:56 +01:00
vanhofen
1f66f75ed0 update: move function to get active partition to helpers.cpp
Origin commit data
------------------
Branch: ni/coolstream
Commit: b4b3264967
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-12-21 (Sat, 21 Dec 2019)

Origin message was:
------------------
- update: move function to get active partition to helpers.cpp

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2019-12-21 01:26:01 +01:00
GetAway
7170c0f21f helpers.cpp: introduce safe_strncpy() and use it
Origin commit data
------------------
Branch: ni/coolstream
Commit: 72edb6b46d
Author: GetAway <get-away@t-online.de>
Date: 2019-06-18 (Tue, 18 Jun 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2019-06-18 22:59:07 +02:00
Jacek Jendrzej
859e2d7d75 YT use htmlEntityDecode with title
Origin commit data
------------------
Branch: ni/coolstream
Commit: b68841cee9
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2019-06-01 (Sat, 01 Jun 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2019-06-02 01:02:47 +02:00
Thilo Graf
6adc1f6a3a helpers: add to_string() for char
Origin commit data
------------------
Branch: ni/coolstream
Commit: 7679168b61
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-05-05 (Sun, 05 May 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2019-05-05 22:44:28 +02:00
vanhofen
f1681a90ab helpers: fix formatting of trim functions
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9e1818062c
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-03-28 (Thu, 28 Mar 2019)

Origin message was:
------------------
- helpers: fix formatting of trim functions

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2019-03-28 21:22:22 +01:00
Thilo Graf
be1131835e helpers: add trim methodes for left and right trim
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5e1b9aaa4d
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-03-28 (Thu, 28 Mar 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2019-03-28 20:55:49 +01:00
Thilo Graf
f2b1eb75ab helpers: add isDigitWord() function
returns true if all chars of string parameter are digits


Origin commit data
------------------
Branch: ni/coolstream
Commit: 205bbeb7ce
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-03-28 (Thu, 28 Mar 2019)



------------------
This commit was generated by Migit
2019-03-28 20:55:49 +01:00
vanhofen
3216bdcce3 helpers: add function to execute control scripts
Origin commit data
------------------
Branch: ni/coolstream
Commit: 7882ee4805
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-01-26 (Sat, 26 Jan 2019)

Origin message was:
------------------
- helpers: add function to execute control scripts

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2019-01-26 17:05:44 +01:00
Thilo Graf
7085f159ce helpers.cpp: reduce debug output in downloadUrl()
Usage of debug level INFO should be enough.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 4adec299c9
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-10-28 (Sun, 28 Oct 2018)



------------------
This commit was generated by Migit
2018-10-28 22:00:38 +01:00
TangoCash
729dd20a12 adding caching xmltv logos
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3955d83961
Author: TangoCash <eric@loxat.de>
Date: 2018-09-20 (Thu, 20 Sep 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2018-09-20 15:11:05 +02:00
vanhofen
c6319e8a8c helpers: rework new random-functions to get the code more reuseable
* introduceand use LOGODIR_TMP (storage dir for webchannel logos)


Origin commit data
------------------
Branch: ni/coolstream
Commit: 2d3f66aa39
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-09-18 (Tue, 18 Sep 2018)

Origin message was:
------------------
- helpers: rework new random-functions to get the code more reuseable

* introduceand use LOGODIR_TMP (storage dir for webchannel logos)


------------------
This commit was generated by Migit
2018-09-18 21:18:40 +02:00
TangoCash
c55bee4c4a adding download helping function
Origin commit data
------------------
Branch: ni/coolstream
Commit: f474e60303
Author: TangoCash <eric@loxat.de>
Date: 2018-09-09 (Sun, 09 Sep 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2018-09-09 13:06:05 +02:00
TangoCash
0ec17ca393 implement own tmp function / satify compiler
Origin commit data
------------------
Branch: ni/coolstream
Commit: 841b6efd95
Author: TangoCash <eric@loxat.de>
Date: 2018-09-02 (Sun, 02 Sep 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2018-09-02 01:42:51 +02:00
TangoCash
a156eb2c3d adding some curl helpers
Origin commit data
------------------
Branch: ni/coolstream
Commit: 25887007ac
Author: TangoCash <eric@loxat.de>
Date: 2018-08-19 (Sun, 19 Aug 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2018-08-19 21:14:54 +02:00
TangoCash
8b21192b11 fix webif xml encoding, part 2
Origin commit data
------------------
Branch: ni/coolstream
Commit: 6b449f5d95
Author: TangoCash <eric@loxat.de>
Date: 2018-03-28 (Wed, 28 Mar 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2018-03-28 22:24:19 +02:00
vanhofen
0a0c8a13bf Merge branch 'ni/tuxbox' into ni/mp/tuxbox
Conflicts:
	src/gui/hdd_menu.cpp
	src/gui/hdd_menu.h


Origin commit data
------------------
Branch: ni/coolstream
Commit: 73418490bc
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-10-02 (Mon, 02 Oct 2017)



------------------
This commit was generated by Migit
2017-10-02 23:21:37 +02:00
vanhofen
463700033b Merge branch 'master' of https://github.com/tuxbox-neutrino/gui-neutrino into ni/tuxbox
Conflicts:
	src/gui/dboxinfo.cpp
	src/gui/infoviewer_bb.cpp


Origin commit data
------------------
Branch: ni/coolstream
Commit: 9e8dd73320
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-10-02 (Mon, 02 Oct 2017)



------------------
This commit was generated by Migit
2017-10-02 23:19:49 +02:00
Stefan Seyfried
586a1b5a49 helpers/readFile: limit memory allocations
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2f39081708
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-10-01 (Sun, 01 Oct 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2017-10-02 13:43:57 +02:00
vanhofen
3aa6bf25d9 Merge branch 'ni/tuxbox' into ni/mp/tuxbox
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2b7afc5b38
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-21 (Thu, 21 Sep 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2017-09-21 10:33:00 +02:00
vanhofen
dd377dff8f Merge branch 'master' of https://github.com/tuxbox-neutrino/gui-neutrino into ni/tuxbox
Conflicts:
	src/gui/channellist.cpp
	src/gui/widget/menue.cpp
	src/system/settings.h


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8d4677a319
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-21 (Thu, 21 Sep 2017)



------------------
This commit was generated by Migit
2017-09-21 10:32:33 +02:00
Michael Liebmann
fa80597608 helpers.cpp: Add new functions
- readFile()
 - parseJsonFromFile()
 - parseJsonFromString()

 parseJsonFromString() and parseJsonFromFile() use Json::CharReader
 instead of the obsolete function Json::Reader


Origin commit data
------------------
Branch: ni/coolstream
Commit: 05d8ed4105
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-09-19 (Tue, 19 Sep 2017)

Origin message was:
------------------
helpers.cpp: Add new functions

 - readFile()
 - parseJsonFromFile()
 - parseJsonFromString()

 parseJsonFromString() and parseJsonFromFile() use Json::CharReader
 instead of the obsolete function Json::Reader


------------------
This commit was generated by Migit
2017-09-19 23:20:39 +02:00
vanhofen
f3ccea3915 Merge branch 'ni/tuxbox' into ni/mp/tuxbox
Conflicts:
	src/gui/update_settings.cpp


Origin commit data
------------------
Branch: ni/coolstream
Commit: aeebd0d444
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-14 (Thu, 14 Sep 2017)



------------------
This commit was generated by Migit
2017-09-14 16:30:58 +02:00
vanhofen
4dc0113a94 Merge branch 'master' of https://github.com/tuxbox-neutrino/gui-neutrino into ni/tuxbox
Conflicts:
	configure.ac
	data/locale/deutsch.locale
	data/locale/english.locale
	src/gui/info_menue.cpp
	src/gui/widget/menue.cpp
	src/nhttpd/yconfig.h
	src/system/helpers.h


Origin commit data
------------------
Branch: ni/coolstream
Commit: 9152c228ed
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-14 (Thu, 14 Sep 2017)



------------------
This commit was generated by Migit
2017-09-14 16:23:15 +02:00
Michael Liebmann
c69ffa0305 system/helpers.cpp: Add cstr_replace()
- This is a faster C version of str_replace()


Origin commit data
------------------
Branch: ni/coolstream
Commit: 020936acbe
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-09-14 (Thu, 14 Sep 2017)

Origin message was:
------------------
system/helpers.cpp: Add cstr_replace()

 - This is a faster C version of str_replace()


------------------
This commit was generated by Migit
2017-09-14 15:37:36 +02:00