Project

General

Profile

Actions

feature request #6812

closed

Improve TaxEditor download site

Added by Andreas Müller over 6 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Highest
Category:
documentation
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Severity:
normal

Description

The current download site (https://dev.e-taxonomy.eu/download/taxeditor/stable/) for the TaxEditor is very cryptic.

Filenames like eu.etaxonomy.taxeditor.product-win32.win32.x86_64.zip are very difficult to understand for the users and for unexperienced users it is difficult to find out which file is the correct one for there system.

We should adapt the download site in a way that it

  • guesses which files are the most probable candidates for the client system (e.g. by evaluating the http operating systme attribute)
  • offers them by download buttons
  • uses human readable labels and file names
  • offers help for determinating additional information needed (e.g. if java installed, and if yes, which version)

UPDATE:

In the standup today we decided to place the beautiful download page at https://cybertaxonomy.eu/taxeditor/download

Since the parent folder is a page from the maven site doc for the taxeditor we potentially could put the new download page into the maven site doc if it is possible to use plain html pages in site doc. Otherwise we can place it somewhere below https://dev.e-taxonomy.eu/download/ like https://dev.e-taxonomy.eu/download/html or https://dev.e-taxonomy.eu/download/taxeditor/html and configure a redirect or request forwarding to this location.


Related issues

Related to EDIT - discussion #9995: Discuss structure of subsites for cybertaxonomy.orgNewAndreas Müller05/02/202205/06/2022

Actions
Actions #1

Updated by Andreas Kohlbecker over 6 years ago

The download site is themed generically for all subfolders of https://dev.e-taxonomy.eu/download/.
The according settings are found in the apache configuration:

/var/www/download/.htaccess
/var/www/download/style.css
Actions #2

Updated by Andreas Müller over 6 years ago

  • Target version changed from Release 4.9 to Release 4.10
Actions #3

Updated by Andreas Müller over 6 years ago

what's about the new download page? Can we put it online with the next weeks release?

Actions #4

Updated by Andreas Müller over 6 years ago

  • Status changed from New to Resolved
  • Assignee changed from Fabian Reimeier to Andreas Müller
Actions #5

Updated by Andreas Müller over 6 years ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Andreas Müller to Andreas Kohlbecker

We today decided to put the download site to https://dev.e-taxonomy.eu/download/taxeditor/stable/ (before it was on https://dev.e-taxonomy.eu/download/taxeditor/) as this is the URL that we usually promote.
The problem here is that putting the files into this folder we need to move them after each release to the new stable folder as stable is only a symbolic link.
Is there a solution for this?

Actions #6

Updated by Andreas Müller over 6 years ago

  • % Done changed from 0 to 70
Actions #7

Updated by Andreas Kohlbecker over 6 years ago

Andreas Müller wrote:

We today decided to put the download site to https://dev.e-taxonomy.eu/download/taxeditor/stable/ (before it was on https://dev.e-taxonomy.eu/download/taxeditor/) as this is the URL that we usually promote.
The problem here is that putting the files into this folder we need to move them after each release to the new stable folder as stable is only a symbolic link.
Is there a solution for this?

You can have the new download page in https://dev.e-taxonomy.eu/download/taxeditor and keep the actual download files in /stable/. To achieve this you only need to adapt the download links in the new download page. But keep in mind that this will make the directory listing of download/taxeditor/ unaccessible.

... as this is the URL that we usually promote.
We could start promoting another download URL:

The taxeditor product page is at https://cybertaxonomy.eu/taxeditor/ the download URL aa https://cybertaxonomy.eu/taxeditor/download would be quite logical

Actions #8

Updated by Andreas Müller over 6 years ago

Andreas Kohlbecker wrote:

But keep in mind that this will make the directory listing of download/taxeditor/ unaccessible.

This is the reason why we moved it to /stabel. We need download/taxeditor/ to be accessible otherwise it is not possible for ordinary users e.g. to navigate to the nightly or older TaxEditor versions.

If we want download/taxeditor/ to be the folder for the current stable version only we probably need to change the underlying structure with having all versions in e.g. a subfolder.
One possibility would be to move all content from download/taxeditor/ to download/taxeditor/versions/ and then link the links on the new download page to download/taxeditor/versions/stable. But this requires to change all scripts (e.g. jenkins) to this new structure.

We should also consider to do the same for all other products (CDM server, dataportal, ....).

Actions #9

Updated by Andreas Müller over 6 years ago

Walter:

Aber die neue Download-Liste sieht ja schick aus! Aber leider kann ich jetzt nicht mehr das Datum der Datei checken (vor dem Download). Sollte vielleicht die zum Download angebotene Version irgendwo aufscheinen?

Actions #10

Updated by Patrick Plitzner over 6 years ago

If I remember correctly, the proposed download should be highlighted. But when I go onto the website (Linux 64bit) my OS is retrieved correctly but the none of the download buttons is not highlighted.

Actions #11

Updated by Andreas Kohlbecker over 6 years ago

  • Description updated (diff)

In the standup today we decided to place the beautiful download page at https://cybertaxonomy.eu/taxeditor/download

Since the parent folder is a page from the maven site doc for the taxeditor we potentially could put the new download page into the maven site doc if it is possible to use plain html pages in site doc. Otherwise we can place it somewhere below https://dev.e-taxonomy.eu/download/ like https://dev.e-taxonomy.eu/download/html or https://dev.e-taxonomy.eu/download/taxeditor/html and configure a redirect or request forwarding to this location.

Actions #12

Updated by Andreas Kohlbecker over 6 years ago

  • Assignee changed from Andreas Kohlbecker to Fabian Reimeier
Actions #13

Updated by Fabian Reimeier about 6 years ago

  • % Done changed from 70 to 90
Actions #14

Updated by Fabian Reimeier about 6 years ago

  • Target version changed from Release 4.10 to Release 5.0
Actions #15

Updated by Fabian Reimeier about 6 years ago

  • Target version changed from Release 5.0 to Release 4.10
Actions #16

Updated by Andreas Kohlbecker almost 6 years ago

Hallo Fabian,

in meinem Kommentar https://dev.e-taxonomy.eu/redmine/issues/6812#note-11 habe ich an zwei Möglichkeiten gedacht.
Die erste verursacht den geringsten Konfigurationsaufwand.

Nach dem was in der maven-site-plugin dokumentation steht sollte es kein Problem sein die download seite in die maven-site struktur zu integrieren:
https://maven.apache.org/plugins/maven-site-plugin/examples/creating-content.html

Den benötigten xhtml ordner gibt es meines Wissens noch nicht, den müsstest du anlegen.

Was meinst du, würde deine download seite in diesem Kontext funktionieren?

viele Grüße
Andreas

Actions #17

Updated by Andreas Kohlbecker almost 6 years ago

Hallo!

Also die Seite benötigt PHP, JQuery sowie JSON Dateien für die Locales, nur plain html ist es daher leider nicht.

Im Moment befinden sich unter /var/www/download/src/vendor die PHP-Bibliotheken die mit Composer verwaltet werden. Der Ordner wird vom Webserver in der Indexansicht ignoriert und könnten sich im Prinzip auch irgendwo anders auf dem Server befinden.

Im Stable Ordner der Download Seite gibt es dann:

  • index.php
  • assets/ : /frameworks (bootstrap + fontawesome), /images, /locales, /scripts, /styles

Das müsste alles durch den Webserver erreichbar sein.

Ich muss mir das maven-site Plugin nochmal genauer anschauen. Aber da müsste man wahrscheinlich ein Template schreiben oder? Per Default wird da anscheinend Velocity benutzt.

Viele Grüße,

Fabian

Actions #18

Updated by Andreas Kohlbecker almost 6 years ago

Also dann doch besser die B-Variante:

In der Apache-Konfigurtion ein internen "Forward" für die Location /taxeditor/download nach /download/taxeditor/stable/ einrichten.

Ich habe in die /etc/apache2/sites-available/siteconf/cybertaxonomy.eu.conf

folgende RedirectRule eingetragen:

RewriteRule /taxeditor/download/ /download/taxeditor/stable/ [P]

aber leider funktioniert diese nicht so wie ich mir das erhofft hatte.
Ich habe absichtlich zunächst /taxeditor/download/ und nicht /taxeditor/download als Basis genommen

Du hast ja Zugriff auf den edit-community.
Mit apachectl configtest kannst du die Konfiguration auf Syntaxprobleme testen wenn du etwas geändert hast (aber das weißt du sicherlich eh schon ;-)

Viele Grüße
Andreas

Actions #19

Updated by Andreas Kohlbecker almost 6 years ago

Aber dadurch müssten die Dateien immer noch jedes mal in den Ordner der aktuellsten Version verschoben werden oder?
Oder soll der Symlink von stable auf den entsprechenden Versionsordner weg und durch den Ordner mit der Seite ersetzt werden?

Viele Grüße,
Fabian

Actions #20

Updated by Andreas Kohlbecker almost 6 years ago

Andreas Kohlbecker wrote:

Aber dadurch müssten die Dateien immer noch jedes mal in den Ordner der aktuellsten Version verschoben werden oder?
Oder soll der Symlink von stable auf den entsprechenden Versionsordner weg und durch den Ordner mit der Seite ersetzt werden?

Viele Grüße,
Fabian

Dann muss die DownloadSeite natürlich in einen anderen, d.h. eigenen, separaten Ordner, vielleicht site/ ?
Die aktuelle Versionsnummer bekommst du dann vom Ordner stable/ mit der Methode readlink()

Actions #21

Updated by Andreas Kohlbecker almost 6 years ago

[a.mueller:]

... Ich wollte nur darauf hinweisen, dass das mit dem automatischen Verschieben noch nicht klappt und dass die Seite, wenn in einer alten Version, nicht mehr funktioniert, da auch viele Links völlig zerschossen sind.

AM

Actions #22

Updated by Andreas Müller about 4 years ago

  • Assignee changed from Fabian Reimeier to Andreas Kohlbecker

Issues open here?

Actions #23

Updated by Andreas Kohlbecker about 2 years ago

  • Assignee changed from Andreas Kohlbecker to Andreas Müller
Actions #24

Updated by Andreas Müller about 2 years ago

  • Due date set to 03/16/2022
  • Target version changed from Release 4.10 to Release 5.31
  • Start date set to 03/14/2022

Move back to 4.10 after review.

Actions #25

Updated by Andreas Müller about 2 years ago

  • Status changed from Feedback to Resolved
Actions #26

Updated by Andreas Müller about 2 years ago

  • Related to discussion #9995: Discuss structure of subsites for cybertaxonomy.org added
Actions #27

Updated by Andreas Müller about 2 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 90 to 100

Open issue moved to #9995. Generally the new update site works as expected now.

Actions #28

Updated by Andreas Müller about 2 years ago

  • Target version changed from Release 5.31 to Release 4.10
Actions #29

Updated by Andreas Müller about 2 years ago

  • Due date deleted (03/16/2022)
  • Start date deleted (03/14/2022)
Actions

Also available in: Atom PDF