-
Notifications
You must be signed in to change notification settings - Fork 811
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
Support running PrivateBin on OCI (Oracle Database), Part 2 #872
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor stuff (some things were already in the old PR)
Ok, that should now address most of the above points. We still need some feedback from @austinhuang0131 if this does actually work on Oracle or still has some issues. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Ignore, apparently it creates new tables where the names are lowercase, whereas the original tables are uppercase)
Could you double check if this shortened function actually works and is idempotent in Oracle SQL, i.e. by applying it repeatedly on the existing table? PrivateBin/lib/Data/Database.php Lines 828 to 836 in 0b6af67
The reference you gave me had some additional lines - I had hoped to suppress the output, but maybe they are required to give the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments still don't load properly (last comment's content visually override earlier ones).
Co-authored-by: Austin Huang <im@austinhuang.me>
Co-authored-by: Austin Huang <im@austinhuang.me>
Co-authored-by: Austin Huang <im@austinhuang.me>
Co-authored-by: Austin Huang <im@austinhuang.me>
Co-authored-by: Austin Huang <im@austinhuang.me>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The branch is now running in its current state at https://bin.bus-hit.me. I have generally tested it (create/read paste with password, upload attachment, commenting, deleting) and it's working.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor stuff only, LGTM otherwise.
Can this get merged? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code-wise for me this LGTM.
Only one question about modified parts - usage of different quotes. But if I correctly understand, |
Closes #868, supersedes #871.