Commit Graph

70 Commits

Author SHA1 Message Date
Momchil Bozhinov
dfc52f3923 * Locale is now Localization 2021-02-24 17:38:11 +02:00
Momchil Bozhinov
4ddc6588b6 * fixes 2021-02-24 10:52:04 +02:00
Momchil Bozhinov
2f1e2752b0 * Do not init _db_tasks db on start 2021-02-24 00:16:07 +02:00
Momchil Bozhinov
8d7986f80a Move RunVNC out of ClonOS 2021-02-24 00:08:35 +02:00
Momchil Bozhinov
58e24fcac7 * Last one 2021-02-23 23:45:43 +02:00
Momchil Bozhinov
366ac6e865 * Cleanup 2021-02-23 23:35:21 +02:00
Momchil Bozhinov
b43aab5a10 * Moved register_media under CBSD 2021-02-23 23:24:28 +02:00
Momchil Bozhinov
9ad42d0b84 * fixed oops 2021-02-23 22:44:44 +02:00
Momchil Bozhinov
a434336802 * save two gen_uri_chunks calls 2021-02-23 21:36:56 +02:00
Momchil Bozhinov
20d5f45d93 * Code cleanup 2021-02-23 21:24:58 +02:00
Momchil Bozhinov
d27c1ec723 * code cleanup 2021-02-23 21:15:16 +02:00
Momchil Bozhinov
a052656a4b Update menu.php 2021-02-23 20:37:48 +02:00
Momchil Bozhinov
3fdbf8e27a Update clonos.php 2021-02-23 19:57:14 +02:00
Momchil Bozhinov
8691564189 * Syntax needs more work 2021-02-23 18:53:36 +02:00
Momchil Bozhinov
a59f685089 * Cleanup Forms 2021-02-23 18:20:07 +02:00
Momchil Bozhinov
11fade70ef * Missed from refactoring pull 2021-02-23 12:09:34 +02:00
Momchil Bozhinov
781d53d1cd * fixes 2021-02-23 12:06:18 +02:00
Momchil Bozhinov
ac0c401938 * Menu class does not depend on ClonOS 2021-02-21 19:26:38 +02:00
Momchil Bozhinov
161e5b4f18 * Merge with parent 2021-02-16 12:54:46 +02:00
Momchil Bozhinov
34136468c7 * Fixes 2021-02-16 12:13:03 +02:00
Momchil Bozhinov
f585abbce2 * Merged with src repo 2021-01-26 16:38:10 +02:00
Momchil Bozhinov
31b2002a15 * Fixed the db class
Select was fetching all were selectassoc was fetching a single row
2021-01-26 16:33:37 +02:00
Momchil Bozhinov
242a680dbf * Merged shell-escape-fix 2021-01-26 15:26:42 +02:00
Momchil Bozhinov
26974999af * fixed oops 2021-01-23 15:06:19 +02:00
Momchil Bozhinov
e0328a2dae * Refactor the rest of the scripts 2021-01-23 14:13:01 +02:00
Momchil Bozhinov
cca5d58f85 * remove dep on sqlite (not the PDO)
NEEDS TESTING
2021-01-23 14:03:39 +02:00
Momchil Bozhinov
2ca68c3e1a * tweaked db class
getting to know the code
2021-01-23 11:56:32 +02:00
Momchil Bozhinov
9247904aa6 * Simplify lang include
I would skip the unset and leave it to the GC
2021-01-20 09:46:58 +02:00
olevole
02b1652fa6 wip 2021-01-19 22:53:15 +03:00
olevole
7cd1029ac6 wip 2020-11-26 23:57:51 +03:00
olevole
72bdb201f3 sync code 2020-11-11 22:31:00 +00:00
olevole
7c7470d789 sync code 2020-11-11 21:56:14 +00:00
olevole
4be7982863 sync code 2020-11-09 20:03:27 +00:00
olevole
3e47ff1bbd refactoring wip 2020-11-04 08:37:44 +00:00
root
4e4a01749d sync code, fix PHP8 warning 2020-11-02 19:53:12 +00:00
olevole
59e0f4ca86 fix vm_os_type args 2019-09-19 23:57:43 +03:00
olevole
3636cfa774 cloud form wip 2019-09-14 00:14:11 +03:00
olevole
fe4cb656fb cloud form wip 2019-09-13 00:48:07 +03:00
olevole
1e8c67d313 add clonos=1 args 2019-09-04 19:52:43 +03:00
olevole
ae6ba807b3 change ci args 2019-08-29 20:32:50 +03:00
olevole
fee0678e03 get_bhyve_profiles in new way 2019-08-27 20:26:59 +03:00
Stefan Rink
19aad6636b Fixed 'WHER' typo in query
Sorry, unit test will come soon...
2019-04-27 14:08:13 +02:00
Stefan Rink
f5fd0c3856 SQL commands upper looks cleaner
SQL commands look nicer in uppercase and also makes it a bit more readable or a bit faster to find the different parts of the query..
2019-04-26 18:42:28 +02:00
Stefar77
7860bcba09 Style fixes en injection todo's
Some more style fixes, also marked some XSS and possible shell injections.
2019-04-25 23:34:29 +02:00
Stefar77
8c82d3eab4 Less concatting in queries to make it cleaner
No more string concats in queries to make it a bit more readable.
2019-04-25 22:52:18 +02:00
Stefar77
717c839d52 One more SQL Injection fixed
Still need a full read but since I'm about to split up some code I'll review it later in parts.
* Should first fix the shell injections I guess..
2019-04-25 15:18:46 +02:00
Stefar77
07b7c0c236 Style updates and small fixes
Fixed ($db!==false) stuff, that's impossible you will always get an object with $var=new Object(); unless it's out of ram but that kills PHP.
replaced it with isConnected() method.
Also fixed edit bhyve form memory value, it was annoying me.
2019-04-25 14:36:31 +02:00
Stefar77
67e7ba33bb Escapes and code a bit cleaner.
Made the Db object handle escaping so you can use other types of databases / escaping.
2019-04-25 13:22:17 +02:00
Stefar77
d411ee4b6b Fixed most SQL Injections
Still needs more fixes (like shell injections)
2019-04-24 17:05:12 +02:00
Charlie Root
b452db9663 test 2019-01-19 23:48:32 +03:00