Spencer Long
013463aafc
Merge branch 'develop' into bug/sc-24884
2024-03-27 12:45:45 -05:00
snipe
850f85ff59
Merge pull request #14369 from spencerrlongg/bug/sc-24343
...
Add new validator for custom field checkboxes and fix asset model default updates
2024-03-26 19:22:29 +00:00
spencerrlongg
5cf1a6c300
new validator for radio buttons
2024-03-25 21:03:13 -05:00
spencerrlongg
e3e01e07b1
final cleanup
2024-03-20 15:23:45 -05:00
spencerrlongg
6732b6601e
some cool progress, but something with unique not working
2024-03-12 18:33:59 -05:00
spencerrlongg
ad0f873ece
rm validation stuff
2024-03-05 11:58:00 -06:00
spencerrlongg
b6fa6cba22
note before switching tasks
2024-02-22 15:01:14 -06:00
spencerrlongg
d67ff54f4b
temporary decrypt, almost there
2024-02-20 16:20:03 -06:00
snipe
b2c8fbf349
Removed debugging
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-20 16:42:04 +00:00
spencerrlongg
fb28882f65
trim potential spaces
2024-02-14 11:59:14 -06:00
spencerrlongg
72c118a70f
cleanup
2024-02-14 11:41:46 -06:00
spencerrlongg
25241542d2
progress, going to sleep
2024-02-14 02:12:31 -06:00
spencerrlongg
57a75e68b9
maybe i do the inverse here?
2024-02-14 00:52:50 -06:00
spencerrlongg
dcf2168454
initial stuff, need to switch branches
2024-02-13 19:35:37 -06:00
Brady Wetherington
401e1842ee
Fixed pluralization bug due to dashed-locale names instead of underscored
...
Our locale directories are named things like 'en-US'. But the pluralization
code used by Laravel (through Symfony) requires locale names to be
in the format en_US. This change introduces a new Translator,
SnipeTranslator, which is a tiny set of changes against the built-in
one. It additionally adds a SnipeTranslationServiceProvider, which
loads up the new Translator.
2024-01-26 15:40:55 +00:00
snipe
8b79a8afdf
Added user observer
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 20:22:05 +00:00
snipe
68ac1aaae0
Additional comments
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-21 15:36:11 +00:00
snipe
6a2ab2cfb2
Removed line break
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-21 15:10:19 +00:00
snipe
590cd0c71f
Added Validator::replace() for friendlier interpretation of validation string
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-21 15:03:59 +00:00
snipe
766eee78b2
Removed debugging
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-21 13:47:49 +00:00
snipe
2b9e4110bc
Removed debugging
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-21 13:37:56 +00:00
snipe
4eb435e148
Use unique_undeleted instead of unique_serial
...
Signed-off-by: snipe <snipe@snipe.net>
2023-11-21 12:36:11 +00:00
spencerrlongg
b1f75a3bb3
remove unused import
2023-11-15 13:20:17 -06:00
spencerrlongg
c7f90ad86d
tested, working
2023-11-15 12:50:40 -06:00
spencerrlongg
938ec75aa7
clarifying note
2023-11-01 14:09:03 -05:00
spencerrlongg
38de69b3da
new validation rule
2023-10-18 12:41:24 -05:00
snipe
82c2a46ada
Commented out noisy debugging
...
Signed-off-by: snipe <snipe@snipe.net>
2023-10-16 23:24:03 +01:00
snipe
3f6554ee34
Use singleton for offset
...
Signed-off-by: snipe <snipe@snipe.net>
2023-10-16 23:23:43 +01:00
snipe
d2dc3253ab
Cast the request limit to intval before we try to abs()
...
Signed-off-by: snipe <snipe@snipe.net>
2023-10-07 11:34:37 +01:00
Marcus Moore
5828d29952
Remove Dusk
2023-08-30 16:43:18 -07:00
Ivan Nieto Vivanco
705411eb4d
Create the Gate that goes with the permission
2023-07-19 19:44:59 -06:00
snipe
144a6f28ec
Added intval
...
Signed-off-by: snipe <snipe@snipe.net>
2023-04-16 08:54:23 -07:00
snipe
64256351d8
Used a singleton to filter API limit value
...
Signed-off-by: snipe <snipe@snipe.net>
2023-04-16 08:46:39 -07:00
snipe
473211397f
Merge pull request #12708 from uberbrady/livewire_importer_no_subcomponent
...
Livewire importer without subcomponent
2023-03-21 23:07:04 -07:00
snipe
e40762cf7f
Small anal-retentive spacing/indenting tweaks
...
Signed-off-by: snipe <snipe@snipe.net>
2023-03-21 21:00:43 -07:00
snipe
a14d1b981d
Switched singleton to static helper method
...
Signed-off-by: snipe <snipe@snipe.net>
2023-03-21 19:22:18 -07:00
snipe
d55ae44638
Helper method to make it easier (shorter) to determine if the app is in demo mode
...
Signed-off-by: snipe <snipe@snipe.net>
2023-03-21 18:59:03 -07:00
Brady Wetherington
2f94bf96ff
Everything's all wired up; just need to clean up all the FIXME's and stuff
2023-02-28 18:36:52 -08:00
Marcus Moore
23a1b2d60a
Register the consumables.files ability
2023-01-17 17:15:23 -08:00
Marcus Moore
6c89f08193
Register the accessories.files ability and allow users with the ability to upload files for accessories
2023-01-17 16:59:50 -08:00
Marcus Moore
e23ee7540d
Register the components.files ability
2023-01-17 15:45:40 -08:00
snipe
fa439a1928
Check that the array key exists before trying to seed it
...
Signed-off-by: snipe <snipe@snipe.net>
2023-01-03 14:45:23 -08:00
snipe
d187174f00
Merge pull request #12090 from Godmartinz/deparmtnet_name_validator
...
Added: validation for department names at Company locations
2022-12-22 11:29:12 -08:00
Ivan Nieto Vivanco
b142f8e012
Add the permission to show purchase cost column to non-admin sessions
2022-12-14 23:00:35 -06:00
Godfrey M
92ae271292
adds validation for department names at Company locations
2022-11-09 13:11:33 -08:00
snipe
dcab1381e7
Check for licenses.files permissions
...
Signed-off-by: snipe <snipe@snipe.net>
2022-09-16 14:00:27 -07:00
snipe
ee4f355e49
Changed logging to debug
...
Signed-off-by: snipe <snipe@snipe.net>
2022-07-05 17:58:45 -07:00
snipe
a7dc6162fa
Simplify password attempts rate limiting
...
Signed-off-by: snipe <snipe@snipe.net>
2022-06-22 09:11:24 -07:00
snipe
ebd3c11129
Added singleton
...
Signed-off-by: snipe <snipe@snipe.net>
2022-05-19 17:55:59 -07:00
Brady Wetherington
6756dd193e
SCIM integration using the 're-do-the routes' approach, which seems like a dead-end
...
Cleaning up routes to match laravel-scim-server's recommended implementation
Some actually *working* changes for SCIM support?!
Whoops, forgot my route file
Fix public SCIM routes
Removed Ziggy, removed old generated file, yanked Ziggy references
Resolves the first set of comments for SCIM
Ensure all /api routes have baseUrl prepended
Fix the parent:: call to be, uh, actually correct :P
Clarify the route-ordering, as it is quite tricky
This gets it so that users can actually be saved..
Work around the lack of callbacks with some inheritance
Mapped a bunch more fields from SCIM into Snipe-IT's user table
More baseUrl shenanigans since we yanked Ziggy :/
Properly map job title and work with some other necessary attributes
Map more fields...
Finalized basic mapping for core and enterprise namespaces
Latest tuned settings for SCIM config to work with Azure (and others)
2022-04-05 20:26:37 +01:00