|
5aa8f6ccd3
|
Added half bits to float conversions from the godot engine.
|
2022-02-04 13:25:11 +01:00 |
|
|
2c16563d97
|
Added abs helper method to Rect2 and Rect2i.
|
2022-02-04 13:21:15 +01:00 |
|
|
e34079ee46
|
Vector2 <-> Vector2i conversion operators.
|
2022-02-04 13:17:55 +01:00 |
|
|
cf8dd43fd7
|
Added Rect2 <-> Rect2i conversion operators. Also smaller helper methods.
|
2022-02-04 13:13:27 +01:00 |
|
|
334075aeca
|
Ported Rect2's clip from godot to both Rect2 and Rect2i.
|
2022-02-04 13:06:13 +01:00 |
|
|
69a2d2f1b7
|
Added ABS, GSN, MIN, MAX, CLAMP macros to math.h for convenience.
|
2022-02-04 13:05:49 +01:00 |
|
|
e28007085c
|
Added position and size helper methods to Rect2 and Rect2i.
|
2022-02-04 12:54:28 +01:00 |
|
|
53b9236c5f
|
Added Rect2i.
|
2022-02-04 11:56:43 +01:00 |
|
|
202df3bac6
|
Added Vector2i.
|
2022-02-04 11:54:46 +01:00 |
|
|
bfa4a96c2a
|
Fix 2 typos.
|
2022-02-04 11:52:40 +01:00 |
|
|
397459ce7b
|
Added the Color class from godot. Removed the ColorUInt8 typedef.
|
2022-02-04 11:34:07 +01:00 |
|
|
db531000c1
|
Added a few wchar_t based helper methods to string.
|
2022-02-04 11:33:35 +01:00 |
|
|
f5d525948b
|
Added ERR_FAIL_V_MSG error macro aswell.
|
2022-02-04 11:32:07 +01:00 |
|
|
5503e58d54
|
added round to Math, and fixed the type of the double pow's arguments.
|
2022-02-04 11:31:43 +01:00 |
|
|
d0c80ffe6a
|
Removed sdl rect conversion.
|
2022-02-04 11:30:40 +01:00 |
|
|
e9250d185f
|
Added vector2 based constructors to rect2.
|
2022-02-04 11:30:01 +01:00 |
|
|
a723d748a7
|
Removed sdl color conversion from Color.
|
2022-02-04 10:39:53 +01:00 |
|
|
16746f513d
|
Added sinh, cosh, tanh, sinc and sincn to the Math class.
|
2022-02-04 10:38:49 +01:00 |
|
|
d8e06e36f0
|
Added more error macro variants.
|
2022-02-04 10:38:18 +01:00 |
|
|
e946184d2c
|
Fix typo.
|
2022-02-04 10:37:52 +01:00 |
|
|
8dda820a54
|
Renamed Color to ColorUInt8, and typedef-ed it to Color.
|
2022-02-04 10:37:36 +01:00 |
|
|
91a87ad63a
|
Signal is not inherited from object anymore.
|
2022-02-04 08:59:15 +01:00 |
|
|
0d3db0979a
|
Add the emitter object as a parameter.
|
2022-02-04 08:56:15 +01:00 |
|
|
d42311356f
|
Added a signal class.
|
2022-02-04 08:53:57 +01:00 |
|
|
b613349a11
|
Added StringName from Godot.
|
2022-02-04 07:58:57 +01:00 |
|
|
88fafbe78e
|
Added image from godot, and removed the sdl image/sprite/texture.
|
2022-02-04 07:58:36 +01:00 |
|
|
a834ef7e87
|
Added spin lock and rwlock from godot.
|
2022-02-04 07:57:57 +01:00 |
|
|
33ba5337b7
|
Added html special chars methods to the string.
|
2022-02-04 06:37:14 +01:00 |
|
|
33be242319
|
Implement handling [color=white] like bbcode tags.
|
2022-02-04 06:19:38 +01:00 |
|
|
0e4222e5af
|
Remove warning from self closing tags, as it handles list items correctly.
|
2022-02-04 06:07:41 +01:00 |
|
|
cf8883fdd1
|
The bbcode parser should work now. Kept the self closing tag, as it might be useful for non standard tags.
|
2022-02-04 05:57:47 +01:00 |
|
|
15077110e2
|
Removed the script tag parsing from the bbcode parser.
|
2022-02-04 05:51:53 +01:00 |
|
|
b8969af324
|
Added a bbcode parser. It's a copy of the html parser for now.
|
2022-02-04 05:50:13 +01:00 |
|
|
a81dac1515
|
Fox include guard.
|
2022-02-04 05:47:51 +01:00 |
|
|
5d75c5bda7
|
Removed resource properties, and most things from the base resource.
|
2022-02-04 05:16:40 +01:00 |
|
|
6416ecc5e0
|
Reworked migrations. Now they automatically propagate through the node hierarchy. Also they have parameters.
|
2022-01-13 23:45:38 +01:00 |
|
|
127219fe34
|
Added more helper methods to WebNode. Also a render_menu() virtual.
|
2022-01-13 22:58:59 +01:00 |
|
|
bde46b20cd
|
Reworked how set_tree works.
|
2022-01-13 22:58:27 +01:00 |
|
|
f498628ee1
|
Split handle_request_main into handle_request_main and _handle_request_main. _handle_request_main should be responsible for actually rendering a page, while the normal one is responsible for routing by default. This makes the design simpler.
|
2022-01-09 18:35:12 +01:00 |
|
|
73df53418a
|
Process middleware now returns a bool, and processing the request now actually stops if a middleware returns true, as intended.
|
2022-01-09 16:03:27 +01:00 |
|
|
3873463dfa
|
Improved the comments in WebRoot::setup_middleware.
|
2022-01-09 15:55:32 +01:00 |
|
|
8a64723710
|
Save the settion after the csrf token is added to it.
|
2022-01-09 15:53:58 +01:00 |
|
|
885d6cb4a6
|
Added url ignore support for the csrf token middleware. Also properly implemented create_token.
|
2022-01-09 15:53:40 +01:00 |
|
|
e728d826f1
|
Fis logic in has() in HTTPSession.
|
2022-01-09 15:48:54 +01:00 |
|
|
7323c38776
|
Make sha256's factory method return a ref<> instead of a raw pointer.
|
2022-01-09 15:29:03 +01:00 |
|
|
8e903f2695
|
Added a simple csrf token middleware.
|
2022-01-09 15:25:55 +01:00 |
|
|
4c6e02d07f
|
Added an another csrf token helper.
|
2022-01-09 15:00:59 +01:00 |
|
|
58411bdb7d
|
Made the more complex helper methods return the HTMLBuilder tself instead of the HTMLTags in HTMLBuilder .
|
2022-01-09 14:58:35 +01:00 |
|
|
3c8d2eaed9
|
Core support for csrf tokens.
|
2022-01-09 14:51:04 +01:00 |
|
|
a119251e09
|
Reworked HTTPSession, now it uses Variants instead of multiple classes. Also it's inherited from Reference now. Also smaller cleanups to the SessionManager.
|
2022-01-09 14:32:09 +01:00 |
|
|
bede579bf6
|
Fixed a few smalled issues with variant. Also added 2 new helper methods to it.
|
2022-01-09 14:30:42 +01:00 |
|
|
10effc3971
|
Delete children Nodes in Node's destructor. Also delet the tree in NodeTree's destructor.
|
2022-01-08 14:11:08 +01:00 |
|
|
bd93a2a9ce
|
Don't call setup() in WebRoot's constructor.
|
2022-01-08 13:41:26 +01:00 |
|
|
d380d14152
|
Move middleware processing to a helper method.
|
2022-01-08 13:09:12 +01:00 |
|
|
7dc547b022
|
Added an another helper method to WebRouterNode.
|
2022-01-08 13:01:43 +01:00 |
|
|
3809ca5a38
|
Rename UserController's main handler method to the new proper one.
|
2022-01-08 12:49:34 +01:00 |
|
|
90d62dbef7
|
Replaced std::strings with String in WebRoot.
|
2022-01-08 12:41:15 +01:00 |
|
|
159c784689
|
Removed HandlerInstance.
|
2022-01-08 12:39:04 +01:00 |
|
|
dff3156138
|
Cleaned up WebRoot.
|
2022-01-08 12:35:44 +01:00 |
|
|
15b9bb17e5
|
Removed the middleware stack from Request.
|
2022-01-08 12:27:42 +01:00 |
|
|
ec2eabacc1
|
Implemented middleware handling. Also converted middleware handlers to the new stystem.
|
2022-01-08 12:25:52 +01:00 |
|
|
ef18e705f4
|
Added a new Middleware class.
|
2022-01-08 12:05:33 +01:00 |
|
|
d873312915
|
Moved get_server from WebRoot to WebNode.
|
2022-01-08 12:00:12 +01:00 |
|
|
f00e5c5c9e
|
Now the root node's type inthe webserver is a WebNode instead of a WebRoot.
|
2022-01-08 11:58:35 +01:00 |
|
|
163432e147
|
Make WebRoot use the new error handling system.
|
2022-01-08 11:51:39 +01:00 |
|
|
fd106fc785
|
Reworked error handling.
|
2022-01-08 11:47:39 +01:00 |
|
|
413e9efbc8
|
Implement setting http status codes.
|
2022-01-08 11:42:57 +01:00 |
|
|
e0b76706d9
|
Implemented the new node based routing.
|
2022-01-08 11:27:26 +01:00 |
|
|
01a5e1881d
|
Started reworking routing.
|
2022-01-08 10:50:07 +01:00 |
|
|
10d3f2fd87
|
Added a new WebRouterNode (skeleton), and made WebRoot inherit from it.
|
2022-01-08 10:06:11 +01:00 |
|
|
3704c031f2
|
Added lots of missing RCPP_OBJECT declarations.
|
2022-01-08 10:04:12 +01:00 |
|
|
f2458084e6
|
Add todo.
|
2022-01-07 23:25:30 +01:00 |
|
|
d9c36d0a4e
|
Added an input_hidden helper.
|
2022-01-07 22:58:12 +01:00 |
|
|
a1afe210d1
|
Split WebApplication into WebServer and WebRoot. WebServer inherits from NodeTree, and WebRoot inherits from WebNode. Also removed some of the brynet classes.
|
2022-01-07 20:11:06 +01:00 |
|
|
3133ecdb08
|
Node and NodeTree implementations.
|
2022-01-07 19:28:16 +01:00 |
|
|
7117cb3988
|
Added settings and database helpers to WebNode.
|
2022-01-07 17:16:24 +01:00 |
|
|
3eb128264d
|
Also commit the .cpp file.
|
2022-01-07 17:03:21 +01:00 |
|
|
b5a477f917
|
Added create_default_entries() to WebNode.
|
2022-01-07 17:02:47 +01:00 |
|
|
5b7cdd3829
|
WebNode now inherits from Node.
|
2022-01-07 16:57:13 +01:00 |
|
|
ad55c03d59
|
Added a nodetree and a node skeleton classes. With a few notes.
|
2022-01-07 16:56:26 +01:00 |
|
|
78c5601a9b
|
Merged Model and Controller into a new WebNode class.
|
2022-01-07 16:36:39 +01:00 |
|
|
937d7a3d87
|
Added double alternative for a few Variant methods.
|
2022-01-06 19:33:46 +01:00 |
|
|
3533145133
|
Added a new database based settings class.
|
2022-01-06 19:30:02 +01:00 |
|
|
fa6c1281b9
|
Settings now inherits from Object.
|
2022-01-06 18:58:25 +01:00 |
|
|
86f19a3353
|
Added a setter to Settings.
|
2022-01-06 18:51:50 +01:00 |
|
|
2db1a0693e
|
Parse the string in Settings. Also added an another getter.
|
2022-01-06 18:49:42 +01:00 |
|
|
b8442280dd
|
Implement parse for variants.
|
2022-01-06 18:47:03 +01:00 |
|
|
3d81df493c
|
Now the settings class uses Variants.
|
2022-01-06 18:36:31 +01:00 |
|
|
4a3fca736d
|
Fully implement Variant.
|
2022-01-06 18:34:48 +01:00 |
|
|
e87165e4d9
|
Started working on a Variant class.
|
2022-01-06 16:01:13 +01:00 |
|
|
cfd1ecf718
|
Moved the settings class to a subfolder.
|
2022-01-06 11:59:42 +01:00 |
|
|
9ed17fe193
|
Implemented request matching for the rbac system.
|
2022-01-06 11:49:35 +01:00 |
|
|
86b890eb8f
|
Added order_by to the QueryBuilder.
|
2021-11-21 16:14:31 +01:00 |
|
|
e79ddd1b4a
|
Add size check to string to number conversion methods.
|
2021-11-21 15:29:44 +01:00 |
|
|
557c2a3934
|
Inherit WebApplication from Object.
|
2021-11-21 14:40:47 +01:00 |
|
|
e32593da4c
|
Fix edge cases during parsing <script> tags with in-html code.
|
2021-11-21 12:32:36 +01:00 |
|
|
78f09b5fab
|
Add is_word_at helper methods to string.
|
2021-11-21 12:32:02 +01:00 |
|
|
35fd8d7894
|
Fix an another indexing edge case.
|
2021-11-21 11:15:21 +01:00 |
|
|
4a947d39b0
|
Fix index calculations for comments in HTMLParser.
|
2021-11-21 11:04:39 +01:00 |
|
|
f9dcd088d0
|
Added more helpers to string, and fixed a bug in replace_from.
|
2021-11-20 21:39:30 +01:00 |
|
|
ff8790f81d
|
Implemented a few helpers for the HTMLParser.
|
2021-11-20 20:53:17 +01:00 |
|
|
da6d18beef
|
String.find() now correctly finds equality aswell.
|
2021-11-20 20:52:23 +01:00 |
|
|
64a1352f97
|
Added text to TableBuilder.
|
2021-11-20 01:39:52 +01:00 |
|
|
38b95e4ac8
|
fix get_slice.
|
2021-11-19 22:55:52 +01:00 |
|
|
4acfa61f58
|
Same change for the other get_slice_count.
|
2021-11-19 22:47:03 +01:00 |
|
|
6bfc78ec49
|
get_slice_count should return 1 by default.
|
2021-11-19 22:38:31 +01:00 |
|
|
cefea40d45
|
Removed an another stray print.
|
2021-11-19 22:32:15 +01:00 |
|
|
5f17d90676
|
Removed stray prints.
|
2021-11-19 20:03:17 +01:00 |
|
|
eaa7232559
|
The settings class now uses a simple ini format.
|
2021-11-19 20:02:59 +01:00 |
|
|
47545dc181
|
Added lots of helpers to the string.
|
2021-11-19 20:02:16 +01:00 |
|
|
f1965f4bd5
|
Added 3 helper methods.
|
2021-11-19 08:10:00 +01:00 |
|
|
f5afa7eb8e
|
Remove stray print.
|
2021-11-18 23:14:08 +01:00 |
|
|
000174f3c8
|
Now the HTMLParser builds up the HTML hierarchy correctly. Also prettified to_string's output.
|
2021-11-18 13:50:20 +01:00 |
|
|
1237d3da2a
|
Added append_repeat to the string.
|
2021-11-18 13:49:41 +01:00 |
|
|
2dac93662c
|
Inproved HTMLParserTag's to_string a bit.
|
2021-11-18 12:21:47 +01:00 |
|
|
7ce989d12b
|
Don't leak memory.
|
2021-11-18 12:07:28 +01:00 |
|
|
c23afa0332
|
Implemented to_string, and print for HTMLParser. also indexing fixes, and changed attributes and tags into pointers.
|
2021-11-18 12:03:43 +01:00 |
|
|
65ddfe2353
|
Call process right when it's needed.
|
2021-11-18 11:19:11 +01:00 |
|
|
ae3b14ad0c
|
Fixed the parse_args method.
|
2021-11-18 11:18:05 +01:00 |
|
|
43a7185e23
|
A bit more work on fixing the html argument parser's indexing.
|
2021-11-18 07:18:35 +01:00 |
|
|
1fcc47b353
|
Added a new HTMLParser class. Still WIP.
|
2021-11-18 00:59:21 +01:00 |
|
|
fd7bcb43cb
|
Added more dropdown helpers.
|
2021-11-16 18:31:42 +01:00 |
|
|
94381a3e42
|
Textarea helpers.
|
2021-11-16 17:34:01 +01:00 |
|
|
e99a82919d
|
Fix one of the link helpers.
|
2021-11-16 17:05:57 +01:00 |
|
|
b8b2d5a3a6
|
Even more helpers.
|
2021-11-16 16:54:28 +01:00 |
|
|
7e4c5eeb3e
|
Added 2 more helpers to HTMLBuilder.
|
2021-11-16 16:51:02 +01:00 |
|
|
eee908912d
|
Added more form helpers.
|
2021-11-16 16:41:47 +01:00 |
|
|
ff28b413d2
|
Added onclick helper aswell.
|
2021-11-16 16:33:47 +01:00 |
|
|
e5de7e48ae
|
Added autocomplete helpers to HTMLBuilder.
|
2021-11-16 16:31:34 +01:00 |
|
|
b7930fc9de
|
Added a helper method for labels.
|
2021-11-16 14:09:05 +01:00 |
|
|
21bc5c4983
|
Added helper methods to the rest of the input types.
|
2021-11-16 13:55:58 +01:00 |
|
|
9c53d521b4
|
Added lots of input related helper methods to HTMLBuilder.
|
2021-11-16 13:35:55 +01:00 |
|
|
123866edfa
|
Also added input helpers to HTMLBuilder.
|
2021-11-16 11:35:32 +01:00 |
|
|
fd3c3b298e
|
Added helpers for input type to HTMLTag.
|
2021-11-16 11:28:30 +01:00 |
|
|
70ffbbae20
|
Added a small opengl test app that I wrote a while ago, to be further processed into an opengl renderer.
|
2021-11-16 08:56:43 +01:00 |
|
|
19a70a5507
|
Added a few math classes from Godot.
|
2021-11-16 03:09:27 +01:00 |
|
|
ff6dd8ea5d
|
Operator cleanup to Vector2 and Vector3. Also added a few methods, and made x,y,z variables a union with an array, so the vector is also indexable.
|
2021-11-16 03:08:16 +01:00 |
|
|
e74549776f
|
Added expand_to to Rect2.
|
2021-11-16 03:06:58 +01:00 |
|
|
f50f52e593
|
Added a few smaller helpers to math.h.
|
2021-11-16 03:06:28 +01:00 |
|
|
748a3ac49a
|
Added core input handling classes form the godot engine. They are not in the compile yet, they need some changes.
|
2021-11-15 21:11:19 +01:00 |
|
|
6f7b413e08
|
Added 4 new helper methods to QueryBuilder.
|
2021-11-14 21:05:08 +01:00 |
|
|
4393c60e5f
|
Added get_cell_float and get_cell_double helpers to QueryResult.
|
2021-11-14 21:04:48 +01:00 |
|
|
1bd90ceb4a
|
Added more helpers to QueryBuilder.
|
2021-11-14 19:22:49 +01:00 |
|
|
1ec66db3c7
|
Added smallint, float, and double types to the TableBuilder.
|
2021-11-14 16:52:09 +01:00 |
|
|
ad632993d0
|
Added integer with length and a tinyinteger to TableBuilder.
|
2021-11-14 13:56:25 +01:00 |
|
|
acfa601c80
|
Properly process the last main arg in arg parser.
|
2021-11-14 02:36:59 +01:00 |
|
|
7c71819b60
|
Added some notes to image classes.
|
2021-11-13 12:39:14 +01:00 |
|
|
393650ad6d
|
Added my 2 widget classes, with some notes. They are not in the build yet either.
|
2021-11-13 12:26:47 +01:00 |
|
|
a02c8c63fd
|
Added 2 renderer classes with some notes, thye are not it the build yet, they'll be changed.
|
2021-11-13 12:26:19 +01:00 |
|
|
dcc81bd41f
|
Added a bunch of image handling classes, they are not in the build yet, they need to be reworked.
|
2021-11-13 12:25:33 +01:00 |
|