Skip to content

Commit 2db6cf8

Browse files
committed
Merge remote-tracking branch 'origin/develop'
Signed-off-by: snipe <[email protected]> # Conflicts: # config/version.php
2 parents 43c5b41 + 5be7dee commit 2db6cf8

File tree

646 files changed

+4695
-1172
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

646 files changed

+4695
-1172
lines changed

app/Models/Asset.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1187,7 +1187,9 @@ public function scopeDeployed($query)
11871187

11881188
public function scopeRequestableAssets($query)
11891189
{
1190-
return Company::scopeCompanyables($query->where('requestable', '=', 1))
1190+
$table = $query->getModel()->getTable();
1191+
1192+
return Company::scopeCompanyables($query->where($table.'.requestable', '=', 1))
11911193
->whereHas('assetstatus', function ($query) {
11921194
$query->where(function ($query) {
11931195
$query->where('deployable', '=', 1)

config/version.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22
return array (
3-
'app_version' => 'v6.0.1',
4-
'full_app_version' => 'v6.0.1 - build 7863-g90a4ce572',
5-
'build_version' => '7863',
3+
'app_version' => 'v6.0.2',
4+
'full_app_version' => 'v6.0.2 - build 7880-g43c5b412c',
5+
'build_version' => '7880',
66
'prerelease_version' => '',
7-
'hash_version' => 'g90a4ce572',
8-
'full_hash' => 'v6.0.1-111-g90a4ce572',
7+
'hash_version' => 'g43c5b412c',
8+
'full_hash' => 'v6.0.2-128-g43c5b412c',
99
'branch' => 'master',
10-
);
10+
);
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?php
2+
3+
return array(
4+
'personal_api_keys' => 'Personal API Keys',
5+
'api_key_warning' => 'When generating an API token, be sure to copy it down immediately as they
6+
will not be visible to you again.',
7+
'api_base_url' => 'Your API base url is located at:',
8+
'api_base_url_endpoint' => '/&lt;endpoint&gt;',
9+
'api_token_expiration_time' => 'API tokens are set to expire in:',
10+
'api_reference' => 'Please check the <a href="https://snipe-it.readme.io/reference" target="_blank">API reference</a> to
11+
find specific API endpoints and additional API documentation.',
12+
);

resources/lang/af/admin/hardware/message.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
'error' => 'Bate is nie opgedateer nie, probeer asseblief weer',
1717
'success' => 'Bate is suksesvol opgedateer.',
1818
'nothing_updated' => 'Geen velde is gekies nie, dus niks is opgedateer nie.',
19+
'no_assets_selected' => 'No assets were selected, so nothing was updated.',
1920
],
2021

2122
'restore' => [

resources/lang/af/admin/settings/general.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
'auto_increment_prefix' => 'Voorvoegsel (opsioneel)',
2929
'auto_incrementing_help' => 'Enable auto-incrementing asset tags first to set this',
3030
'backups' => 'rugsteun',
31+
'backups_help' => 'Create, download, and restore backups ',
3132
'backups_restoring' => 'Restoring from Backup',
3233
'backups_upload' => 'Upload Backup',
3334
'backups_path' => 'Backups on the server are stored in <code>:path</code>',
@@ -84,6 +85,7 @@
8485
'ldap_client_tls_key' => 'LDAP Client-Side TLS key',
8586
'ldap_login_test_help' => 'Enter a valid LDAP username and password from the base DN you specified above to test whether your LDAP login is configured correctly. YOU MUST SAVE YOUR UPDATED LDAP SETTINGS FIRST.',
8687
'ldap_login_sync_help' => 'This only tests that LDAP can sync correctly. If your LDAP Authentication query is not correct, users may still not be able to login. YOU MUST SAVE YOUR UPDATED LDAP SETTINGS FIRST.',
88+
'ldap_manager' => 'LDAP Manager',
8789
'ldap_server' => 'LDAP-bediener',
8890
'ldap_server_help' => 'Dit moet begin met ldap: // (vir unencrypted of TLS) of ldaps: // (vir SSL)',
8991
'ldap_server_cert' => 'LDAP SSL-sertifikaat-validering',
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?php
2+
3+
return array(
4+
'created' => 'Created',
5+
'size' => 'Size',
6+
);

resources/lang/af/admin/users/general.php

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@
2222
'view_user' => 'Sien gebruiker: naam',
2323
'usercsv' => 'CSV-lêer',
2424
'two_factor_admin_optin_help' => 'Jou huidige administrasie-instellings laat selektiewe handhawing van twee-faktor-verifikasie toe.',
25-
'two_factor_enrolled' => '2FA-toestel ingeskryf',
26-
'two_factor_active' => '2FA aktief',
27-
'user_deactivated' => 'User is de-activated',
25+
'two_factor_enrolled' => '2FA Device Enrolled ',
26+
'two_factor_active' => '2FA Active ',
27+
'user_deactivated' => 'User cannot login',
28+
'user_activated' => 'User can login',
2829
'activation_status_warning' => 'Do not change activation status',
2930
'group_memberships_helpblock' => 'Only superadmins may edit group memberships.',
3031
'superadmin_permission_warning' => 'Only superadmins may grant a user superadmin access.',
@@ -34,4 +35,8 @@
3435
'warning_deletion_information' => 'You are about to delete the :count user(s) listed below. Super admin names are highlighted in red.',
3536
'update_user_asssets_status' => 'Update all assets for these users to this status',
3637
'checkin_user_properties' => 'Check in all properties associated with these users',
38+
'remote_label' => 'This is a remote user',
39+
'remote' => 'Remote',
40+
'remote_help' => 'This can be useful if you need to filter by remote users who never or rarely come into your physical locations.',
41+
'not_remote_label' => 'This is not a remote user',
3742
];

resources/lang/af/admin/users/table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
'email' => 'e-pos',
1111
'employee_num' => 'Werknemer No.',
1212
'first_name' => 'Eerste naam',
13-
'groupnotes' => 'Kies \'n groep om aan die gebruiker toe te ken, onthou dat \'n gebruiker die regte van die groep wat hulle toegewys is, aanvaar.',
13+
'groupnotes' => 'Select a group to assign to the user, remember that a user takes on the permissions of the group they are assigned. Use ctrl+click (or cmd+click on MacOS) to deselect groups.',
1414
'id' => 'id',
1515
'inherit' => 'erf',
1616
'job' => 'Werkstitel',

resources/lang/af/auth.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
3+
return array(
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Authentication Language Lines
8+
|--------------------------------------------------------------------------
9+
|
10+
| The following language lines are used during authentication for various
11+
| messages that we need to display to the user. You are free to modify
12+
| these language lines according to your application's requirements.
13+
|
14+
*/
15+
16+
'failed' => 'These credentials do not match our records.',
17+
'password' => 'The provided password is incorrect.',
18+
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
19+
20+
);

resources/lang/af/general.php

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
return [
3+
return [
44
'accessories' => 'bykomstighede',
55
'activated' => 'geaktiveer',
66
'accessory' => 'Bykomstigheid',
@@ -26,6 +26,7 @@
2626
'audit' => 'oudit',
2727
'audit_report' => 'Ouditlogboek',
2828
'assets' => 'bates',
29+
'assigned_to' => 'Assigned to :name',
2930
'avatar_delete' => 'Verwyder Avatar',
3031
'avatar_upload' => 'Laai avatar op',
3132
'back' => 'terug',
@@ -114,6 +115,7 @@
114115
'files' => 'Files',
115116
'file_name' => 'lêer',
116117
'file_type' => 'File Type',
118+
'filesize' => 'File Size',
117119
'file_uploads' => 'Lêeroplaaie',
118120
'file_upload' => 'File Upload',
119121
'generate' => 'genereer',
@@ -229,6 +231,7 @@
229231
'show_current' => 'Show Current',
230232
'sign_in' => 'Teken in',
231233
'signature' => 'Handtekening',
234+
'signed_off_by' => 'Signed Off By',
232235
'skin' => 'Skin',
233236
'slack_msg_note' => 'A slack message will be sent',
234237
'slack_test_msg' => 'Oh hai! Looks like your Slack integration with Snipe-IT is working!',
@@ -237,6 +240,7 @@
237240
'state' => 'staat',
238241
'status_labels' => 'Status etikette',
239242
'status' => 'status',
243+
'accept_eula' => 'Acceptance Agreement',
240244
'supplier' => 'verskaffer',
241245
'suppliers' => 'Verskaffers',
242246
'sure_to_delete' => 'Is jy seker jy wil verwyder',
@@ -350,4 +354,7 @@
350354
'checkout_tooltip' => 'Check this item out',
351355
'checkin_tooltip' => 'Check this item in',
352356
'checkout_user_tooltip' => 'Check this item out to a user',
353-
];
357+
'maintenance_mode' => 'The service is temporarily unavailable for system updates. Please check back later.',
358+
'maintenance_mode_title' => 'System Temporarily Unavailable',
359+
'ldap_import' => 'User password should not be managed by LDAP. (This allows you to send forgotten password requests.)',
360+
];

0 commit comments

Comments
 (0)