jekkos
d0992a92e7
Revert "HTMLPurifier filtering on searches"
...
This reverts commit b3b8e7ec1d .
2024-08-03 23:16:31 +02:00
objecttothis
e1f8b73005
Add check to migration to prevent errors ( #4032 )
...
* Add check to migration
- Only drop the constraint if it exists.
Signed-off-by: objecttothis <objecttothis@gmail.com >
* Automatic bump of package-lock.json
Signed-off-by: objecttothis <objecttothis@gmail.com >
---------
Signed-off-by: objecttothis <objecttothis@gmail.com >
2024-07-27 00:08:49 +04:00
Steve Ireland
05538570ec
Supplementing issue #3997 , this change allows the discount amount to be deleted by the user (instead of needing to enter a zero).
2024-07-26 21:36:19 +02:00
Steve Ireland
82aac4ec79
Resolving issue #3997 for discount type toggle not staying put.
2024-07-26 21:36:19 +02:00
Steve Ireland
d2622e94d7
An attempt to resolve issue #4025 . Since a kit item code is prefixed by "KIT" it's not going to work to always assume that the item id is numeric. So "int" needs to be replaced with "string".
2024-07-22 08:38:18 +02:00
Steve Ireland
034f79e157
Start Daily Sales with selected customer ( #4019 )
2024-07-08 20:48:31 -04:00
Steve Ireland
c972cdfaf4
Correct a constraint that wasn't using the full unique key based on composite keys. ( #4014 )
2024-07-01 13:25:11 -04:00
Steve Ireland
a1e8841129
Missed a comma ( #4012 )
2024-06-27 19:38:47 +02:00
jekkos
70ac367761
Reinstate required_username translation ( #3468 )
2024-06-27 19:38:37 +02:00
Temuri Doghonadze
a9fcbc624b
Translated using Weblate (Georgian)
...
Currently translated at 100.0% (85 of 85 strings)
Translation: opensourcepos/ci4-upgrade
Translate-URL: https://translate.opensourcepos.org/projects/opensourcepos/ci4-upgrade/ka/
2024-06-27 19:38:37 +02:00
Temuri Doghonadze
fd163923ad
Added translation using Weblate (Georgian)
2024-06-27 19:38:37 +02:00
khao_lek
35fe460692
Translated using Weblate (Thai)
...
Currently translated at 100.0% (85 of 85 strings)
Translation: opensourcepos/ci4-upgrade
Translate-URL: https://translate.opensourcepos.org/projects/opensourcepos/ci4-upgrade/th/
2024-06-27 19:38:37 +02:00
Steve Ireland
0b889ec443
Clean up install.md a bit ( #4012 )
...
Corrected primary keys involving person_id.
Corrected a couple of errors in constraints involving compound keys.
2024-06-27 19:38:09 +02:00
jekkos
154fe9f9e3
Temporarily remove linter ( #3708 )
2024-06-15 17:19:15 +02:00
objecttothis
0bd0d48c91
revert fallback language to en
...
Signed-off-by: objecttothis <objecttothis@gmail.com >
2024-06-15 17:19:15 +02:00
objecttothis
c942f53bf1
Minor fixes.
...
- Correct capitalization.
- Revert assignment to an invalid language code.
- Correct dynamic assignment in config singleton.
Signed-off-by: objecttothis <objecttothis@gmail.com >
2024-06-15 17:19:15 +02:00
BudsieBuds
c39b733c90
Language fallback improvement
...
- Changes for following best practice for CI4 localization
- Norwegian and Urdu languages now working again
- Sort languages by alphabet in config
2024-06-15 17:19:15 +02:00
jekkos
fea38e1608
Sync language files ( #3468 )
2024-06-15 17:19:15 +02:00
SpookedByRoaches
4436d7396d
Fixed get_definition_by_name so that it does not get deleted
...
definitions.
2024-06-15 17:19:15 +02:00
objecttothis
52723ceeec
Updated PHPDocs
...
- Added @noinspection PhpUnused to AJAX-called functions to remove weak warning that the function is unused. This will be needed for the linter.
- Referenced where the function is called in the PHPdocs.
- Removed redundant transaction. batch_save() is already being run in a transaction.
- Fixed function name in controller and view.
- Removed form helper load because it's autoloaded.
- Corrected variable reference in Secure_Controller.php
Signed-off-by: objecttothis <objecttothis@gmail.com >
2024-06-15 17:19:15 +02:00
objecttothis
b3b8e7ec1d
HTMLPurifier filtering on searches
...
- Formatting
- Added calls to HTMLPurifier
- Added filtering
- Refactored out variable for clarity
Signed-off-by: objecttothis <objecttothis@gmail.com >
2024-06-15 17:19:15 +02:00
objecttothis
8408bb0d80
Revert push
...
Signed-off-by: objecttothis <objecttothis@gmail.com >
2024-06-15 17:19:15 +02:00
objecttothis
14248edc06
HTMLPurifier filtering
...
- Replaced == with === to avoid type juggling
- Removed unneeded TODO
- Added HTMLPurifier to composer.json
- Added Service to allow singleton instance of purifier.
- Implemented use in Customer Controller Search function.
Signed-off-by: objecttothis <objecttothis@gmail.com >
2024-06-15 17:19:15 +02:00
objecttothis
061ed57bf2
- Corrected capitalization
...
Signed-off-by: objecttothis <objecttothis@gmail.com >
2024-06-15 17:19:15 +02:00
SpookedByRoaches
11d5abe6d7
Fixed csv import when updating items that have a barcode
2024-06-15 17:19:15 +02:00
BudsieBuds
e4c1f4a146
Update README.md
...
Updated Travis CI badge
2024-06-15 17:19:15 +02:00
BudsieBuds
c384909cf6
Update BUILD.md
...
Reflect changes in #3826
2024-06-15 17:19:15 +02:00
jekkos
dfe614efaf
Fix pie charts ( #3773 )
2024-06-15 17:19:15 +02:00
jekkos
a1c3b2090b
Fix graphical reports ( #3773 )
2024-06-15 17:19:15 +02:00
jekkos
07e09e1948
Fix register functionality
...
Fix controller method names
2024-06-15 17:19:15 +02:00
jekkos
f81dfe1b0b
Fix permissions checkbox state ( #3993 )
2024-06-15 17:19:15 +02:00
BudsieBuds
9fe578504c
Update login screen
...
- Updated deprecated BS5 classes
- Throw errors in separate alert boxes and not as an <ul>
- Make error translatable
- Small updates/fixes
2024-06-15 17:19:15 +02:00
jekkos
f9f40c7f3c
Remove linter overrides ( #3708 )
2024-06-15 17:19:15 +02:00
jekkos
46009b2062
Remove admin folder from linter ( #3708 )
2024-06-15 17:19:15 +02:00
jekkos
24772f856f
Remove action for userguide ( #3708 )
2024-06-15 17:19:15 +02:00
jekkos
857ef96724
Add workflow to test coding standards
2024-06-15 17:19:15 +02:00
jekkos
9da7c73415
Fix gulp font copy issue ( #3987 )
2024-06-15 17:19:15 +02:00
objecttothis
63ae5494a7
- Converted raw queries to QueryBuilder where possible
...
- Removed completed TODOs
- Added TODOs and comments where needed.
Signed-off-by: objecttothis <objecttothis@gmail.com >
2024-06-15 17:19:15 +02:00
objecttothis
1328b4d9b8
- Removed TODOs that had been completed
...
- Added TODO where we need to convert to querybuilder
- Converted to switch statement.
- Removed unnecessary local variable
- Replaced Qualifiers with imports
- Replaced isset() call with null coalescing operator
- Replaced strpos function calls in if statements with str_contains calls
- Removed unnecessary leading \ in use statement
- Replaced deprecated functions
- Updated PHPdocs to match function signature
- Added missing type declarations
- Made class variables private.
- Explicitly declared dynamic properties
- use https:// links instead of http://
- Fixed type error from sending null when editing transactions
- Fixed Search Suggestion function name in Employees, Persons, Suppliers controller
- Fixed function name on Receivings Controller
Signed-off-by: objecttothis <objecttothis@gmail.com >
2024-06-15 17:19:15 +02:00
objecttothis
41d06f5f79
Remove unneeded use statement
...
Signed-off-by: objecttothis <objecttothis@gmail.com >
2024-06-15 17:19:15 +02:00
objecttothis
5824f78d55
Convert raw query to querybuilder for security
...
Signed-off-by: objecttothis <objecttothis@gmail.com >
2024-06-15 17:19:15 +02:00
SpookedByRoaches
17908b55ef
Make register background colors use bootswatch
2024-06-15 17:19:15 +02:00
jekkos
3963b2c924
Fix redirect + no permission error message
2024-06-15 17:19:15 +02:00
jekkos
8d59cd9d83
Fix no_access route ( #3984 )
2024-06-15 17:19:15 +02:00
jekkos
bd1af2b854
Fix delete payment ( #3983 )
2024-06-15 17:19:15 +02:00
jekkos
8886cac056
Update travis file ( #3916 )
2024-06-15 17:19:15 +02:00
jekkos
8f52e283bb
Add gulp compress task ( #3916 )
2024-06-15 17:19:15 +02:00
jekkos
c9c6a88c5d
Add suffix to exported filename ( #3970 )
2024-06-15 17:19:15 +02:00
jekkos
2fdddbc043
Revert gulp downgrade ( #3909 )
2024-06-15 17:19:15 +02:00
jekkos
75b00be637
Upgrade jspdf ( #3909 )
2024-06-15 17:19:15 +02:00