Skip to content

Conversation

@tachtler
Copy link

@tachtler tachtler commented Apr 7, 2024

xzilla and others added 26 commits October 31, 2019 21:55
Safe mode disappeared with php 5.4 (September 2015), and version 7.1 or above is required.
https://www.php.net/manual/en/features.safe-mode.php
Notes:
- "CREATE TABLE WITHOUT OIDS" continues to work, for now
- "SHOW default_with_oids" continues to work, for now
This is mostly just refactoring Nirgals patch to use a standard
capability function. I also short-circuited default_with_oid check since it
will always show false in >=PG12, so this saves a round trip. This also adds
a comment in the config file that show oids is no longer supported. This
could lead to a slight difference in running instalations, but since it
does not affect any code/behavior, not going to bump the config version.
.build_tests.php no longer exists: There is no need to exclude it.
Note that the minimized version is not considered "source code".
- Replaced .click(function) by .on('click', function)
- Replaced .click() by .trigger('click')
- Replaced .live(event, function) by .on(event, function)
- Replaced $(document).ready(function) by $(function)
- Replaced .bind/.unbind by .on/.off
- Replaced keypress events by keydown events, so that up/down keys get
supported again.

Thanks to the jquery-migrate project.
For version 14, we point to the /devel/ docs, since that version is currently
in dev. I also bumped the fall through to point to v14, arguably we could
instead point to /current/, but any current version will work, so I think
devel is more likely.
Based on code and suggestions from @cathysax, ultimately I used the internal
pg_has_role function to test whether a user has ownership rights based on
group membership. I actually check for 'USAGE' rights, since that implies the
role has rights without need to `set role`, which users wouldn't be able to do
with a normal PPA login. Loosely tested back to 9.5.
This fixes phppgadmin#102
There was a non-UTF8 character in Marek Černocký last name. Moreover, he was already listed.
The addition of support for PostgreSQL 9.6 and above neglected to change the `Postgres94` class to inherit from `Postgres95` instead of the latest `Postgres` class. This change restores the chain of inheritance, so that `Postgres94` and classes below see overridden methods from `Postgres95` and above.
Added input field to specify a database for the login process.
Added input field to specify a database for the login process.
Added input field to specify a database for the login process.
Added input field to specify a database for the login process.
@Neustradamus
Copy link

@tachtler: Can you add your changes into this one?

Thanks in advance.

@tachtler
Copy link
Author

tachtler commented Nov 2, 2025

@Neustradamus: I already submitted a pull request on March 16, 2021 for the repository: https://github.com/phppgadmin/phppgadmin.

Thank you for your reply.

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.

7 participants