Age | Commit message (Collapse) | Author |
|
- 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.
|
|
|
|
|
|
This fixes https://sourceforge.net/p/phppgadmin/bugs/422/ :
substr truncates on a byte-level, sometimes within a multi-byte character. This resulted in the whole string sometime not being displayed. See the original bug report for a way to reproduce.
Please note that this requires php-mbstring to be installed. This is usually the case, but the dependency should be described in the INSTALL file or something.
|
|
In the left tree, in tables and views, when one click on the + of browse, a message like "Erreur lors du chargement display.php?action=tree&return=schema&subject=view&view=test+vue&server=localhost%3A5432%3Aallow&database=bug422&schema=public (200: OK)" is displayed.
These items don't support tree actions, and the tree expansion should be be offered in the first place.
|
|
This commit is focused strictly on the class/constructor changes. This has
primarily been tested on php 7.1 and postgres 11, with all tests passing though
there are some spurious warnings; I have fixes for them but will add them in
seperate commits.
Note that the code here is my own, but I did look at patches from
@gabrielhomsi and @w1ldzer0 for some sanity checking. Any bugs or missing
items are on me.
|
|
Error: Divid By Zero
|
|
Fix by timding and ronlm
|
|
tables/views, and insert to tables. Based on patch by firzen, with additional work by xzilla
|
|
|
|
Dynamic themes applies the current main frame theme to the browser
tree frame without checking if it actually exists in the current
window.
Thispatch fix the resulting javascript error, breaking any other
following code.
|
|
thrown when a class is not specified, and it fixes it so that the broken admin tests pass. I'm pretty sure that ultimately we will want a better fix than this, but I'm taking the progress when I can get it. AFAICT the affore mentioned problems were introduced in https://github.com/phppgadmin/phppgadmin/commit/4680728829d8f95e29514512c9e94bb5345aa58a. If that was something you wanted, it's quite possibly broken now.
|
|
|
|
|
|
|
|
connection
Based on Julien Rouhaud patch.
|
|
Allows to add tags in <head /> from plugins
|
|
bytea columns.
Based on the POC patch from ioguix.
This fixes SF Bug # 3243916.
|
|
|
|
|
|
|
|
Plugins might need (at least Report) to set parameters in the URL and
use them in their code while working with display.php. This patch makes
sure their URL parameters are not lost while clicking on sort or pager
links when navigating in the result set.
Nice side effect: cleaner code (hopefuly with no bug...).
|
|
In some page (display, sql, ...), a "return" link will show up if
$_GET['return'] = 'plugin' is given. The "get_subject_params" method of
the plugin designated by $_GET['plugin'] is then called to add needed
parameters in the href URL.
|
|
Helpful to decide when to add a navlink or not depending on the context
|
|
Starting with PPA 5.1, Reports will be available as plugins.
|
|
It allows to have a shorter code when defining the URL array. Moreover,
PHP was silently failing to pass $link['fields'] to getActionUrl when it
was not set...
|
|
Bad escaping of the embeded js code in the tag.
|
|
|
|
|
|
sources
|
|
|
|
By Leonardo Sapiras during the GSoC 2011. Reviewed, massively patched,
fixed, integrated and commited by ioguix
|
|
By Leonardo Sapiras during the GSoC 2011. Reviewed, massively patched,
fixed, integrated and commited by ioguix
|
|
By Leonardo Sapiras during the GSoC 2011, reviewed, patched, integrated
and commited by ioguix
|
|
By Leonardo Sapiras during the GSoC 2011, reviewed, patched,
integrated and commited by ioguix.
|
|
By Leonardo Sapiras during the GSoC 2011, reviewed, patched, integrated
and commited by ioguix.
|
|
remove useless parameters and make it simpler. Takes part in the pavement
for WIP plugin architecture.
|
|
Patch by Leonardo Sapiras, remerged by ioguix.
* remove old plugin architecture
* remove plugin Slony
|
|
Add ability to nest server groups in some other groups. Thus, config
files now allows to have as many level of server groups as wanted.
|
|
|
|
The old design did not allow to escaped things properly without breaking
the return URL. Moreover, it raised some bug as well when the return URL
was too long, hitting the GET max length limit.
This patch remove the old architecture and introduce the new "return"
GET parameter that only holds the name of the section we want to go
back.
|
|
Translations, db connexions and html pages are now all in UTF-8. In
consequence:
* we remove everything about recode stuffs
* recode all lang/ translation files to UTF-8
* force UTF-8 in htmlentities
|
|
See http://php.net/manual/en/function.urlencode.php
This is only used in href parameter of A tag and should be escaped
properly.
|
|
|
|
|
|
|
|
Needed to seperate data style to presentation style.
|
|
encoding
|
|
Enabled scrollbars and bigger window size
|
|
* explicitly not support multi FK constr, only deal
with the first one. marked as FIXME
* some bad escaped vars were failing the auto-complete
on very weird table/field names
* some cleanup
|