Commit Graph

154 Commits

Author SHA1 Message Date
Michal Čihař
6ca77a8b5e Simplify https condition as we already know this. 2010-01-21 12:49:09 +00:00
Michal Čihař
7c4eb67e13 We don't need __wakeup in PMA_Config as it is no longer in session. 2010-01-21 12:35:05 +00:00
Michal Čihař
dd58fce29c Fix more occurences of $_SESSION['PMA_Config']. 2010-01-21 12:33:30 +00:00
Michal Čihař
3235e026a5 rfe #2393597 [core] phpMyAdmin honors https in PmaAbsoluteUri.
Add function to detect current https state in addition the one which
checks what user has configured. Then we do not rewrite configured URL
if protocol differs, because we hope user has made the right thing.
2010-01-21 11:21:50 +00:00
Michal Čihař
3c5c7f3630 [core] Cookie path now honors PmaAbsoluteUri. 2010-01-21 11:20:42 +00:00
Michal Čihař
58d9b034f7 Cache results of checkPmaAbsoluteUri. 2010-01-21 11:19:49 +00:00
Michal Čihař
94c2f864ae [core] Remove config data from session as it brings chicken-egg problem.
Configuration data stores PmaAbsoluteUri, which should be accessible
before initiating session. Otherwise there is no way to make
PmaAbsoluteUri work. PmaAbsoluteUri is needed at least for reverse
proxy setups, for example http webserver running behind https proxy.
2010-01-21 11:18:18 +00:00
Michal Čihař
f7dda75cd7 Separate ?> to avoid confusing syntax highlighters. 2010-01-21 11:13:04 +00:00
Marc Delisle
91dee4238c revert fix for bug #2931216 2010-01-21 00:36:27 +00:00
Marc Delisle
c343434849 revert fix for bug #2931216 2010-01-21 00:36:27 +00:00
Marc Delisle
eacec1d091 bug #2931216 Relations settings not updated on config change 2010-01-20 18:10:37 +00:00
Marc Delisle
ba66e07181 bug #2931216 Relations settings not updated on config change 2010-01-20 18:10:37 +00:00
Marc Delisle
73275fc4de advance version numbers 2009-12-31 13:27:55 +00:00
Marc Delisle
8ed383bf13 advance version numbers 2009-12-31 13:27:55 +00:00
Marc Delisle
526dce65cb 3.3 2009-12-31 13:11:19 +00:00
Marc Delisle
f3833884e4 3.3 2009-12-31 13:09:18 +00:00
Marc Delisle
38fea0cc9e in SESSION, userconf renamed to tmp_user_values to avoid confusion with the future db-based user preferences 2009-06-20 16:36:58 +00:00
Herman van Rink
5d6af24268 bug #2799009 Login with ipv6 IP address breaks redirect 2009-05-31 12:50:52 +00:00
Marc Delisle
e038883325 3.3.0-dev 2009-05-18 14:28:56 +00:00
Marc Delisle
857eba2705 bug #2729191 [config] CheckConfigurationPermissions = false is worthless 2009-04-12 11:42:14 +00:00
Marc Delisle
398feb40fd patch #2407785 [cleanup] ereg*() deprecated in PHP 5.3 2008-12-14 13:58:06 +00:00
Michal Čihař
7503c9b75d Better support for vendor customisation (based on what Debian needs) 2008-11-30 12:58:55 +00:00
Michal Čihař
ebeb0c319f Adding @package, first part. 2008-11-24 10:32:56 +00:00
Marc Delisle
c39bb3bb3f 3.2.0-dev 2008-11-08 14:18:12 +00:00
Michal Čihař
737b292e0d Indentation. 2008-09-03 13:06:17 +00:00
Marc Delisle
1bd7ec70e2 bug #2046883 [core] Notices about deprecated dl() (so stop using it) 2008-08-16 14:06:27 +00:00
Marc Delisle
91ae7b67bd various code improvements, thanks to Piotr Przybylski 2008-08-16 12:17:52 +00:00
Marc Delisle
cdbc44343c 3.1.0-dev 2008-08-08 10:51:58 +00:00
Marc Delisle
bb2c1fbb8d color picker (work in progress) 2008-07-10 17:53:31 +00:00
Marc Delisle
544831fda7 patch #2007196, Typos in comments, thanks to knittl - knittl 2008-07-01 19:21:28 +00:00
Marc Delisle
1c96d44d34 Font size option problem when no config file 2008-06-28 15:46:54 +00:00
Marc Delisle
4e76dc40a3 improved fix for bug 1996943 2008-06-20 17:53:30 +00:00
Marc Delisle
be10c2988f bug #1996943 [export] Firefox 3 and .sql.gz (corrupted) 2008-06-19 12:29:48 +00:00
Marc Delisle
ba57a90e8b bug #1909711 [security] Sensitive data in session files 2008-03-29 06:06:35 +00:00
Marc Delisle
603e566c0d bug #1864468 [display] Theme does not switch to darkblue_orange 2008-01-05 13:33:05 +00:00
Marc Delisle
c3f7496a7f bug #1817612 [cookies] Wrong cookie path on IIS with PHP-CGI 2007-12-13 18:48:53 +00:00
Marc Delisle
ea594740ca remove debug code 2007-12-10 18:14:16 +00:00
Marc Delisle
ffc9a28eaf bug #1806236 Make the world write check on config.inc.php optional 2007-12-10 18:02:20 +00:00
Marc Delisle
8b67c1819b bug #1817224 [import] Incorrect detection of file_uploads in some cases 2007-11-05 12:24:13 +00:00
Sebastian Mendel
ef7a052074 - fixed XSS in server_status.php, thanks to Omer Singer, The DigiTrust Group
- fixed some possible XSS with PHP_SELF (PATH_INFO)
- commented out some use of PATH_INFO ... needs further testing
2007-10-16 07:11:28 +00:00
Marc Delisle
37d2d05399 Font size detection was no longer working 2007-10-10 16:56:22 +00:00
Sebastian Mendel
e51a242ee7 removed MySQL < 5 related comment 2007-10-02 08:58:16 +00:00
Marc Delisle
315764bc85 patch goes to 2.11.1 instead of 2.11.2 2007-09-18 12:10:53 +00:00
Marc Delisle
44e9ee3c35 patch #1787915 Avoid CSS reloading on every click, thanks to Juergen Wind 2007-09-17 16:32:17 +00:00
Sebastian Mendel
d2b9013fad fixed E_STRICT 2007-08-02 11:40:16 +00:00
Marc Delisle
ebc2899198 default font size of 82% 2007-07-23 23:54:41 +00:00
Marc Delisle
ef3f2b5a69 version numbers for QA_2_11 and trunk 2007-07-18 16:13:58 +00:00
Marc Delisle
f73d68265b RFE #1743983: replace $max_characters by a configurable param MaxCharactersInDisplayedSQL 2007-07-01 19:26:41 +00:00
Marc Delisle
9d9cd7221b bug #1727138 HTML not encoded (last part of the fix) 2007-06-27 15:12:40 +00:00
Sebastian Mendel
cfeb306526 coding standard: no spaces inside braces 2007-04-01 11:02:46 +00:00
Sebastian Mendel
d0facc3d4f splitted common.lib.php into common.inc.php, core.lib.php and common.lib.php 2007-03-20 14:16:18 +00:00
Sebastian Mendel
374abd5173 fixed/added page level docblock 2007-03-20 10:32:13 +00:00
Sebastian Mendel
817e790762 synced/fixed vim line 2007-03-19 17:55:39 +00:00
Marc Delisle
b800466c91 avoid vim error on loading 2007-03-19 16:55:30 +00:00
Marc Delisle
42ac66ad74 get rid of propicon 2007-02-10 15:58:46 +00:00
Marc Delisle
2597ef1435 bug #1590083, DefaultConnectionCollation ignored in config.inc.php 2006-12-30 14:30:58 +00:00
Marc Delisle
8cda2c9b41 allow caching of phpmyadmin.css.php 2006-12-10 13:30:40 +00:00
Michal Čihař
f0780e3129 Add backward compatibility code to affect above renaming. 2006-10-25 14:16:37 +00:00
Sebastian Mendel
1eadc0a41a use @todo tag for todo items, to show up in generated documentation 2006-09-21 14:28:46 +00:00
Marc Delisle
c78c200692 rename a function borrowed from Moodle to avoid double definition when PMA is called by Moodle 2006-09-15 11:43:05 +00:00
Marc Delisle
3ab9bb963b oops 2.10.0-dev 2006-08-10 11:50:48 +00:00
Marc Delisle
896331a8fd 2.9.10-dev 2006-08-10 11:49:59 +00:00
Sebastian Mendel
8c3acfa642 make font size user configurable - missing documentation 2006-07-31 14:20:00 +00:00
Sebastian Mendel
f45e14f2a3 make font size user configurable - forgot to change locale string 2006-07-31 13:55:13 +00:00
Sebastian Mendel
f106d9552e make font size user configurable 2006-07-31 13:52:52 +00:00
Sebastian Mendel
b6c15a38f0 reload default configuration if config.inc.php is removed 2006-07-04 07:36:09 +00:00
Marc Delisle
02f86bfb95 remove debug code 2006-06-28 11:58:07 +00:00
Michal Čihař
1a45c89702 Recalculate URL only if needed not all times when using https. 2006-06-27 14:12:02 +00:00
Marc Delisle
d4dcc67495 bug #1501027, possible user/password disclosure 2006-06-23 11:14:15 +00:00
Michal Čihař
0728242790 Fix parsing of paths containing : (patch #1461766). 2006-04-11 16:41:18 +00:00
Michal Čihař
b8d269c1c3 no PMA_PMA_ prefix :-) 2006-04-11 14:08:23 +00:00
Sebastian Mendel
f365bb5d04 fixed not initilized variable in getCookiePath();
use new PMA_getenv();
2006-04-11 14:04:19 +00:00
Michal Čihař
c53264cac0 Better check for server system (patch #1462738). 2006-04-10 13:01:05 +00:00
Michal Čihař
fd0bb46fa4 Check also default config mtime (bug #1467620). 2006-04-10 12:54:07 +00:00
Marc Delisle
30afc8d7b0 bug 1445120, cookie login not working on IIS 2006-03-13 23:14:50 +00:00
Marc Delisle
6eba03ecfe bug #1444867, config.inc.php not loading on PHP < 4.3.0 2006-03-07 18:35:50 +00:00
Sebastian Mendel
76f0235061 replaced $_SERVER with getenv() 2006-03-06 10:49:45 +00:00
Marc Delisle
6fe79cc137 bug #1418769 part 1: stat failed for ./config.inc.php (under PHP 4) 2006-02-23 12:45:13 +00:00
Michal Čihař
03ca5b8846 Trim spaces from config file to avoid unwanted outpu (path #1431566, thanks to Piotr_Skowronek - piotr_skowronek). 2006-02-21 17:44:38 +00:00
Marc Delisle
dee8d64c1c bug #1418769 part 2, missing argument for PHP 4 2006-02-08 18:26:33 +00:00
Marc Delisle
5c736824c3 possibility of having a backslash in a non-windows path 2006-02-08 17:58:06 +00:00
Marc Delisle
3809b1e8b8 bug #1409770 auto-detection and dirname on Windows 2006-02-04 15:33:54 +00:00
Marc Delisle
32cca60124 2.9.0-dev 2006-01-29 13:03:26 +00:00
Sebastian Mendel
0ae8842353 (not complete) PEAR coding standard 2006-01-17 17:03:02 +00:00
Marc Delisle
32a39388f1 bug #1398931, incorrect detection of PmaAbsoluteUri in vhost situations 2006-01-07 13:25:07 +00:00
Michal Čihař
b14a75c320 Do not check permissions on Windows, it seems to be broken anyway. 2006-01-02 09:32:29 +00:00
Marc Delisle
6d10f738f9 patch #1392181, typo 2005-12-30 22:43:49 +00:00
Sebastian Mendel
541c4b9111 fixed handling of https and $cfg['ForceSSL'] (bug #1379491) 2005-12-15 09:16:56 +00:00
Sebastian Mendel
6696d07f91 check config file also on wakeup (bug #1376522) 2005-12-14 17:41:50 +00:00
Sebastian Mendel
248d12363d added check is_readable for user config file 2005-12-14 17:12:28 +00:00
Michal Čihař
42268f9575 Refuse to load config file with world writable permissions, refuse to work with existing config dir. 2005-12-08 18:29:41 +00:00
Sebastian Mendel
50c4439d30 clear old config values 2005-12-07 08:32:21 +00:00
Sebastian Mendel
b8619ad1ad correctly reset config variables on changes in config.inc.php 2005-12-05 15:50:25 +00:00
Sebastian Mendel
9fe2097f39 make use of PMA_array_merge_recursive() (forgot to remove debug code) 2005-12-05 13:20:07 +00:00
Sebastian Mendel
389d8f2871 make use of PMA_array_merge_recursive() 2005-12-05 13:09:21 +00:00
Sebastian Mendel
3d5994dd7d session cookie path (bug #1370294) 2005-12-01 10:46:56 +00:00
Sebastian Mendel
f05a0df6f6 no error for missing config file (bug #1370269) 2005-12-01 08:33:12 +00:00
Michal Čihař
f88d908e83 Move config.default.php to librarires (bug #1365759). 2005-11-30 19:01:47 +00:00
Michal Čihař
17a3ebe53a Actually load configuration. 2005-11-30 18:59:48 +00:00
Sebastian Mendel
e16cc93094 allow to load no user config 2005-11-30 15:31:36 +00:00