lovasoa
58b2b4d175
Custom layouts! Finally ! Adds a width parameter in the card component
...
fixes https://github.com/lovasoa/SQLpage/issues/476
2024-08-06 16:24:27 +02:00
lovasoa
6cc4cce73c
add e2e tests
2024-08-05 15:25:41 +02:00
lovasoa
2192c969d4
fix charts
2024-08-05 00:00:00 +00:00
lovasoa
5ecbc857bc
fix nonces in js
2024-08-02 00:30:25 +02:00
lovasoa
0d7106d372
prevent cascading component init failure
...
If one init function throws, the others are still launched
fixes https://github.com/lovasoa/SQLpage/issues/513
2024-08-02 00:19:35 +02:00
lovasoa
31165d4275
fix tomselect
2024-08-02 00:16:29 +02:00
lovasoa
108e312c42
fix map component for new csp
2024-08-02 00:13:18 +02:00
lovasoa
bfdcc85a00
switch to highlightjs for syntax highlighting
2024-08-02 00:03:31 +02:00
lovasoa
c52b2ada9c
improve security and usability of custom js
...
The new default Content-Security-Policy contains a nonce that is made available to components during rendering.
This allows including inline scripts as well as scripts from any source easily by specifying a nonce, and forbids arbitrary js from jsdelivr in case of xss
2024-08-01 23:04:07 +02:00
lovasoa
0a66c403a1
fix 0 values not being displayed in forms
2024-07-31 21:55:34 +02:00
lovasoa
8251c8d9a9
fix js bug with empty tables
...
see https://github.com/lovasoa/SQLpage/issues/513
we still need to isolate the different sqlpage functions to prevent cascading failures
2024-07-31 21:54:49 +02:00
lovasoa
9df5616a30
fix long texts in pills in datagrid
...
fixes https://github.com/lovasoa/SQLpage/issues/515
thanks @Pieter3033 for reporting the issue
2024-07-31 21:53:30 +02:00
lovasoa
5719fb448a
add support for esm javascript modules
2024-07-23 22:29:38 +02:00
lovasoa
48f78411b3
add text and post_html to the html component
2024-07-19 00:06:34 +02:00
lovasoa
664c99eaa9
shell title
2024-07-17 17:43:55 +02:00
lovasoa
eb9b8e89b0
improve display of long page titles on small screens
...
closes https://github.com/lovasoa/SQLpage/issues/446
2024-07-11 13:45:01 +02:00
lovasoa
12a75c9126
update apex charts
2024-07-11 12:59:25 +02:00
lovasoa
12e2cb5337
new icons
2024-07-11 12:54:23 +02:00
lovasoa
e9fc9624f4
run_sql can now be called with a specific set of variables to pass to the included sql file
...
new html component
2024-07-10 23:54:41 +02:00
Ophir LOJKINE
37a210515e
Merge branch 'main' into top-bar-filter
2024-07-08 20:12:41 +00:00
lovasoa
11b7656da9
changelog + remove conversion
2024-07-08 22:12:17 +02:00
lovasoa
2df9dd1116
update tabler icons
...
fixes https://github.com/lovasoa/SQLpage/issues/475
2024-07-01 12:46:40 +02:00
Ophir LOJKINE
032109ddd0
Merge pull request #459 from djyotta/daniel/458-allow-set-formenctype
...
#458 - allow user to set formenctype
2024-06-27 10:19:16 +00:00
PChemGuy
8e343e2506
Fixes top bar being shown only when page title is defined
...
When any top bar element is defined (title, icon, image, or menu), show top bar.
2024-06-27 08:22:03 +03:00
Daniel Sheffield
96636f2ff5
Update form.handlebars
...
Revert accidental change
2024-06-27 11:55:25 +12:00
Ophir LOJKINE
7f8753e31f
Merge pull request #451 from djyotta/daniel/450-readonly-disabled-for-textarea
...
Daniel/450 readonly disabled for textarea
2024-06-26 21:12:52 +00:00
lovasoa
9bcf1a5277
allow reversing the order of text and images in the hero component
...
closes https://github.com/lovasoa/SQLpage/issues/383
2024-06-26 23:12:03 +02:00
lovasoa
44629bff9e
Reduce the max item width in the datagrid component
...
fixes https://github.com/lovasoa/SQLpage/issues/426
2024-06-26 22:39:21 +02:00
Daniel Sheffield
7492e2f7f4
update docs and add caution on formenctype behaviour for file type input
2024-06-26 10:47:22 +12:00
matthieupeeters
d58e01e55f
Do not ignore points with a latitude of 0 in map.handlebars
...
The points that are shown on the map are filtered on {{~if latitude}}. By adding "inculdeZero=true" the points that have a latitude of 0 will also be shown.
2024-06-25 14:11:09 +02:00
Daniel Sheffield
4ded1d1c5f
apply only to textarea
2024-06-25 14:13:16 +12:00
Daniel Sheffield
a5e8664218
restore conditional on file type
2024-06-25 13:09:03 +12:00
Daniel Sheffield
e37b63b47d
just set on each component
2024-06-25 13:07:58 +12:00
Daniel Sheffield
9b8d2f1fd1
#458 - allow user to set formenctype
2024-06-25 13:00:45 +12:00
Daniel Sheffield
56701d5427
readonly doesn't work with select dropdown
2024-06-24 18:12:47 +12:00
Daniel Sheffield
35d221567d
add readonly and disabled params to select
2024-06-24 17:58:59 +12:00
Daniel Sheffield
02cd4d6acd
add readonly and disabled params to textarea
2024-06-24 17:58:46 +12:00
PChemGuy
35f35aad09
Extra parenthesis and secon instance
2024-06-24 00:53:03 +03:00
PChemGuy
e5fc38e86d
Update sqlpage/templates/shell.handlebars
...
Co-authored-by: Ophir LOJKINE <contact@ophir.dev >
2024-06-24 00:47:24 +03:00
PChemGuy
bf1f52db34
Fixes OR helper usage
...
Apparently, the OR helper only supports two arguments, so three arguments require two helper calls
2024-06-24 00:24:54 +03:00
lovasoa
e99e386a5f
include a default favicon in sqlpage
...
this fixes the Unable to read file "favicon.ico" error that was displayed by default in the console when opening a page in a browser
2024-06-23 18:19:21 +02:00
Ophir LOJKINE
587f288844
Merge pull request #445 from pchemguy/fixed-top-navbar
...
Fixes margin issue for horizontal and fluid layouts with fixed navbar
2024-06-22 10:18:54 +02:00
Ophir LOJKINE
fa12f8a645
Merge pull request #442 from pchemguy/menu-item-icon
...
Adds support for icons and image-based icons in menu
2024-06-22 10:17:57 +02:00
PChemGuy
46624b5b5e
Merge branch 'lovasoa:main' into fixed-top-navbar
2024-06-22 11:11:34 +03:00
PChemGuy
cb6d708ce4
Fixes margin issue for horizontal and fluid layouts with fixed navbar
2024-06-22 11:10:31 +03:00
lovasoa
dc0ff9b772
wrap property in list
...
fixes https://github.com/lovasoa/SQLpage/issues/437
2024-06-22 09:49:53 +02:00
Ophir LOJKINE
183ab27b75
Merge pull request #440 from pchemguy/fixed-top-navbar
...
Adds fixed top menu option to shell
2024-06-22 09:29:42 +02:00
PChemGuy
3db0bb70ff
Adds support for icons and image-based icons in menu
2024-06-22 00:36:41 +03:00
PChemGuy
5ccc5acd62
Adss fixed top menu option to shell
...
If "fixed_top_menu" boolean is set to True on the "shell" component, the top navigation bar will be fixed at top. However, it spans the entire page width (probably, by design) regardless of layout used and works best with the fluid layout.
2024-06-21 23:09:25 +03:00
lovasoa
3b727340b6
fix bug introduced in https://github.com/lovasoa/SQLpage/pull/439
2024-06-21 21:59:10 +02:00