Closed BenjaminHae closed 7 years ago
Let me take a look before you merge
On Sun, Mar 12, 2017 at 10:23 AM Benjamin Häublein notifications@github.com wrote:
This PR removes unnecessary php functions and contains an upgrade script to upgrade existing installations. Please create a backup beforehand.
I'm sorry this PR looks like it changed everything. I made the mistake of formatting the code. Most lines are still the same.
You can view, comment on, or merge this pull request online at:
https://github.com/zeruniverse/Password-Manager/pull/136 Commit Summary
- removed encryption
- removed encryption from initial
- fixed syntax
- syntax error
- fix typo
- fixed columns
- fix variable
- syntax
- variable
- fix columns
- fix columns
- correct update script
- syntax
- fix filepath
- error handling?
- fixed column name
- fixed where clause
- fix UPDATE
- fix update
- fix column name
- created folder for upgrade script
File Changes
- M initial.sql https://github.com/zeruniverse/Password-Manager/pull/136/files#diff-0 (3)
- D src/function/encryption.php https://github.com/zeruniverse/Password-Manager/pull/136/files#diff-1 (56)
- M src/rest/change.php https://github.com/zeruniverse/Password-Manager/pull/136/files#diff-2 (43)
- M src/rest/changefields.php https://github.com/zeruniverse/Password-Manager/pull/136/files#diff-3 (19)
- M src/rest/changeuserpw.php https://github.com/zeruniverse/Password-Manager/pull/136/files#diff-4 (68)
- M src/rest/check.php https://github.com/zeruniverse/Password-Manager/pull/136/files#diff-5 (95)
- M src/rest/delete.php https://github.com/zeruniverse/Password-Manager/pull/136/files#diff-6 (84)
- M src/rest/insert.php https://github.com/zeruniverse/Password-Manager/pull/136/files#diff-7 (40)
- M src/rest/password.php https://github.com/zeruniverse/Password-Manager/pull/136/files#diff-8 (17)
- M src/rest/reg.php https://github.com/zeruniverse/Password-Manager/pull/136/files#diff-9 (60)
- M src/rest/setpin.php https://github.com/zeruniverse/Password-Manager/pull/136/files#diff-10 (31)
- A upgrade/9.13_removeEncryption.php https://github.com/zeruniverse/Password-Manager/pull/136/files#diff-11 (72)
Patch Links:
- https://github.com/zeruniverse/Password-Manager/pull/136.patch
- https://github.com/zeruniverse/Password-Manager/pull/136.diff
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/zeruniverse/Password-Manager/pull/136, or mute the thread https://github.com/notifications/unsubscribe-auth/AEbvNPPHlNqyfGel7ZCPgY-a1EcFwaB3ks5rlCougaJpZM4Mamqx .
Sure, just merge it when you are ready.
Why this file is necessary?
upgrade/9.13_removeEncryption.php
It's an upgrade mechanism for existing installations. I can't expect every user to export their data and reimport it.
Umm it's better to put it in release rather than in main repo.
On Sun, Mar 12, 2017 at 10:57 PM Benjamin Häublein notifications@github.com wrote:
It's an upgrade mechanism for existing installations. I can't expect every user to export their data and reimport it.
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/zeruniverse/Password-Manager/pull/136#issuecomment-286021601, or mute the thread https://github.com/notifications/unsubscribe-auth/AEbvNPLHql-3DumL7rqMox2FiDUA3JMIks5rlNq6gaJpZM4Mamqx .
As long as it is somewhere I'm happy :)
On 13 Mar 2017 7:19 a.m., "Jeffery Zhao" notifications@github.com wrote:
Umm it's better to put it in release rather than in main repo.
On Sun, Mar 12, 2017 at 10:57 PM Benjamin Häublein < notifications@github.com> wrote:
It's an upgrade mechanism for existing installations. I can't expect every user to export their data and reimport it.
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/zeruniverse/Password-Manager/pull/136#issuecomment- 286021601, or mute the thread https://github.com/notifications/unsubscribe-auth/AEbvNPLHql- 3DumL7rqMox2FiDUA3JMIks5rlNq6gaJpZM4Mamqx .
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zeruniverse/Password-Manager/pull/136#issuecomment-286024075, or mute the thread https://github.com/notifications/unsubscribe-auth/AHCzsadQQwHCHMSJrT5Rvt6STKrlLi9Eks5rlOAHgaJpZM4Mamqx .
Just thought about something: When it's part of the release it should probably be part of the repository so it can a) be tested by anyone before release and b) can easily be found for newer releases when someone skips a version.
I mean, this is not a part of the new release. It's somehow like a tool. So I think it should be an attachment of the release note.
On Mon, Mar 13, 2017 at 10:06 AM Benjamin Häublein notifications@github.com wrote:
Just thought about something: When it's part of the release it should probably be part of the repository so it can a) be tested by anyone before release and b) can easily be found for newer releases when someone skips a version.
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/zeruniverse/Password-Manager/pull/136#issuecomment-286174121, or mute the thread https://github.com/notifications/unsubscribe-auth/AEbvNNBoJGGtY8ss_tiS-KqI-56ns2O9ks5rlXeKgaJpZM4Mamqx .
I think the same applies to initial.sql
;)
But I get your point. Just remove it from the pull request and add it to the next release. (I don't know if you are able to edit the PR - if you can't I'll remove the file.)
This PR removes unnecessary php functions and contains an upgrade script to upgrade existing installations. Please create a backup beforehand.
I'm sorry this PR looks like it changed everything. I made the mistake of formatting the code. Most lines are still the same.