Commit Graph

873 Commits

Author SHA1 Message Date
Maurício Meneghini Fauth
9b653cbba3 Port table/relation/common_form template to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-29 16:46:52 -02:00
Maurício Meneghini Fauth
246769a979 Port columns_definitions/transformation to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-25 09:52:30 -02:00
Maurício Meneghini Fauth
c244264092 Port table/structure/display_structure to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-23 11:31:58 -02:00
Maurício Meneghini Fauth
e0900ecc98 Remove jQuery UI source code
The jquery-ui package includes source code, which makes it unnecessary to
include the source code in the repository.

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-20 10:55:18 -02:00
Maurício Meneghini Fauth
fa5c45444e Port columns_definitions/partitions to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-17 22:55:24 -02:00
Maurício Meneghini Fauth
973e30f6da Port database/designer/schema_export to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-12 10:26:25 -03:00
Maurício Meneghini Fauth
98e825aecc Port database/structure/show_create_row to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-11 21:46:13 -03:00
Maurício Meneghini Fauth
1a33f062de Port zoom_result_form template to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-05 12:08:27 -03:00
Maurício Meneghini Fauth
1ffa2e1b77 Port table/search/input_box template to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-05 12:08:27 -03:00
Maurício Meneghini Fauth
ce4d28ab32 Port privileges/global_priv_table template to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-20 21:27:53 -03:00
Michal Čihař
1285eb9247 Merge branch 'QA_4_7' 2017-08-25 07:42:17 +02:00
Michal Čihař
eddbfcd77c Make the class name version independent
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-08-25 07:41:46 +02:00
Maurício Meneghini Fauth
85866598e5 Move Twig classes to PhpMyAdmin namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-07-20 12:19:48 -03:00
Michal Čihař
5d9056367c Fix path to Config.php in master
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-18 13:31:50 +02:00
Michal Čihař
d463309502 Merge branch 'QA_4_7' 2017-07-18 10:05:13 +02:00
Michal Čihař
c73f451cde Always cleanup composer file
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-18 10:05:09 +02:00
Michal Čihař
f0e92a9bfd Sync script with master
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-06-30 13:19:26 +02:00
Maurício Meneghini Fauth
13c0f7bc3c Move classes to PhpMyAdmin namespace
- Move Advisor to PhpMyAdmin namespace
- Move Bookmark to PhpMyAdmin namespace
- Move Charsets to PhpMyAdmin namespace
- Move Config class to PhpMyAdmin namespace
- Move Console class to PhpMyAdmin namespace
- Move Core to PhpMyAdmin namespace
- Move DatabaseInterface to PhpMyAdmin namespace
- Move DbList to PhpMyAdmin namespace
- Move DbQbe to PhpMyAdmin namespace
- Move DbSearch to PhpMyAdmin namespace
- Move DisplayResults to PhpMyAdmin namespace
- Move Encoding to PhpMyAdmin namespace
- Move Error to PhpMyAdmin namespace
- Move ErrorHandler to PhpMyAdmin namespace
- Move File to PhpMyAdmin namespace
- Move Font to PhpMyAdmin namespace
- Move Footer to PhpMyAdmin namespace
- Move Header to PhpMyAdmin namespace
- Move Index to PhpMyAdmin namespace
- Move IndexColumn to PhpMyAdmin namespace
- Move LanguageManager to PhpMyAdmin namespace
- Move Language to PhpMyAdmin namespace
- Move Linter to PhpMyAdmin namespace
- Move ListAbstract to PhpMyAdmin namespace
- Move ListDatabase to PhpMyAdmin namespace

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-06-28 21:17:18 -03:00
Maurício Meneghini Fauth
555156c85f Move openlayers to js/vendor
Move js/openlayers to js/vendor/openlayers

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-06-14 01:57:26 -03:00
Maurício Meneghini Fauth
61b7d5dfd8 Move js/jquery to js/vendor/jquery
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-06-14 01:57:25 -03:00
Maurício Meneghini Fauth
e330402b5b Refactor the core functions into static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-06-03 00:52:22 -03:00
Michal Čihař
87fd00915a Remove composer.lock after tagging release
We really want this file only on tags and not elsewhere.

Fixes #13346

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-06-02 09:53:05 +02:00
Michal Čihař
c4380018a7 Avoid .gitignore modification when commiting composer.lock
With --force we can add files which would be ignored.

Issue #13346

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-06-02 09:51:36 +02:00
Maurício Meneghini Fauth
093ed72698 Port some templates to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-05-30 22:33:25 -03:00
Michal Čihař
9d1b49ae65 Improve extracting translatable strings from Twig templates
- use separate (clean) directory to avoid messing up with stale cache
  data or other files in the temporary dir
- restore filenames for twig templates in Gettext files, the lines still
  don't match, but at least the filename is correct
- extract the _gettext function as well

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-05-17 09:23:59 +02:00
Michal Čihař
6479c830c4 Make sure that daily snapshots are from latest update
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-05-15 10:58:28 +02:00
Maurício Meneghini Fauth
113c120088 Port some templates to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-05-12 01:26:49 -03:00
Michal Čihař
6e9fc50304 Run tests during daily builds
To ensure we will not ship something broken.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-05-09 14:11:37 +02:00
Michal Čihař
688fbc0d19 Remove build results if not running in CI mode
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-05-09 14:11:11 +02:00
Michal Čihař
b3ee1e56f8 Do not use ant for invoking testsuite
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-05-09 14:10:55 +02:00
Michal Čihař
a743cb084e Store metadata on daily release
Store timestamp and git commit, so that this can be later used by
website.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-05-09 12:53:09 +02:00
Michal Čihař
74ec22e3cf Generate sha256 sums even for snapshots
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-05-05 15:07:08 +02:00
Michal Čihař
f6e09f2c6e Remove Twig documentation and tests from package
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-05-05 14:38:14 +02:00
Michal Čihař
4ff2c1d1b1 Remove symfony cache tests from the packages
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-05-05 14:38:08 +02:00
Michal Čihař
718a4fb9b7 Allow + in version
This will be used for snapshots.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-05-05 14:32:47 +02:00
Michal Čihař
703054a27a Prepare create-release.sh for daily builds
Issue #12821

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-05-05 14:28:36 +02:00
Michal Čihař
ae9006e9be Use one temporary directory
Share one directory for Twig cache, SHP import and file uploads.

The code now also validates the cache directory and creates it on the
fly, so it properly detects if the directory can not be used.

Also the documentation has been improved to document securing this
directory.

Fixes #13225
Fixes #13226

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-05-05 11:08:36 +02:00
Michal Čihař
61f294062a Merge pull request #13236 from mauriciofauth/templates
Port some templates to Twig
2017-05-04 13:18:36 +02:00
Luís Pedro Algarvio
8e91ad5b35 Implement AUTOLOAD_FILE constant (#13213)
Replace hardcoded paths for autoload.php with vendor defined AUTOLOAD_FILE constant.

Signed-off-by: Luís Pedro Algarvio <lp.algarvio@gmail.com>
2017-05-04 12:24:11 +02:00
Maurício Meneghini Fauth
a35f8798f4 Port some templates to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-05-03 22:52:39 -03:00
Michal Čihař
f3a4d67347 Merge pull request #13205 from ibennetch/13201-no-gitattributes
Remove .gitattributes files when creating release
2017-04-28 16:32:30 +02:00
Maurício Meneghini Fauth
1b9d125d3e Port some templates to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-04-20 00:14:06 -03:00
Isaac Bennetch
7fc01204ab Remove .gitattributes files when creating release.
Fixes #13201

Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2017-04-18 14:21:24 -04:00
Michal Čihař
561001eae0 Skip test files when generating template cache
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-04-10 13:13:41 +02:00
Michal Čihař
fbbbb85c2d Merge pull request #13100 from mauriciofauth/twig-template
Initial support for Twig template engine
2017-04-07 12:41:38 +02:00
Maurício Meneghini Fauth
d71e097593 Add Twig cache generator and bypass escape option
- Add script to generate cache files for all Twig templates
- Add option in Twig extension that bypass autoescaping

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-04-06 20:33:32 -03:00
Michal Čihař
e8104393e0 Merge branch 'QA_4_7' 2017-04-04 08:46:46 +02:00
Michal Čihař
6f9a50f2e7 Do not include devel dependencies in the release
The composer require does automatically run update and thus pulling in
all things we've removed in previous step. Passing --update-no-dev
avoids this.

Fixes #13146

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-04-04 08:45:45 +02:00
Michal Čihař
e4f85624f8 Revert "Remove creating of sha1 for releases"
This reverts commit c768d12a1d.

The sha1 seems to be necessary for composer now.
2017-03-21 11:34:02 +01:00
Michal Čihař
c768d12a1d Remove creating of sha1 for releases
As there is now way to generate collisions (and tar happily ignores
additional payload), using sha1 probably no longer makes sense here.

See https://github.com/phpmyadmin/website/issues/59

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-21 11:29:57 +01:00
Michal Čihař
7d8b1de6ee Merge commit 'f3b44765eca8f3634f3a2574a678f5c503f2335b' 2017-03-02 14:31:12 +01:00
Michal Čihař
cbcad52b0e List longest lasting tests from the json log
Generate JSON report for tests and include it in output

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-02 13:31:08 +01:00
Michal Čihař
8322acb641 Merge branch 'QA_4_7' 2017-02-14 17:42:53 +01:00
Michal Čihař
7f9e346a87 Install tcpdf when building release
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-14 17:42:34 +01:00
Isaac Bennetch
e00b03a24e Add hint about updating Docker at release time
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2017-02-06 09:20:33 -05:00
Michal Čihař
aa1c65a2c4 Merge pull request #12836 from nijel/source-release
Add source release, strip current ones
2017-01-25 14:02:25 +01:00
Michal Čihař
4b8fe37b05 Remove phpmyadmin vendor from being translated here
Every library should handle localization on it's own.

Fixes #12013

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-01-23 14:21:28 +01:00
Michal Čihař
b6468d9b8a Remove po files from sql-parser on creating tarball
Issue #12013

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-01-23 14:21:23 +01:00
Michal Čihař
2fd4e4b2ae Merge branch 'QA_4_6' 2016-12-19 14:44:25 +01:00
Michal Čihař
53274555b6 Add source release support
See #12348

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-19 14:44:20 +01:00
Michal Čihař
b0eb82839b Add source to upload release script
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-19 14:43:09 +01:00
Michal Čihař
b567783a24 Remove codecov.yml on release
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-19 14:33:08 +01:00
Michal Čihař
0e5cf50467 Add source release support
See #12348

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-19 14:29:58 +01:00
Michal Čihař
9dc5cccc1b Remove 7z download option
It does compress worse than tar.xz and experienced users won't have
problems using either of these.

See https://github.com/phpmyadmin/phpmyadmin/issues/12348

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-19 14:05:37 +01:00
Michal Čihař
b6b3adf08e Remove .tar.bz2 release
It's almost not downloaded and people usually can choose xz instead
which does compress better.

See https://github.com/phpmyadmin/phpmyadmin/issues/12348

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-19 14:04:08 +01:00
Michal Čihař
401ecbdfbe Remove not used option
We use 7z for creating zips for ages, this code was not used for years.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-19 14:02:16 +01:00
Michal Čihař
60ff6f759f Create batch in a temporary file
This should avoid problems described in comments of
421e8b0f54

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-13 07:50:17 +01:00
Michal Čihař
0c5acc9127 Merge branch 'QA_4_6' 2016-12-08 11:42:07 +01:00
Michal Čihař
f2bfa7d745 Avoid running shell scripts as CGI
There is really no reason for that besides misconfigured servers.

This is followup for PMASA-2016-54

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-08 11:41:42 +01:00
Michal Čihař
3059c3021a Do not upload md5 checksums
See https://github.com/phpmyadmin/scripts/issues/4

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-11-24 10:18:43 +01:00
Michal Čihař
aa48806e45 Do not generate MD5 checksum
It's not used anywhere in the website and SHA provides better way to
verify content.

See https://github.com/phpmyadmin/scripts/issues/4

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-11-24 09:28:34 +01:00
Michal Čihař
51a7ea7bf5 Adjust cleanup to changed motranslator deps
See #6363, #11993 and phpmyadmin/motranslator#5

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-10-13 13:21:18 +02:00
Michal Čihař
c365e79470 Do cleanup of simple-math for release as well
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-10-12 17:08:19 +02:00
Michal Čihař
d24848400d Merge branch 'QA_4_6' 2016-10-03 19:28:01 +02:00
Michal Čihař
0a5ab3bfe9 Remove unused script
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-10-03 19:27:53 +02:00
Michal Čihař
e1d5a1338d Remove outdated script
This is not used on the demo, there is separate one in scripts repo.

Fixes #12605

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-10-03 19:27:03 +02:00
Michal Čihař
3fc7fc0c1b Validate branch and version strings on releasing
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-09-16 15:33:10 +02:00
Michal Čihař
91ffece4a8 Sort files in tar by name (issue #12560)
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-09-16 14:02:49 +02:00
Michal Čihař
541dbd3a5a Do not store uid in tarballs
Fixes #12560

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-09-16 14:00:50 +02:00
Isaac Bennetch
3cc02ea2a5 Merge pull request #12406 from nijel/sign-tags
GPG sign Git release tags
2016-08-23 10:14:53 -04:00
Michal Čihař
78a93d5a41 Revert "Strip barcodes from TCPDF"
This reverts commit e7517f5144.
2016-08-17 09:59:15 +02:00
Michal Čihař
e7517f5144 Strip barcodes from TCPDF
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-08-17 09:06:10 +02:00
Michal Čihař
f189f3a08f Remove sRGB.icc when creating release
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-08-17 09:05:26 +02:00
Michal Čihař
52f23338a8 Merge branch 'master-security' 2016-08-17 08:50:51 +02:00
Michal Čihař
4da9da052b Safer ssh configuration
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-08-03 11:48:53 +02:00
Michal Čihař
95d4f57fed Merge branch 'master' into master-security 2016-08-03 10:03:13 +02:00
Michal Čihař
1de346b3fe Store composer.lock in Git for releases
Once release is created, commit composer.lock to releasing branch, so
that we know what has been shipped there.

Fixes #12408

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-08-02 09:23:40 +02:00
Michal Čihař
360b8e8a11 Merge branch 'master' into master-security 2016-07-28 09:44:08 +02:00
Michal Čihař
d31ff5a1e7 Merge branch 'QA_4_6' into QA_4_6-security 2016-07-28 09:43:26 +02:00
Michal Čihař
6d8e1d7935 Merge branch 'QA_4_6' 2016-07-28 09:38:08 +02:00
Michal Čihař
257e65ba9f Use https for outbound links where applicable
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-28 09:19:13 +02:00
Michal Čihař
10d0ffb871 Enable file sync on sftp
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-28 08:17:36 +02:00
Michal Čihař
e01d58ff4b Merge branch 'QA_4_6' 2016-07-28 08:15:10 +02:00
Michal Čihař
43a199bdca Use single quotes for filename
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-28 08:15:04 +02:00
Michal Čihař
d15490088c Merge branch 'QA_4_6' 2016-07-27 16:30:47 +02:00
Michal Čihař
870ca1cc7a Use https for wiki links
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-27 16:28:07 +02:00
Michal Čihař
0aa3b23b41 Merge branch 'QA_4_6-security' into master-security 2016-07-26 16:39:59 +02:00
Michal Čihař
77a4d6ed95 Move generator scripts out of the code
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-26 16:39:40 +02:00
Michal Čihař
6e49998555 Merge branch 'master' into master-security 2016-07-26 16:31:40 +02:00
Michal Čihař
e825b1e401 Generate and upload SHA256 hashes as well
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-26 12:40:28 +02:00
Michal Čihař
80086020a1 GPG sign Git release tags
This makes it possible to verify that the tag matches what release
manager did release.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-26 11:15:26 +02:00
Michal Čihař
be70f0c6bf Merge branches 'QA_4_6-security' and 'master' into master-security 2016-07-22 15:48:20 +02:00
Michal Čihař
9bde04b188 Limit what upload script accepts as version
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-22 13:17:54 +02:00
Michal Čihař
6f75f8a261 Merge branch 'QA_4_6-security' into master-security 2016-07-09 09:14:12 +02:00
Michal Čihař
c0b2d56ac0 Use https for wiki links
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-09 09:12:43 +02:00
Michal Čihař
7d650bd548 Use phpmyadmin/shapefile instead of embedded bfShapeFile
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-06-24 15:52:40 +02:00
Michal Čihař
421e8b0f54 Use sftp batch mode for uploading
This way it will correctly fail on error.

Issue #12336

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-06-24 10:28:46 +02:00
Michal Čihař
5f8e40941b Do not remove phpseclib's bootstrap file
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-06-06 09:38:42 +02:00
Isaac Bennetch
ba20c9fc7e We no longer need to create MAINT branches for each release; we'll do this on demand from the RELEASE_x_y_z tag if needed.
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2016-05-26 16:22:37 -04:00
Michal Čihař
e191c6eb39 Do not include vendor strings in po files
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 14:30:26 +02:00
Michal Čihař
1cd936e7b3 Remove Weblate configuration on release
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-16 11:39:16 +02:00
Michal Čihař
317eb54abd Silent errors from git cat-file
There doesn't seem to be better way to check for existence of file in
branch, so let's just ignore the errors from it.

Fixes #12015

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-29 13:09:25 +01:00
Michal Čihař
d96bc13f76 Strip motranslator tests from release tarball
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-24 14:39:52 +01:00
Michal Čihař
55fec136f7 Add back SQL parser messages to phpMyAdmin
Temporary solution until we decide for something better.

See issue #12013

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-22 14:21:57 +01:00
Michal Čihař
c81561bac4 Avoid extracting translations from third party libraries
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-22 14:19:46 +01:00
Michal Čihař
2424c41514 Create separate branch for ci tests
Otherwise we're unable to test pull requests on Travis as they are not
on any branch.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-22 08:05:49 +01:00
Michal Čihař
129b70af9c Use TRAVIS_BRANCH for setup testing if available
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-22 08:05:49 +01:00
Michal Čihař
bbf2e43d67 Cleanup more files on release
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-22 08:05:49 +01:00
Michal Čihař
b3fb278ba5 Better cleanup phpseclib from not needed files
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-22 08:05:49 +01:00
Michal Čihař
e0c4eef9b6 Improve detection fo Config class filename
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-22 08:05:49 +01:00
Michal Čihař
cb42d787eb Switch to correct captcha library
The previous one was older from third party, we need to use current from
Google.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-22 08:05:49 +01:00
Michal Čihař
d983803095 Strip composer packages of undeeded files
We want to produce reasonable sized releases, so let's strip not needed
files.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-22 08:05:49 +01:00
Michal Čihař
aad35d7b22 Propagate test return code
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-22 08:05:49 +01:00
Michal Čihař
b622c2066d Add support for running testsuite on the release time
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-22 08:05:49 +01:00
Michal Čihař
602568c132 Create release worktree even if same branch is already worked on
Also prune stale work trees before creating new one.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-22 08:05:49 +01:00
Michal Čihař
09904cc959 Add safeguard to require branch and version
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-22 08:05:49 +01:00
Michal Čihař
33c5861f94 Improve parsing of option in create-release script
It no longer depdends on order of specified parameters.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-22 08:05:49 +01:00
Michal Čihař
39c04171f7 Remove cleanup for versions older than 3.5
These are not supported for quite long time.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-22 08:05:49 +01:00
Michal Čihař
debb613771 Remove support for old style documentation
None of supported releases uses that.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-22 08:05:49 +01:00
Michal Čihař
01f05b52b4 Use git worktrees for creating release
This way we do not need to do the clone, just add another working tree.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-22 08:05:49 +01:00
Michal Čihař
536dff321f Find out Config class name without doing checkout
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-22 08:05:49 +01:00
Michal Čihař
38482bfa9f Use Componser autloader for external libraries
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-22 08:03:19 +01:00
Michal Čihař
3d0b33b32f Add templates for new issues and pull requests
See https://github.com/blog/2111-issue-and-pull-request-templates

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-18 08:28:15 +01:00
Michal Čihař
32e2b1f4fe Merge commit 'f97c3081fe9673b8945d75df2a37af81e0667e4f' 2016-02-17 11:56:59 +01:00
Michal Čihař
f97c3081fe Add missing include
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-17 11:55:54 +01:00
Michal Čihař
6d73ee1e4d Merge pull request #11957 from ibennetch/release
Improve release instructions
2016-02-12 18:20:57 +01:00
Isaac Bennetch
696556b34b Improve release instructions
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2016-02-12 11:03:19 -05:00
Michal Čihař
b805b1d0c2 Let the sprites.lib.php define array instead of function
This allows us to test this code path without having duplicate function
names.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-12 14:40:37 +01:00
Michal Čihař
cda50e1a7a Mention changelog completion
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-28 09:34:11 +01:00
Marc Delisle
40644b5c33 Fix merge conflict
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-12-06 08:10:34 -05:00
Marc Delisle
23a70525ae This was related to the previous SQL parser. If someone still needs it
to decode an old bug report, he/she can still get this script from
an older branch.

Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-12-06 08:07:52 -05:00
Marc Delisle
881756dd26 Fix library path verification
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-11-23 08:09:06 -05:00
Michal Čihař
c7cbac1b7a Compatibility to release older versions
Signed-off-by: Michal Čihař <michal@cihar.com>
2015-10-23 13:09:37 +02:00
Hugues Peccatte
f0a5566efe Remove useless include.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-10-09 22:02:24 +02:00
Marc Delisle
509dbe3481 Fix update-po due to namespace and filename changes
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-10-09 12:00:21 -04:00
Hugues Peccatte
a5d35d41b6 Revert PMA_String rename.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-14 22:39:03 +02:00
Hugues Peccatte
b1038cfefa Merge branch 'master' into useNamespaces_master 2015-09-04 22:37:45 +02:00
Michal Čihař
08005965d0 Merge branch 'QA_4_4' into QA_4_5 2015-09-04 10:21:14 +02:00
Michal Čihař
51b72ba53c Change address for discussing translations
Signed-off-by: Michal Čihař <michal@cihar.com>
2015-09-04 10:20:35 +02:00
Michal Čihař
95cc6a5809 Change address for discussing translations
Signed-off-by: Michal Čihař <michal@cihar.com>
2015-09-04 10:18:29 +02:00
Hugues Peccatte
e5e447e937 Set namespace on config classes.
Update config classes.
Add @noinspection tag.
Update documentation and script.
Set ConfigGenerator in a namespace.
Rename ConfigGenerator filename.
Remove ConfigGenerator requires.
Fix namespaces of mock objects.
Remove useless require.
Add missing 'use'.
Add missing require.
Update PHPDoc.
Fix class test typo.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:23 +02:00
Hugues Peccatte
0761fb1801 Rename classes files.
Rename classes.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:21 +02:00
Hugues Peccatte
f0ba28fc1d Set namespace on Advisor, Config, Console and Util classes.
Set namespace on DbQbe.
Set namespace to 'DbSearch'.
Split Advisor.class.php file.
Change Advisor namespace.
Rename DbQbe class and file.
Set namespace on DisplayResults.
Set namespace on Error.
Use namespace for ErrorHandler.
Add class autoloader.
Change ErrorHandler filename.
Remove some require.
Update Config namespace path.
Update PMA_Util to PMA\libraries\Util.
Rename Font and File classes files.
Use namespace for Footer.
Set namespace in all libraries classes.
Namespace OutputBuffering.
Export SubPartition.
Rename Partition file.
Namespace PDF.
Namespace RecentFavoriteTable.
Replace PMA_Response by Response and PMA_Message by Message.
Update uses and calls.
Fix unit tests.
Fix SqlParser autoload.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:22:52 +02:00
Marc Delisle
3431c0206c Clarify todo list
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-08-26 09:24:26 -04:00
Marc Delisle
c15a5da663 Adjust releasing tasks
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-08-07 10:04:02 -04:00
Michal Čihař
c29b43a3b1 Move mailing lists to own server
Signed-off-by: Michal Čihař <michal@cihar.com>
2015-07-24 16:24:08 +02:00
Dan Ungureanu
91b97fadc2 Remove unneeded closing tags.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-19 00:18:38 +03:00
Marc Delisle
2c0c5addcb Fix bug due to removed sf.net user argument
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-07-06 06:57:24 -04:00
Michal Čihař
00bfb4d596 Remove no longer needed parameter from upload-release script
Signed-off-by: Michal Čihař <michal@cihar.com>
2015-07-02 16:18:17 +02:00
Marc Delisle
d67cd792c2 We no longer upload to SourceForge
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-07-02 07:55:38 -04:00
Michal Čihař
27e3963840 Update releasing instructions to new code
Signed-off-by: Michal Čihař <michal@cihar.com>
2015-07-02 11:29:48 +02:00
Marc Delisle
1f2891e05f Instructions for new incremental release notes
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-06-27 05:19:49 -04:00
Michal Čihař
4a7778f56f Generate sigs/sums for .xz archive as well
Signed-off-by: Michal Čihař <michal@cihar.com>
2015-06-19 15:12:31 +02:00
Michal Čihař
8636f7ef29 Upload md5 and sha1 checksums to our file server only
It makes no sense to push this to sf.net, it would only confuse users
there. And in the end we need them on our download server.

Signed-off-by: Michal Čihař <michal@cihar.com>
2015-06-18 15:28:35 +02:00
Michal Čihař
afdd2355c8 Generate SHA1 and MD5 sums while releasing as well
So far we've relied on this being generated on sf.net side, what really
does not guarantee anything.

Signed-off-by: Michal Čihař <michal@cihar.com>
2015-06-18 14:38:01 +02:00
Marc Delisle
4d3ec49d94 Merge pull request #1738 from nijel/release-sign
Add support for GPG signing releases
2015-06-17 14:08:42 -04:00
Marc Delisle
e8a3bb54b8 Shorter example link to release notes
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-06-17 09:02:47 -04:00
Michal Čihař
edda35f603 Add support for GPG signing releases
Signed-off-by: Michal Čihař <michal@cihar.com>
2015-06-16 12:11:06 +02:00
Michal Čihař
e3b9049e51 Avoid creating .tar in every loop
Signed-off-by: Michal Čihař <michal@cihar.com>
2015-06-16 12:04:05 +02:00
Michal Čihař
dd97bf650f Fix port for connecting to files server
Signed-off-by: Michal Čihař <michal@cihar.com>
2015-06-15 08:18:50 +02:00
Marc Delisle
18b0a957bd Remove tab characters
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-06-13 07:24:51 -04:00
Michal Čihař
04dec8ba4a Upload files to our file server and CDN as well
Signed-off-by: Michal Čihař <michal@cihar.com>
2015-06-12 08:31:30 +02:00
Marc Delisle
695e459fed Mention to set the default milestone
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-05-22 14:52:53 -04:00
Jason
be584def3c Fix update-po script
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-05-22 00:05:29 +08:00
Jason
c6dfa49e60 Improve template system
- Introduce `trim` method for templates
- Complete template of the designer module
- Update tests for template system
- Use phtml as template files extension

Signed-off-by: Jason <jason.daurus@gmail.com>
2015-05-20 01:34:33 +08:00
Marc Delisle
97f34d1caa Note about not using tags on a pre-release version
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-04-09 13:57:20 -04:00
Marc Delisle
a439bb1e87 Mention new way of announcing the release on Twitter
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-02-24 09:27:17 -05:00
Marc Delisle
930f5b12d4 Fix typo
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-01-17 06:13:00 -05:00
Marc Delisle
406d577b10 Link to release notes
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-01-17 06:04:45 -05:00
Marc Delisle
ea6e33af0a Clarify releasing
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-01-07 08:17:20 -05:00
Madhura Jayaratne
1b87db5724 bug #4675 phpMyAdmin should be able to work without 'examples' DIR - move SQL scripts to sql directory
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-12-30 22:55:33 +05:30
Michal Čihař
6e9e9cc472 Merge branch 'QA_4_3'
Conflicts:
	scripts/generate-mo
2014-12-04 10:34:33 +01:00
Michal Čihař
7e4baefbf0 Merge branch 'QA_4_2' into MAINT_4_3_0 2014-12-04 10:33:48 +01:00
Michal Čihař
f5a99f5a63 Improve locales compiling
- return correct error code on failure
- try to compile all locales and report error for each failing
- color error messages

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-12-04 10:29:46 +01:00
Marc Delisle
918b089a37 Return statement not possible here
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-12-01 13:37:18 -05:00
Marc Delisle
836ffe5234 Cleanup and clarifications
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-11-16 06:27:02 -05:00
Michal Čihař
7bd4029c98 Merge commit '784166614942cc72da7dad0e4b37adc85c427b9b' 2014-11-05 10:04:31 +01:00
Michal Čihař
7841666149 Skip CI for PO files update
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-11-05 10:03:51 +01:00
Hugues Peccatte
70a21ec25c Merge from master.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-10-08 21:49:37 +02:00
Michal Čihař
9743d93990 Work with new strings abstraction layer
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-10-02 11:41:07 +02:00
Hugues Peccatte
3de88162ff Replace PMA_String uses by mb_* calls.
Remove part of unused  variables.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-28 20:53:01 +02:00
Marc Delisle
cbb03aea4a Add the --stable option to explicitely mark a version as stable
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-09-28 07:53:28 -04:00
Hugues Peccatte
9b77d746ab Mass modifications to use PMA_String.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-06 10:44:03 +02:00
Marc Delisle
290547e980 Freecode.com is now read-only
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-06-21 12:57:59 -04:00
Marc Delisle
07ac2cb7dc Add a step for marking default download versions
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-06-03 08:37:14 -04:00
Michal Čihař
35828972c1 Another point to do on the release
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-10 10:02:10 +02:00
Michal Čihař
0f3fdcc310 Add another point to do when creating a release
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-10 09:52:06 +02:00
Marc Delisle
dd7e0e73ae Add twitter message sending to the release script
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-05-08 14:25:19 +02:00
Michal Čihař
05985783b6 Propagate error code
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-04-22 14:04:28 +02:00
Michal Čihař
d559fa6a21 Remove trailing whitespace from the code
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-20 09:36:48 +01:00
Michal Čihař
ee69e2dfb5 Remove DCO checker from Travis
This is now done by separate GitHub hook.

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-13 11:48:44 +01:00
Marc Delisle
a73947fba7 Fix "missing operand" complain
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-03-06 15:29:15 -05:00
Michal Čihař
b485c6105c Remove blank lines from the end of PHP files (causing extra output)
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-24 10:57:21 +01:00
Michal Čihař
35bfe27537 Remove python byte compiled files before releasing
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-19 10:47:58 +01:00
Michal Čihař
3c868cff69 Add script to check Signed-off-by header in patches
Signed-off-by: Michal Čihař <mcihar@suse.cz>
2013-12-04 09:00:04 +01:00
Marc Delisle
73f4d166db Seems like a bash-specific feature is needed 2013-10-01 06:13:20 -04:00
Marc Delisle
f72374447c Use standard shell path 2013-10-01 06:08:44 -04:00
Marc Delisle
f3c28953d1 Fix merge conflict 2013-10-01 06:02:16 -04:00
Mohamed Ashraf
d90126ebd7 Merge branch 'master' of https://github.com/phpmyadmin/phpmyadmin into error_reporting
Conflicts:
	ChangeLog
	scripts/create-release.sh
2013-09-21 00:49:01 +02:00
Mohamed Ashraf
b33f0419df Linecounts script now only run if exists 2013-09-19 13:18:58 +02:00
Michal Čihař
d5a3dfc512 Merge remote-tracking branch 'origin/QA_4_0' 2013-09-18 09:22:27 +02:00
Michal Čihař
eccdfceaa6 Update list of files to cleanup 2013-09-18 09:22:15 +02:00
Michal Čihař
c510d9d471 Remove no longer used scripts 2013-09-18 09:21:16 +02:00
Michal Čihař
e24833c056 Even 4.0 now ships not compressed javascript 2013-09-18 09:01:35 +02:00
Mohamed Ashraf
088166f0a3 Merge remote-tracking branch 'origin/master' into error_reporting
Conflicts:
	ChangeLog
2013-09-01 13:07:52 +02:00
Marc Delisle
db7deeb6e9 List is deprecated 2013-08-25 13:05:19 -04:00
Mohamed Ashraf
1bbb3816a8 Merge branch 'master' of https://github.com/phpmyadmin/phpmyadmin into error_reporting
Conflicts:
	ChangeLog
	libraries/Scripts.class.php
	libraries/config.default.php
2013-08-07 01:05:48 +02:00
Michal Čihař
adf5b3bb97 Correctly format comments in generated file 2013-08-06 14:57:25 +02:00
Michal Čihař
1d12c885aa Ensure same sorting 2013-08-06 14:52:04 +02:00
J.M
5c25e02ef5 scripts/revision-info: Add GitHub https URL 2013-08-03 15:58:21 +02:00
Michal Čihař
351acd74af Demo server support
This merges messages used in demo server to allow their translations and
consistent handling like other messages. Messages are enabled by
$cfg['DBG']['demo'].
2013-07-30 14:09:06 +02:00
Mohamed Ashraf
75ba7b9526 Changed line counts generator to follow phpma file template guidelines 2013-07-29 17:52:23 +02:00
Mohamed Ashraf
f8fe8e5aa3 Stacktrace now translated if line counts exist 2013-07-29 16:55:27 +02:00
Mohamed Ashraf
92fad83168 Added new script to generate line counts of scripts in the js folder 2013-07-27 13:10:03 +02:00
Michal Čihař
9d0a1f61db Drop javascript compression on release time 2013-07-08 13:00:20 +02:00
Mohamed Ashraf
b9bf9e0bcc Merge branch 'master' of https://github.com/phpmyadmin/phpmyadmin into error_reporting 2013-06-25 07:19:30 +02:00
Michal Čihař
39a0b5c31b Mark JS compression for future removal 2013-06-24 15:12:04 +02:00
Michal Čihař
731e1f2d79 Drop javascript compression on release time 2013-06-24 15:04:41 +02:00
Mohamed Ashraf
3b9fad42e0 Stopped the release script from deleting the original unminified file 2013-06-20 21:06:32 +02:00
Michal Čihař
d8f09813e1 Document functions 2013-06-07 09:26:04 +02:00
Michal Čihař
685f504094 Remove not used function 2013-06-07 09:24:44 +02:00
Michal Čihař
345aca4edd Fix comment 2013-06-07 09:24:19 +02:00
Michal Čihař
d3d303668a Missing parameter name in docs 2013-05-02 10:49:50 +02:00
Isaac Bennetch
55f8d4f38b Remove .jshintrc from distribution 2013-04-20 16:37:27 -04:00
Michal Čihař
5510e16f78 Drop unused code 2013-04-02 16:56:25 +02:00
Michal Čihař
85f060d288 Add script to get some translator stats 2013-04-02 16:48:33 +02:00
Isaac Bennetch
86c507edec Remove .travis.yml file from releases 2013-02-19 19:30:04 -05:00
Marc Delisle
34e8a230b0 New sf interface for milestones 2013-01-20 13:39:53 -05:00
Michal Čihař
ba5d1a782a Remove readme.rst when releasing 2012-11-13 14:27:32 +01:00
Michal Čihař
fa2a891b3b Prevent scanning release directory 2012-11-12 14:19:14 +01:00
Michal Čihař
7872a28c4b Adjust creating release to new documentation 2012-11-12 10:15:25 +01:00
Michal Čihař
ddf1ad0baa Merge github.com:nijel/phpmyadmin-doc into documentation 2012-11-12 09:05:37 +01:00
Michal Čihař
fb6dae0c4e Better name for conversion script 2012-11-09 11:54:56 +01:00
Michal Čihař
655f7ded19 Handle references 2012-11-09 10:58:34 +01:00
Michal Čihař
d5e9a42a93 Improve config file docs 2012-11-09 09:51:37 +01:00
Michal Čihař
8fb4bd3b8f Parse config 2012-11-08 17:27:02 +01:00
Michal Čihař
6288bcf7dc Indentify some code blocks 2012-11-08 16:42:16 +01:00
Michal Čihař
eca90efcf2 Improve automatic convertor 2012-11-08 16:34:39 +01:00
Michal Čihař
7440b88368 Fix some escaping 2012-11-08 15:02:11 +01:00
Michal Čihař
e48666f388 Update FAQ to match current doc 2012-11-08 14:58:38 +01:00