snipe
b80d3ce50d
Hopefully fixes #4218
2017-10-18 00:36:52 -07:00
snipe
c069829b33
Fixes #906 - groups view
2017-10-17 21:43:57 -07:00
Geoff Young
665a113ed8
Update account history query ( #4237 )
...
This will limit the action_log records displayed when a user is viewing
their own assets and history since both target_type and target_id must
be set for a where condition to be added to the history query.
2017-10-17 20:39:49 -07:00
snipe
c01850fc73
Corrected Italian to Irish in language selector
2017-10-17 19:19:46 -07:00
snipe
c776fa4f7b
Updated language strings
2017-10-17 18:52:20 -07:00
snipe
dc91d10395
More possible fixes for #4210
2017-10-17 17:35:48 -07:00
snipe
668a88bc86
Add autocomplete=off to settings forms for #4210
2017-10-17 17:18:17 -07:00
snipe
160fd1c86a
Added setting to let admin decide whether footer text should link back to site
2017-10-17 13:54:03 -07:00
snipe
b46cbac911
Fixes #4230 - adds model name and manufacturer to emails
2017-10-17 13:30:32 -07:00
snipe
9e9a5b7a53
Changed checkin/checkout buttons to different colors for easier visibility
2017-10-17 11:32:09 -07:00
snipe
e7fe91c9d4
Depreciation view
2017-10-17 11:20:05 -07:00
snipe
02db0f9f9d
Handle deleted assets in maintenance
2017-10-16 21:28:05 -07:00
snipe
e0668b7507
Handle references to suppliers that have been deleted
2017-10-16 21:19:06 -07:00
snipe
9cc25bcfd0
Hopefully fixes #4150
2017-10-16 20:34:22 -07:00
snipe
7455b1019a
Hacky possible fix for subdir issues
2017-10-16 20:12:11 -07:00
snipe
f64382aa00
Nicer error display in LDAP tests
2017-10-16 10:10:11 -07:00
snipe
c61bed52c8
Removed danger class
2017-10-16 09:38:09 -07:00
snipe
aeb5152789
Removed extranneous class for danger text
2017-10-16 09:04:38 -07:00
snipe
45c2af80a3
More LDAP testing US refinements
2017-10-16 09:00:51 -07:00
snipe
1fbf3753bc
More small LDAP test improvements
2017-10-16 07:07:21 -07:00
snipe
b107280b7b
Slightly nicer UI for LDAP login test
2017-10-16 06:39:36 -07:00
snipe
f1a6926ad9
LDAP test login
2017-10-16 06:34:04 -07:00
snipe
59a126c47c
Small tweaks to LDAP test
2017-10-16 05:52:18 -07:00
snipe
a98d94ccdc
Pass token to LDAPtest
2017-10-16 05:22:37 -07:00
snipe
c0b39701cc
Fixes #4170 - asset maintenance type not showing
2017-10-14 16:17:14 -07:00
madd15
e2bac62e36
Fix #4205 ( #4213 )
...
* Fixing various UI items
* Revert css change
* Dashboard icon CSS up 4px
2017-10-14 00:14:22 -07:00
snipe
6d4574130f
Clearer indication of whether or not the user will be emailed a eula
2017-10-11 14:44:25 -07:00
madd15
4ee7765403
Change Save buttons to Checkout and add Cancel ( #4202 )
...
Bringing components and consumables checkout page inline with other
checkout pages
2017-10-11 13:29:22 -07:00
Richard Schwab
059f8f5bc9
Remove dead macro code ( #4164 )
...
The barcode_types macro existed twice in the code, the second occurrence overriding the first one.
This commit removes the first occurrence which is essentially dead code.
2017-10-09 13:06:05 -07:00
Daniel Meltzer
e9f10dd74e
Maybe Fix #4052 . Missed an absolute URL. ( #4187 )
2017-10-09 13:04:38 -07:00
snipe
d7c9fcc8df
Small manufacturer display tweaks on license view to make text clearer, link phone
2017-10-07 08:27:56 -07:00
snipe
11f99a963a
Removed extra comma in demo warning
2017-10-07 08:03:08 -07:00
snipe
f858b2858d
Add language about the demo resetting daily to en files
2017-10-07 07:59:57 -07:00
snipe
907b909223
Fixed language on settings page
2017-10-07 07:44:08 -07:00
snipe
ed8efbe759
Add dateFormatter to components view
2017-10-07 06:57:02 -07:00
snipe
df4cb7d351
Don’t reload the page if the API returns a 500
2017-10-06 18:15:13 -07:00
Richard Hofman
f2be409914
LDAP sync improvements and DB query fix. ( #4148 )
...
* Set 'ldap_ou' Location field to NULL when an empty string is submitted.
* Consolidate LDAP user import logic in LdapSync.php.
2017-10-06 16:15:14 -07:00
snipe
a054cec7c9
Supress output if no title is given
...
This should never happen, but….
2017-10-05 22:51:33 -07:00
madd15
7b10213b3a
Small UI Tweaks to Accessories ( #4149 )
...
* Small UI Change
Changing Save button for Checkout button and adding Cancel button
* Small UI Change
Move buttons to match checkout page and remove extra save button
2017-10-04 23:28:13 -07:00
snipe
eaf55f5e79
Hide table toolbar id models are deleted
2017-10-03 18:12:30 -07:00
snipe
32b01b8f38
Toggle button deleted/not for models
2017-10-03 18:06:41 -07:00
snipe
6dd4282f1f
Fixes #4130 - show deleted asset models
2017-10-03 17:53:08 -07:00
snipe
3f44987799
Small logo size tweaks
2017-10-03 14:15:03 -07:00
snipe
b4fec068d0
Use asset url for favicon on login blade
2017-10-03 13:44:50 -07:00
snipe
fcb1283a14
Added missing deployed page title
2017-10-03 12:49:53 -07:00
snipe
c8bed867da
Export PDF as landscape
2017-10-03 07:32:18 -07:00
snipe
aab635154a
Default to turning CSP off until we can fix vue/CSP issues
2017-10-02 13:29:14 -07:00
Geoff Young
169dc779fd
Fix box title in Label settings view ( #4111 )
2017-10-02 13:00:32 -07:00
snipe
d28e882f5d
Fixed form close tag
2017-10-02 12:57:01 -07:00
snipe
e26d038589
Fixed license checkin form UI
2017-10-01 15:08:32 -07:00
Daniel Meltzer
a2453be573
Pass urls to passport vue components to make work in subdirectories. ( #4090 )
2017-10-01 13:59:07 -07:00
Daniel Meltzer
c2616412c0
Add laravel routes to javascript ( #4092 )
...
* Add laravel routes to javascript
This will clean up a lot of passing of urls. Adds a route() helper and
everything...
This commit also moves the customfield fetching to only be fetched once
and shared with each file, rather than once for each file.
* Try to fix travis unit test things.
* Downgrade doctrine/inflector for php5
* Attempt to occasional seeder issues on travis if the asset does not generate validatable data.
* Update sql dump for functional tests.
* Try to fix api tests.
2017-10-01 12:59:55 -07:00
Daniel Meltzer
23ca2d9a0b
Minor fixes ( #4091 )
...
* Fix old urls.
Still had some /admin/ urls floating around, which was causing bad
redirects in some instances. Should fix #4085
* The modal seems to be confusing license upload. be more explicit in the route we redirect to.
* Fix #4039 . Use proper methods for location assets.
This also fixes a bunch of n+1 issues in the transformer. Also: curious
to know what Location::assets() does, because it doesn't do what I want
it to :)
2017-10-01 12:57:04 -07:00
snipe
7d5b08446a
Missing colon in status explanations
2017-09-29 17:52:43 -07:00
Daniel Meltzer
655ca78633
Adjust the import controller to return a url to the process path to enable processing an uploaded file without refresh. ( #4080 )
2017-09-29 17:49:35 -07:00
snipe
24cad588bd
Added preceding icons in polymorphic formatter
2017-09-29 17:32:16 -07:00
snipe
fe644c76c5
Better explanations of how status label metas work
2017-09-29 17:03:21 -07:00
snipe
43ff66e4d9
More UI tweaking for meta statuses
2017-09-29 15:24:33 -07:00
snipe
2ea91266c0
Init lightbox
2017-09-29 14:26:00 -07:00
snipe
5223ec1dbb
Clearer status listing in the sidenav
2017-09-29 12:13:15 -07:00
snipe
fe1975067a
Hopefully clearer status label meta info
2017-09-29 12:03:02 -07:00
snipe
b9e79c27a8
Added nonce to basic blade
2017-09-29 05:49:26 -07:00
snipe
b8ed6a53b6
For #3998 - Added nonce to all.js
2017-09-29 04:53:24 -07:00
snipe
9ce2d1f560
Merge branch 'csp-middleware' into develop
2017-09-29 04:14:33 -07:00
snipe
7fe2a1f802
Fixes #4051 - use delete method for deleting user files
2017-09-29 01:48:16 -07:00
snipe
aab409dec2
Fixes #4061 - bulk checkout error
2017-09-28 22:22:21 -07:00
snipe
42c2a66946
Small UI tweaks for accessories
2017-09-28 21:18:16 -07:00
snipe
4d32f2b337
Fixes #4059 - accessories view
2017-09-28 21:18:00 -07:00
snipe
46d87849f4
Added content security middleware
2017-09-28 19:45:15 -07:00
snipe
507f1f196c
Added integrity hashes
2017-09-28 18:46:16 -07:00
snipe
adac5ac544
Check for valid asset
2017-09-28 17:32:37 -07:00
snipe
915c19ebda
Merge branch 'develop' of github.com:snipe/snipe-it into develop
2017-09-28 16:03:41 -07:00
snipe
7fded367c4
Adds rel="noopener" to footer links
2017-09-28 16:03:36 -07:00
Daniel Meltzer
0a4743210c
Pass urls to vue. Should fix subdirectory issues. ( #4054 )
2017-09-28 16:03:04 -07:00
snipe
3d7277398c
Fixes #4057 - sig file in lightbox
2017-09-28 15:13:05 -07:00
snipe
979ecf961d
Added back button to oauth page
2017-09-27 16:33:51 -07:00
snipe
13dcdf41b8
Fixes #4045 - missing back button
2017-09-27 16:32:37 -07:00
snipe
d844734b6c
Use named login route
2017-09-27 16:22:02 -07:00
snipe
d1112bbc99
Fix created_at date display for groups index
2017-09-27 15:28:02 -07:00
snipe
bd0498aa69
Fixes #4016 - signature file missing from history tab
2017-09-27 12:58:08 -07:00
gizzmojr
f2a62857cb
Clear audit input field ( #4010 )
2017-09-25 22:15:29 -07:00
snipe
f2ee7dcabb
Fixes #4001 - license checkout not working
2017-09-25 21:40:43 -07:00
snipe
0a0661bf41
Additional fixes for #3995 in atypical blades
2017-09-25 15:41:02 -07:00
snipe
6ee939d29b
Allegedly fixes #3995 - subdirectory issues with JS/CSS
2017-09-25 15:39:18 -07:00
snipe
34dfcb5add
Merge branch 'develop'
2017-09-22 17:23:38 -07:00
snipe
30019a144a
Disable login note editing on demo
2017-09-22 17:23:22 -07:00
snipe
3e222b674a
Merge branch 'develop'
...
# Conflicts:
# resources/views/hardware/view.blade.php
2017-09-22 17:04:43 -07:00
snipe
e316444c63
Show suppliers link - force cache break?
2017-09-22 17:03:57 -07:00
snipe
b29d7beb3a
Merge branch 'develop'
...
# Conflicts:
# .gitignore
# Dockerfile
# README.md
# app/Http/Controllers/AccessoriesController.php
# app/Http/Controllers/AssetMaintenancesController.php
# app/Http/Controllers/AssetsController.php
# app/Http/Controllers/ConsumablesController.php
# app/Http/Controllers/GroupsController.php
# app/Http/Controllers/LicensesController.php
# app/Http/Controllers/ReportsController.php
# app/Http/Controllers/UsersController.php
# app/Http/routes.php
# app/Models/Depreciation.php
# app/Models/Location.php
# config/version.php
# resources/views/account/view-assets.blade.php
# resources/views/hardware/edit.blade.php
# resources/views/hardware/view.blade.php
# resources/views/partials/modals.blade.php
# resources/views/reports/custom.blade.php
# snipeit.sh
2017-09-22 16:12:18 -07:00
snipe
626a6408d0
Additional Danish and Polish translations
2017-09-18 19:12:37 -07:00
Daniel Meltzer
922d6937ae
Custom field import repair ( #3968 )
...
* There is no notes field on accessories. Fixes Importer Test.
* Fix notification test. We should see a checkout not allowed exception when trying to check out to a location if the asset requires acceptance.
* Fix Custom field import.
Add a test for custom field import, and fix a few issues related to
importing custom fields. This will restore v3 functionality.
* Add UI support for mapping custom fields.
This still requires the field mappings to be created/assigned in
advance, but will fetch all custom field names and allow them to be
selected when setting up custom field mappings.
This commit also updates laravel-mix to v1.4.3 and other node
dependencies to fix some build issues.
* Fix some requestable asset page/assetloc issues. I'd love to know why laravel expections relationships to be in lower case... but thats a question for another day.
2017-09-18 12:29:08 -07:00
snipe
e7d72beb88
Also check for $snipeSettings in the first place
...
Since the preflight also uses this basic blade
2017-09-12 13:08:43 -07:00
snipe
01e3f4a4db
Use site name if provided in the settings table for basic template
2017-09-12 13:01:51 -07:00
snipe
81e358a01d
Small maintenance fixes
2017-09-08 17:49:01 -07:00
snipe
ae8c9d6afc
Updated translations
2017-09-06 18:05:32 -07:00
snipe
faeca4139d
Added new languages, commented out ones with 0% translated
2017-09-06 17:51:11 -07:00
snipe
47909b93f7
Fixed deleted users/restore users view
2017-09-06 17:11:43 -07:00
snipe
472658b2fe
Fixes #3924 - missing/donked language string
2017-09-06 17:11:23 -07:00
Daniel Meltzer
ae0573b3da
Fix asset create ( #3929 )
...
* Fix accidental commit of ImporterTest.
* Move the name() method to the presenter
This fixes some weird collisions between laravels voodoo and our
presenter voodoo that confused php. It's also probably a cleaner place
to put it. Should fix #3927
* Add missing parenthesis
* Add heading to tables on locations/view page.
2017-09-06 16:24:43 -07:00
Daniel Meltzer
987536930c
Assorted fixes ( #3923 )
...
* Fix some n+1 problems
* Use route in notification dropdown to make sure we link to correct page
* Work on better UI support for checkout to non-user. Fix links on index bootstrap table, work towards eliminating assignedUser
* Remove Asset::assigneduser() relationship. Instead add a checkedOutToUser() method and/or port to using assignedTo()
* Adjust string to fit new reality
* Fix #3780 . Move the consumables getDataView method to the ApiController. Not entirely RESTful, but it's a weird method that probably doesn't need its own controller and the functionality would be strange to stack on the userscontroller...
* Fix file uploads to assets and restore the delete route.
* Add asset maintence edit action to index.
* Suppliers asset list should link to the related asset, not to the supplier with same ID.
* Asset models page should use polymorphic formatter on assigned to to better handle assorted item types.
* Comment out more assigneduser fallacy until we figure out the query builder approach to searching for location text.
2017-09-05 17:54:58 -07:00
snipe
10f322198f
Move audited count to top of table
2017-08-31 21:31:07 -07:00
snipe
c92eed2b3e
Small HTML email tweaks
2017-08-31 21:17:02 -07:00
snipe
0054ce3071
Fixes #3907
2017-08-31 13:45:48 -07:00
Daniel Meltzer
bb874012d9
Progress towards better email notifications ( #3911 )
...
Working mail from notification. Still requires testing/cleaning
Add tests around checkout notification.
This also removes the ability to check out an asset to a location|asset
that requires acceptance/a Eula. For 4.1 we may think about how to
support such a thing, but at present it seems to make sense to only alow
such assets to be checked out to users, who can be responsible for the
items.
2017-08-31 11:14:21 -07:00
snipe
22233e3ba6
Bulk asset audit form (needs more testing)
2017-08-29 16:00:22 -07:00
snipe
42175782a5
Only pull logo if there is a value
2017-08-26 17:43:00 -07:00
snipe
d98ffd94f9
Localized modal titles with correct headers
2017-08-26 16:16:41 -07:00
Brady Wetherington
6ad5da44f3
Formalize modals ( #3898 )
...
* Refactor Modal JS into standalone file, remove duplicated JS and HTML
* Finish fixing Bulk-checkout and checkout
2017-08-26 16:06:52 -07:00
snipe
479f422e68
Added default if no audit settings are in place
2017-08-26 15:27:50 -07:00
snipe
fba3949530
Fixes #3888 - broken preview of existing assets
2017-08-26 15:21:10 -07:00
snipe
abc3dea8ac
Fixed wonky datepicker on bulk checkout
2017-08-26 14:16:16 -07:00
snipe
51d74ac06d
Auduting improvements
2017-08-25 18:40:20 -07:00
snipe
bd02b9ed62
Audit tweaks
2017-08-25 10:18:18 -07:00
snipe
16f57e16cb
Fixes #1190 - added basic audit workflow
2017-08-25 10:04:19 -07:00
snipe
af6f208c43
Reordered settings nav
2017-08-25 10:03:05 -07:00
snipe
e27f6a483d
Updated translations
2017-08-25 07:32:57 -07:00
snipe
1448229cd2
Fixes location user route
2017-08-25 06:30:00 -07:00
snipe
08f3e78d26
Merge branch 'checkout-to-location-v2' of https://github.com/dmeltzer/snipe-it into dmeltzer-checkout-to-location-v2
...
# Conflicts:
# app/Http/Controllers/Api/UsersController.php
# app/Http/Transformers/LocationsTransformer.php
# resources/views/locations/view.blade.php
# routes/api.php
# tests/_data/dump.sql
2017-08-25 06:04:22 -07:00
snipe
62227ec27d
Link to location in user view
2017-08-25 05:48:32 -07:00
Brady Wetherington
a37cb616eb
Add Error DIV's to all modals ( #3886 )
2017-08-24 22:43:05 -07:00
Brady Wetherington
c1dcc22217
Refactor and improve Modal support for Assets ( #3884 )
2017-08-24 22:24:02 -07:00
snipe
ca78b3ed7c
Fixes models on create asset
2017-08-23 13:08:42 -07:00
snipe
5e9331f5ae
Fixed typo. (English is hard. Let’s go shopping!)
2017-08-23 04:00:10 -07:00
snipe
6e30fa6922
Fixes custom fields in asset listing where no custom fields were assigned
2017-08-23 03:28:13 -07:00
snipe
2958630923
Fixed some settings text
2017-08-22 22:11:26 -07:00
snipe
06c5bce3c7
Fixes #3865 - employee number mislabeled in list output
2017-08-22 21:40:35 -07:00
snipe
9bda62d295
ADDED: Password rules for complexity, min length, rejecting common passwords
2017-08-22 20:32:39 -07:00
snipe
1d7e243d0a
Fixes #3790 - parent display on locations index
2017-08-22 15:02:31 -07:00
snipe
6310670835
Fixes #3869 - asset maintenances API endpoints
2017-08-22 13:52:06 -07:00
snipe
15bb30acd6
Fixes #3873 - show groups correctly on user listing page
2017-08-22 12:29:46 -07:00
snipe
71c1c74164
Fixes #3085 - adds “change password” functionality back to user accounts
2017-08-22 12:09:04 -07:00
snipe
25dc26aac3
Added 30 as page selector value for label printing
2017-08-21 22:31:37 -07:00
snipe
101a09b421
Removed chart (for now)
2017-08-09 19:00:54 -07:00
snipe
cb1e3b7978
Fixed encryption warning on custom fields
2017-08-09 18:40:45 -07:00
snipe
df87c82ddc
Fixes #3805 - add/update/delete methods for User API
2017-08-03 19:50:18 -07:00
snipe
a2d63dd3e4
Fixes #3776 - adds Company to Dept UI
2017-07-29 16:42:17 -07:00
Donald M
f0bbe38c71
fixes #3725 in develop branch ( #3800 )
...
added button for create Asset Model to index.blade.php in develop branch.
2017-07-29 15:33:16 -07:00
snipe
ee7348d0d5
Better fix for javascript formatter for employee number
2017-07-26 16:47:47 -07:00
snipe
ac29b142dc
Adds max thumbnail width to asset listings, settings
2017-07-25 19:36:38 -07:00
snipe
978a906513
Fixes undefined error when validation fails on asset save
2017-07-25 19:32:09 -07:00
snipe
dfa0714d44
Fixes #3770 - account update not saving correctly
2017-07-25 12:28:11 -07:00
snipe
0fbf9236f4
Fixes #3742 - add employee number to asset listing
...
Also removes asset report, since it’s basically the exact same output as the asset listing
2017-07-25 01:17:23 -07:00
snipe
c64ca76b3d
Fixes API route
2017-07-25 01:16:31 -07:00
snipe
ae0b639d0c
Added link to AGPL
2017-07-25 00:24:22 -07:00
snipe
7c6143bbb8
Fixes #3754 - incorrect language translation location for supplier
2017-07-17 16:39:19 -07:00
snipe
346156bae1
Added colored icons to indicate status types versus status labels
2017-07-17 16:19:52 -07:00
gibsonjoshua55
3cfcc43efa
Adds basic GET api support for CustomFieldsets ( #3697 )
...
* Adds basic GET api support for CustomFieldsets
Currently there is not support for getting what fields a given fieldset contains
from the API. This commit creates a new API Controller for CustomFieldsets as
well as Transformers for CustomFields CustomFieldsets. Additionally, the api
route has been updated so that a show method can be access from
http://myapp/api/v1/fieldsets/{id}
* CustomFieldsetsTransformer only returns id and name of model
* Added index api method for CustomFieldsets
* Removes copy/paste error in CustomFieldsetController (including search)
* Added id to CustomFieldsetsTransformers
* Adds custom_fieldset_id as a field when storing and updating AssetModels
* Removed uncessesary parameter from CustomFieldsetsController.index
* Cleaned up CustomFieldset API
2017-07-12 17:51:22 -07:00
snipe
9bcfe0748b
Make custom fields into their own JSON array
2017-07-08 18:44:28 -07:00
snipe
0cc9c214aa
Added tooltip for undeployable items
2017-07-08 13:39:07 -07:00
snipe
c48bcb7ed1
Added tooltips for checkin/checkout
2017-07-08 13:36:37 -07:00