Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code review #4469

Merged
merged 8 commits into from
Nov 22, 2024
Merged

Code review #4469

merged 8 commits into from
Nov 22, 2024

Conversation

nilsteampassnet
Copy link
Owner

  • background_tasks___userKeysCreation.php: comments translations ; Ignored an error in Scrutinizer
  • task_maintenance_purge_old_files.php: Fixed an issue regarding folder ressource
  • identify.php: Fixed Scrutinizer warning, missing variables initialization
  • logs.datatables.php: fixed possible type concatenation
  • tree.php: improved recursive tree function
  • Removed some unused variables
  • Added Scrutinizer ignore
  • Reworked function storeUsersShareKey() based upon Scrutinizer findings

* Added Scrutinizer ignore
* Reworked function storeUsersShareKey() based upon Scrutinizer findings
…nored an error in Scrutinizer

* task_maintenance_purge_old_files.php: Fixed an issue regarding folder ressource
* identify.php: Fixed Scrutinizer warning, missing variables initialization
* logs.datatables.php: fixed possible type concatenation
* tree.php: improved recursive tree function
'error' => true,
'message' => $lang->get('error_bad_credentials'),
'error' => false,
'user_info' => $userADInfos
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not necessarily a problem but I wonder what exactly $userADInfos contains.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I remember well, $userADInfos contains a set of LDAP user attributes such as DN, mail, givenname, etc.

Copy link
Contributor

@corentin-soriano corentin-soriano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few minor changes and it should be okay, nice job!

* Fixed ordering not working
@nilsteampassnet nilsteampassnet marked this pull request as ready for review November 22, 2024 06:30
Copy link
Contributor

@corentin-soriano corentin-soriano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@nilsteampassnet nilsteampassnet merged commit e85946c into master Nov 22, 2024
1 check failed
@nilsteampassnet nilsteampassnet deleted the code_review branch November 22, 2024 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants