Commit Graph

240 Commits

Author SHA1 Message Date
Ryan Schaefer
062d808f04
Replace "command" tests with regex and fix broken commands
Replaces "command" detection logic with regex and fixes bug where user could not input commands of greater than length 4.


[BUG]
Cannot trigger the following:
YYYYMMDD gets expanded to the proper ISO-8601 notation

[Fix Evidence]
{will add}

[BUG]
Cannot trigger the following:
YYYYMMe or YYYYMM+ gets expanded to the end of the given month in the given year in proper notation

[Fix Evidence]
{will add}

[BUG]
Cannot trigger the following past 100:
[+/-]n[d/m/y] gets expanded to a date relative to today, while adding (+) or subtracting (-) the number of days/months/years, in proper notation

[Fix Evidence]
{will add}
2025-09-13 19:16:50 -04:00
DeepCoreSystem
31185beac5
Enhance product card chart colors for better visibility (#2794)
* Enhance product card chart colors for better visibility

* Code style

---------

Co-authored-by: Bernd Bestel <bernd@berrnd.de>
2025-08-15 16:55:50 +02:00
Bernd Bestel
8560becb83
Optimized product picker barcode clear handling (fixes #2745) 2025-05-26 20:20:40 +02:00
Fándly Gergő
e786433273
Replaced barcode scanning library with ZXing (#2706)
* Replaced barcode scanning library with ZXing

* Applied code formatting rules

* Delete now obsolete user settings

* Review

---------

Co-authored-by: Bernd Bestel <bernd@berrnd.de>
2025-03-21 17:41:39 +01:00
Bernd Bestel
b7c4011e80
Fixed link userfield saving (fixes #2670) 2025-02-06 20:09:19 +01:00
Bernd Bestel
a35db9f1d3
Optimized form input field navigation delay 2025-01-31 15:35:34 +01:00
Bernd Bestel
a177e2a185
Fixed preset-checklist userfield saving (fixes #2655) 2025-01-29 23:27:17 +01:00
Bernd Bestel
aad589eaca
Optimized product picker focus handling 2025-01-24 16:46:42 +01:00
Bernd Bestel
f4226876c9
Set focus to input after canceled product picker workflow 2025-01-23 23:22:50 +01:00
Bernd Bestel
83b8b95b73
Streamline in stock / out of stock wording 2025-01-18 10:33:26 +01:00
Bernd Bestel
ded742a7c1
Various minor usability refinements 2025-01-16 21:34:01 +01:00
Bernd Bestel
11d28622e8
Squashed commit
Make it possible to actively not-check a mandatory checkbox Userfield (closes #2601)
Pluralize the "opened" localization string (closes #2280)
Added a trendline to the price history chart (closes #2237)
Various minor style/code refinements
2025-01-14 17:54:06 +01:00
Bernd Bestel
caa28af0d2
Make product barcode matching case insensitive (closes #2609) 2025-01-13 22:29:33 +01:00
Bernd Bestel
c8ccc0b529
Optimized Userfield save event handling (fixes #2458) 2025-01-13 21:00:06 +01:00
Bernd Bestel
e7cea3d949
Optimized camera barcode scanner component 2025-01-13 00:09:28 +01:00
Bernd Bestel
96059a1b32
Optimized camera barcode scanner component 2025-01-12 23:51:00 +01:00
Bernd Bestel
245bdbe6e8
Optimized camera display/selection in barcodescanner.js 2025-01-12 19:21:40 +01:00
Bernd Bestel
b6ce9eec30
Allow empty QU when editing product barcodes (fixes #2526) 2025-01-12 14:27:19 +01:00
Bernd Bestel
c73be7d18e
Finalized frontend external barcode lookup implementation (references #158) 2025-01-12 13:58:47 +01:00
Bernd Bestel
c9ffe4885d
Implemented frontend external barcode lookup workflow + a plugin for Open Food Facts (closes #158) 2025-01-11 20:04:32 +01:00
Bernd Bestel
a2c2049037
More modal iframe dialog handling improvements 2025-01-11 15:41:04 +01:00
Bernd Bestel
201bda93a2
Revamped modal iframe dialog handling 2025-01-10 17:15:09 +01:00
Bernd Bestel
1900a5b8a2
Visual refresh 2025-01-08 20:50:35 +01:00
Bernd Bestel
b2aa882abb
Restored staged changes of 27f9d70b56 2024-12-23 18:01:29 +01:00
Bernd Bestel
d7b5b8958a
Stage changes of 27f9d70b56 (not ready yet) 2024-12-23 17:39:59 +01:00
Bernd Bestel
d5dacb1053
Optimized product Grocycode handling on consume page (and others / general) (fixes #2571) 2024-08-24 18:20:40 +02:00
Bernd Bestel
b26dfe3fb0
Restored staged changes of 27f9d70b56 2024-03-15 18:48:51 +01:00
Bernd Bestel
5c1814989a
Stage changes of 27f9d70b56 (not ready yet) 2024-03-15 18:06:46 +01:00
Bernd Bestel
c7abed0d68
Restored staged changes (ref 27f9d70b56 and 7b1a864486) 2024-02-09 18:26:23 +01:00
Bernd Bestel
7b1a864486
Revert / disable 27f9d70b56 (not ready yet) 2024-02-09 16:38:55 +01:00
Bernd Bestel
27f9d70b56
Implemented a way to use the external barcode lookup plugin also from within the frontend as a product picker workflow 2023-11-03 20:47:43 +01:00
Bernd Bestel
1e60f940e4
Properly handle empty select-multiple userfield (fixes #2339) 2023-09-15 13:43:58 +02:00
Bernd Bestel
08c1efa0ad
Unified product-/chore-/battery-card modal handling 2023-05-23 17:32:54 +02:00
Bernd Bestel
2c0a71078f
Fixed productcard opened amount display 2023-05-22 21:53:15 +02:00
Bernd Bestel
02fe3f2119
Show to amount of "Label per unit" stock entry labels (closes #2241) 2023-05-22 21:23:19 +02:00
Bernd Bestel
979c67b44c
Various JS optimizations 2023-05-21 18:01:47 +02:00
Bernd Bestel
5f65f2abd0
New logo 2023-05-19 18:08:26 +02:00
Bernd Bestel
d03175f75a
Added a separate QU for displaying prices (closes #2225) 2023-05-18 13:37:13 +02:00
Bernd Bestel
d9667b4534
Removed type conversions where no longer needed
PHP 8.1 PDO SQLite now returns native data types
2023-02-06 20:22:10 +01:00
Bernd Bestel
0c8e8cab97
Revert "Refresh product/chore/battery card only when actually visible"
This reverts commit c934bfb7b3.
2023-01-04 20:06:19 +01:00
Bernd Bestel
efae0b193d
Add amount to barcode created by the workflow InplaceAddBarcodeToExistingProduct on /purchase (closes #2085) 2022-12-29 11:21:33 +01:00
Bernd Bestel
c934bfb7b3
Refresh product/chore/battery card only when actually visible 2022-12-26 20:22:38 +01:00
Bernd Bestel
0229d187ae
Removed qu_factor_purchase_to_stock (migrated existing factors to normal product specific QU conversions) 2022-12-25 19:48:22 +01:00
Bernd Bestel
daa0a59c5f
Support transitive QU conversions on the frontend (references #2056, closes #1360) 2022-12-04 13:12:01 +01:00
Bernd Bestel
2b2dd0568b
Move back again to original tempusdominus-bootstrap-4 package (references #143 and #2036) 2022-11-12 17:25:09 +01:00
Bernd Bestel
5b53175ed6
Handle null Userfield values in userfieldsform component (fixes #1953) 2022-07-22 16:47:23 +02:00
Bernd Bestel
e64df711e2
Optimized dynamic leading zeros rounding in productamountpicker (fixes #1943) 2022-07-14 17:01:12 +02:00
Bernd Bestel
8cb9157c73
Fixed shopping list item form product barcode scan handling (fixes #1940) 2022-07-12 19:00:40 +02:00
Bernd Bestel
dbf660f953
Fix stock_auto_decimal_separator_prices input value handling (references #1917) 2022-06-11 13:51:19 +02:00
Bernd Bestel
2de87eb446
Only apply stock_auto_decimal_separator_prices when value is not empty and not already contains a decimal separator (fixes #1917) 2022-06-11 13:25:52 +02:00