Jump to content

Tool:IA Upload/SAL

From Wikitech

2020-06-10

  • 00:22 wm-bot: <samwilson> Updated to latest master. T254632.

In chronological order. Add new entry.

2017-01-27

Updated repository URL to https://github.com/wikisoruce/ia-upload.git; deployed current Git master; ran composer install; deleted un-needed ~/ia-upload/composer.phar

Samwilson (talk) 09:55, 27 January 2017 (UTC)

2017-02-01

Removed ~/logs directory. Removed ~/composer.phar to favour system-wide version. Added testing installation at ~/ia-upload-testing. Modified ~/.lighttpd.conf to add support for /ia-upload/test (as a symlink within ia-upload/web/). Deployed current master to production, and djvu-generation branch to /test.

URL rewriting is now:

url.rewrite-once += (
        "^/ia-upload/test/index\.php.*" => "$0",
        "^/ia-upload/test(/[^\?]*)(\?.*)?" => "/ia-upload/test/index.php$1$2",
        "^/ia-upload/.*\.css$" => "$0",
        "^/ia-upload/index\.php.*" => "$0",
        "^/ia-upload(/[^\?]*)(\?.*)?" => "/ia-upload/index.php$1$2",

)

Sam Wilson 05:22, 1 February 2017 (UTC)


2017-02-09

New DjVu generation feature deployed to production. Cron job added for production and test, running every 5 minutes to start the conversion process. —Sam Wilson 03:07, 9 February 2017 (UTC)

Added toolinfo.json and registered it with Hay's directory. --Sam Wilson 03:28, 9 February 2017 (UTC)

2017-02-13

Deployed new code for enforcing HTTPS and secure cookies. —Sam Wilson 10:19, 13 February 2017 (UTC)

2017-02-16

Registered a new oauth consumer, the same as the previous except with an https callback. Updated the config.ini file with the new details. Now secure cookies are working correctly (it was regenerating the session ID before, when being redirected back from Commons to the http site). Sam Wilson 01:43, 16 February 2017 (UTC)

2020-05-28

Migrate to toolforge.org. Created a new OAuth consumer and updated config.ini to use new consumer information. Updated lighttpd rewrite rules. Restarted server.

URL rewriting is now:

url.rewrite-once += (
        "/index\.php.*" => "$0",
        "(/.*)" => "/index.php$1"
)

Harumi Monroy 23:30, 28 May 2020 (UTC)