Tobias Regnery
1318dc6111
Add a backward compatibility setting for locations with companies
...
Now that locations have a company_id they get restricted to the users company with FullMultipleCompanySupport.
This breaks backward compatibility, because before everyone can handle locations without restrictions.
Add a setting right below FullMultipleCompanySupport so that everyone can switch to the desired behaviour.
The default is off and the existing behaviour is preserved.
2024-11-04 10:03:38 +01:00
Tobias Regnery
1ccbf8942c
Add ability to tie locations to companies
...
Locations are the last big part of the application that can't be tied to companies.
This can be a problem with FullMultipleCompanySupport, because you can't restrict the visibility of locations to the company of the users.
In order to change this, add a company_id to the locations table and wire everything up in the views and controllers.
Aditionally add a new formatter to filter the locations to a specific company, like it is done for assets.
Locations are properly scoped to the users company if FullMultipleCompanySupport is enabled.
If a parent location of a location has a different company than the user, the location does not show up.
2024-11-04 10:03:37 +01:00
snipe
3ee76be7e3
Added manufacturer and model_number to components
...
Signed-off-by: snipe <snipe@snipe.net>
2024-10-23 17:50:22 +01:00
snipe
1582d81e5b
Change user_id
to created_by
...
Signed-off-by: snipe <snipe@snipe.net>
2024-09-17 22:16:41 +01:00
snipe
e8f1190628
Added missing migration from #15314
...
Signed-off-by: snipe <snipe@snipe.net>
2024-08-16 10:44:28 +01:00
snipe
4356cb7b9b
Added confetti option
...
Signed-off-by: snipe <snipe@snipe.net>
2024-08-15 11:32:42 +01:00
snipe
ce5be8ac24
Merge pull request #15100 from Godmartinz/depreciation_percentage
...
Added Depreciation Percentage as an option
2024-08-12 10:10:25 +01:00
snipe
8fe6395287
Added migration
...
Signed-off-by: snipe <snipe@snipe.net>
2024-08-07 20:41:13 +01:00
Godfrey M
46a6a84ecb
adds migration and translations
2024-08-06 11:07:39 -07:00
arne-kroeger
e8d0147075
Adjusted missing down on migration and code smells
2024-07-29 19:04:10 +02:00
arne-kroeger
b18baf74d2
added options to checkout accessoires to locations and assets
...
Added #14979 : add checkout functionality to accessoires
2024-07-29 10:54:53 +02:00
Godfrey Martinez
c96ccbb6cb
Merge branch 'develop' into depreciation_percentage
2024-07-24 12:12:28 -07:00
snipe
fecd877e8b
Migration
...
Signed-off-by: snipe <snipe@snipe.net>
2024-07-23 17:35:06 +01:00
Godfrey M
aaa2858337
battling with handling depreciation percentage and amount
2024-07-16 12:25:19 -07:00
snipe
5e97ed1c7e
Added migration
...
Signed-off-by: snipe <snipe@snipe.net>
2024-07-04 13:24:11 +01:00
snipe
72affd7a5b
Added migration
...
Signed-off-by: snipe <snipe@snipe.net>
2024-06-24 14:01:31 +01:00
Brady Wetherington
28b450fd3c
Add index to 'parent_id' for users with large number of locations
2024-05-27 15:38:42 +01:00
snipe
de088d452f
Merge pull request #14451 from Godmartinz/add_decline_note_to_acceptance
...
Adds a note text area to asset acceptances/declines
2024-05-16 15:06:05 +01:00
Godfrey M
43c32fa1bf
fix class name in migration
2024-04-03 11:47:08 -07:00
Godfrey M
c01bdb42fc
renamed migration
2024-04-03 11:39:17 -07:00
akemidx
b124b9af4d
adding in change to settings table
2024-03-26 16:50:39 -04:00
Godfrey M
21c3b1fbd2
rename declined message to note, increased width of textarea
2024-03-21 14:03:25 -07:00
akemidx
8640cad033
was using lcoations and not locale. fixed
2024-03-19 16:11:32 -04:00
akemidx
dc29717623
fixing default
2024-03-19 15:51:05 -04:00
Godfrey M
b9986033cc
removed abbr. of variable, changed variable types in migration
2024-03-18 16:03:40 -07:00
akemidx
3680e04817
migration to set legacy locations to an standardized format
2024-03-18 18:29:59 -04:00
Godfrey M
8b52d5da85
fixed typos, reordered jquery, fixed migrations
2024-03-18 12:36:54 -07:00
Godfrey M
4588393b76
adds declined msg to mail notif, updates lang files and checkout acceptance controller
2024-03-18 10:25:55 -07:00
snipe
ee75df0f0a
Merge pull request #14346 from snipe/feature/sc-18728
...
Added `min_amt` functionality to licenses
2024-02-28 11:26:25 +00:00
snipe
d0d29e03db
Migration for min_amt on licenses
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-28 11:06:01 +00:00
snipe
0bd27d61b0
Added created_by to groups table
...
Signed-off-by: snipe <snipe@snipe.net>
2024-02-28 08:15:59 +00:00
Brady Wetherington
d3815ddce7
Remove commented-out timestamps on the saml_nonces table
2024-01-25 20:13:49 +00:00
Brady Wetherington
b39b575fec
Add table-check; add command-description for Artisan command
2024-01-25 20:07:18 +00:00
Brady Wetherington
81b8243e1d
Enforce SAML assertion ID uniqueness and notValidOnOrAfter attribute
2024-01-25 19:53:24 +00:00
spencerrlongg
0d853f931d
use query builder instead of model for update to skip observer
2024-01-03 18:32:13 -06:00
Spencer Long
8546407083
Merge branch 'develop' into refactor/store_asset_form_request
2024-01-02 18:05:15 -06:00
spencerrlongg
7c30261ec8
add marcus' migration changes to branch
2024-01-02 17:28:41 -06:00
snipe
4ee5ba4496
Merge pull request #14059 from snipe/localizations/new_strings_pre-6.3.0
...
Normalize language codes, updated strings
2023-12-20 00:02:47 +00:00
snipe
5e0128c9dc
Include trashed per @marcusmoore
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-19 20:23:19 +00:00
Brady Wetherington
82dd601661
Added back-migration for Big Locale Refactoring
2023-12-19 19:54:04 +00:00
snipe
70b8b7e4be
Check for a value for settings (this mostly matters in tests)
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-19 19:00:11 +00:00
snipe
9dbc38e2ca
Drop the down()
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-19 18:25:21 +00:00
snipe
ab2c85778a
Fixed migration namespace :(
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-19 18:22:06 +00:00
snipe
c306ba550c
Migration to update what we can for locales
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-19 17:42:56 +00:00
snipe
026ea41dee
Use correct language codes, updated strings
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-19 17:23:16 +00:00
snipe
2d85eeface
Added indexes for reports
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-15 13:24:01 +00:00
snipe
4dac3712a6
Added DB migration for remote_ip, action_source, user_agent in logs
...
Signed-off-by: snipe <snipe@snipe.net>
2023-12-14 14:32:26 +00:00
Marcus Moore
77ceac5747
Update docblock
2023-11-27 16:36:51 -08:00
Marcus Moore
990358750b
Add migration for postgres
2023-11-27 16:33:57 -08:00
Marcus Moore
72dbe95168
Add table prefix
2023-11-27 15:55:33 -08:00