History log of /web-php/bin/createNewsEntry (Results 1 – 24 of 24)
Revision Date Author Comments
# 9482f9bd 07-Dec-2023 Andreas Möller

Fix: Remove unused functions (#585)


# bf7eff4a 26-Jun-2023 Lu Fei <52o@qq52o.cn>

Fix autoload redirect failure (#788)


# a83ae2fa 05-Jul-2022 Andreas Möller

Enhancement: Use PSR-4 autoloader (#604)


# d6f23ea1 29-Jun-2022 Andreas Möller

Fix: Move class into src/ (#581)


# 0004e1c6 10-Jun-2021 Patrick Allaert

Fixed typo


# 7971068c 17-Jun-2020 Sara Golemon

Refactor createNewsEntry for non-interactive use

Add bin/createReleaseEntry script for common release announcements


# 4edd760a 23-Jul-2019 Peter Cowburn

use conference urls for cfp/announcements

The createNewsEntry script was recently refactored (thanks Sara!) and a
regression slipped through.

For conference news entries before

use conference urls for cfp/announcements

The createNewsEntry script was recently refactored (thanks Sara!) and a
regression slipped through.

For conference news entries before the refactor, we used to generate the
"alternate" links along the lines of:
http://php.net/conferences/index.php#id2019-01-01-1

After the refactor, that changed to the following:
https://www.php.net/index.php#id2019-01-01-1

And with this commit they look like:
https://www.php.net/conferences/index.php#id2019-01-01-1

show more ...


# 464ff738 10-Jul-2019 Sara Golemon

Refactor bin/createNewsEntry


# dd8d8bf8 17-Oct-2018 Peter Kokot

Sync final and leading newlines

This patch adds some missing newlines, trims some multiple redundant
final newlines into a single one, and trims few redundant leading
newlines.

Sync final and leading newlines

This patch adds some missing newlines, trims some multiple redundant
final newlines into a single one, and trims few redundant leading
newlines.

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

show more ...


# 02173eae 14-Mar-2018 Peter Cowburn

set recommended maximum image height to 250px (was 400px) in bin/createNewsEntry


# 1c25572c 15-Apr-2017 Peter Cowburn

pad category name in createNewsEmpty prompt

Changes the prompt from this:

Categories:
0: frontpage [PHP.net frontpage news]
1: releases [New PHP rel

pad category name in createNewsEmpty prompt

Changes the prompt from this:

Categories:
0: frontpage [PHP.net frontpage news]
1: releases [New PHP release]
2: conferences [Conference announcement]
3: cfp [Call for Papers]

To this:

Categories:
0: frontpage [PHP.net frontpage news]
1: releases [New PHP release]
2: conferences [Conference announcement]
3: cfp [Call for Papers]

show more ...


# 2f2d99f8 15-Apr-2017 Eli White

Fixing a problem that existed with the News Creation tool. A formatting change that was thought to not affect anything functionally (changing some spacing of an option), ended up causing conference

Fixing a problem that existed with the News Creation tool. A formatting change that was thought to not affect anything functionally (changing some spacing of an option), ended up causing conference announcements to not appear on the website.

show more ...


# 589a3092 09-Oct-2015 Andreas Heigl

Removes possibility to add CfP AND conference

This commit eliminates the possibility to add a conference AND a CfP in
one news. If you want to create both you will then have to create tw

Removes possibility to add CfP AND conference

This commit eliminates the possibility to add a conference AND a CfP in
one news. If you want to create both you will then have to create two
separate news. This makes it easier to get informations regarding CfP
and Conferences separate from one another

show more ...


# 6fbd40c2 25-Feb-2015 Stelian, Mocanita

Added some validation calls for the createNewsEntry

Script now checks if the category is valid on submission.
Script now does a warning based check for the image size to avoid high-res i

Added some validation calls for the createNewsEntry

Script now checks if the category is valid on submission.
Script now does a warning based check for the image size to avoid high-res images being pushed.

show more ...


# 3cc94915 05-Dec-2012 Daniel P. Brown

Change multiple checks and references from 'www.php.net' to plainly 'php.net' to reduce 301's, fix a few broken items, and ease a bit of the load off the server (multiple connections per page when st

Change multiple checks and references from 'www.php.net' to plainly 'php.net' to reduce 301's, fix a few broken items, and ease a bit of the load off the server (multiple connections per page when statically referenced as 'www.php.net.'

show more ...


# b31554db 24-Jan-2012 David Soria Parra

SVN -> Git


# 51a80559 30-Jul-2009 Hannes Magnusson

SVNify


# 5c4e61cd 21-Jun-2009 Philip Olson

hack to increase whitespace in generated entries


# d75b817c 10-Jan-2009 Hannes Magnusson

Sync with changes in the "new system"
#Apparently I forgot to commit this when I update the "new system"..


# 30d9addb 11-Dec-2008 Hannes Magnusson

Don't assume the location of php


# e10a935b 30-Apr-2008 Hannes Magnusson

Fix duplicated http://php.net in ID


# e98ca944 19-Mar-2008 Hannes Magnusson

- link href MUST be IRI
- xhtml ID MUST begin with a letter, not a digit


# d7e44e35 03-Jan-2008 Derick Rethans

- Added PHP 4.4.8 releases.


# 6c35b02f 01-Sep-2007 Hannes Magnusson

Add a script to simplify adding new news/conference/cfp entries