269 Commits

Author SHA1 Message Date
87d197e0b3 Revert unintended commit 2024-11-27 11:14:09 -08:00
d2cbba4735 Add styling, overflow for <pre> blocks (closes #46) (#61) 2024-11-26 14:15:39 -08:00
4e57bbbc6e Use revcheck information generated by doc-base/scripts/translation/genrevdb.php (#58) 2024-11-11 12:28:47 -08:00
31cfd3f86e Improve side navigation for translation tools 2024-10-24 17:07:03 -07:00
4cbab9dbb5 Enable Romanian, too 2024-10-24 15:17:48 -07:00
f21aa3efde Re-activate pl translation (fixes #56) 2024-10-24 14:53:56 -07:00
2119b74e82 Link back to main page for language 2024-10-24 10:52:04 -07:00
ff776cad3a Generate images for translation status dynamically (#54) 2024-10-23 10:24:10 -07:00
1f8d7bd1d8 Need to pass safe.directory to Git invocations
Original patch by @nilgun in #43
2024-10-22 16:39:19 -07:00
df0a94d1cf Fix environment variable we use so Git doesn't get confused 2024-10-21 18:42:54 -07:00
eee602fb4f Remove out-of-date languages 2024-10-21 18:32:47 -07:00
3489a06d8d Fix typo in variable 2024-10-21 18:17:52 -07:00
98dc051431 Handle new documentation about the documentation (#51) 2024-10-21 18:00:51 -07:00
364f913efb Thank You. Closes GH-42 2023-09-10 01:43:30 +03:00
27bc12bed0 Show actual hash on diff output
. Thanks. Closes GH-38
2022-10-15 10:48:37 +03:00
088e06dd7e Ensure blank lines are copied as line breaks
Thank you, Lucas Azevedo.
Closes GH-35.
2022-06-26 07:54:06 +03:00
8811bd7f81 add a space to the blank line to copy 2022-03-31 14:55:12 +03:00
3aab49146f make all pages similar 2022-01-14 09:17:43 +03:00
31b469005b fixed error 2022-01-14 05:16:55 +03:00
c99f57e0c6 the location of the code has changed (server is not reading these templates) 2022-01-14 04:34:54 +03:00
470f728a91 Show additions and deletions. Thanks, Lucas Azevedo. Closes GH-30 2022-01-11 07:44:34 +03:00
970adac4e9 Fix diff header skip. Thanks. Closes GH-31 2022-01-11 04:49:36 +03:00
80a372036e separate unselectable plus and minus signs from copy area to make copying text easier 2022-01-06 22:42:26 +03:00
2b5f30b654 Improve diff viewer. Thank you, Lucas Azevedo. Closes GH-29 2022-01-04 21:07:32 +03:00
1cea7213be Fix generic font-family name
Closes #28
2021-12-31 04:28:36 +03:00
52566d0bbd lower the diff font size a bit (14/16=0.875) 2021-12-29 14:56:04 +03:00
d605eea3af a little more visual diff 2021-12-28 17:10:19 +03:00
6551900f22 Add background colors to changed lines
Closes #27
2021-12-28 16:03:41 +03:00
c9a02d410f after tests, case of [skip-revcheck] in the commit message 2021-09-02 19:33:22 +03:00
daf0c803c2 Implement [skip-revcheck] to exclude a commit from consideration. Closes GH-21 2021-09-02 02:55:57 +03:00
c92fd4b435 Fix typo (#22) 2021-08-31 10:57:45 +08:00
86f244045a upgrade Parsedown to 1.7.4
from https://github.com/erusev/parsedown/releases/tag/1.7.4
2021-07-29 12:56:49 +01:00
c6564224e1 escape git diff args 2021-07-29 12:56:36 +01:00
d77b6ea5a0 this is even safer 2021-05-19 05:04:17 +03:00
e9f815f45a This is more secure. 2021-05-19 04:35:20 +03:00
ff6ce8fade Merge branch 'master' of github.com:php/web-doc 2021-05-18 03:53:31 +03:00
c9a142e150 Links that are not working have been fixed.
Lost wip's have been restored.
2021-05-18 03:51:28 +03:00
e3fabf4711 add missing </section> tag for end of mainscreen 2021-05-17 19:19:44 +01:00
326a5f1c08 reinstate header variables and fix double sidebar 2021-05-17 12:14:32 +01:00
4725e3bd17 1. Doc-base revcheck.php code injected and database production accelerated:
dropped from 15 minutes to 2.5 seconds.
2. As in new Doc-base revcheck.php, more detailed and more accurate information is given to the teams.
3. Indentation fixed.
2021-05-17 00:45:45 +03:00
4cf0a78294 Conversion from svn to git 2021-04-22 01:33:40 +03:00
61e52a4204 Fix Parsedown for PHP 7
We should actually consider to update this library.
2019-07-12 16:49:37 +02:00
9c2a3e006c Sync final newlines
This patch adds some missing newlines and trims multiple newlines into
one.

According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.

C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."

Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.

[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
2018-10-01 23:36:51 +02:00
5d425c4438 Trim trailing whitespace 2018-10-01 23:21:45 +02:00
cb81c04089 Remove unused Git attributes ident
The `$Id$` keywords were used in CVS and Subversion where they can be
substituted with filename, last revision number change, last changed
date, and last user who changed it.

In Git this functionality is different and can be done with Git
attribute ident. These need to be defined manually for each file in the
`.gitattributes` file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.

This patch simplifies handling of `$Id$` keywords by removing them since
they are not used anymore.
2018-10-01 22:52:49 +02:00
b4f6de7414 Name of language, not country, for Ukrainian translation 2014-09-17 05:12:29 +02:00
7325c4ae4e Hello, Ukrainian translation! Welcome aboard 2014-09-15 19:36:11 +02:00
d8dbad882a Remove division into "critical" and "old" files. Leave just outdated files
* "old files" stats were generated incorrectly
* "old files" made "critical files" count incorrect
* there was no way to display "old files" list
* this approach is compatible with PhD OE
2014-08-03 06:55:52 +02:00
6cdcfb0be0 get_dirs(): fetch only dirs with outdated files, not with missing rev numbers 2014-07-01 06:17:42 +02:00
d0a797bfb3 Don't display files without EN-Rev in "Outdated files" tool
This change has been already applied to counters in order to
separate files without rev number from outdated files. This is for
consistency and we already have separate tool to browse list of such
files.
2014-07-01 05:55:07 +02:00