crosswire / xiphos

Xiphos is a Bible study tool written for Linux, UNIX, and Windows using GTK, offering a rich and featureful environment for reading, study, and research using modules from The SWORD Project and elsewhere.
http://xiphos.org
GNU General Public License v2.0
208 stars 51 forks source link

HTTPS not working on website #1022

Closed alerque closed 4 years ago

alerque commented 4 years ago

The xiphos.org doesn't have a valid HTTPS certificate. That should be amended (free and easy via Letsencrypt), and made the default.

(Is there a separate repo and/or issue tracker for the website?)

DrMeers commented 4 years ago

Fixed?

alerque commented 4 years ago

Yes! Great.

Is there a repo for the website somewhere? There is some outdated build info for example I could contribute a fix for.

DrMeers commented 4 years ago

No separate repo. Feel free to detail your content change here and I'll get it updated.

The website is super-old, and in need of a rebuild... it used to be very clever and automatically compile HTML manual pages from repo source, etc, but that was all built on the old SVN tech. I'd be happy to see it replaced by a modern out-of-the-box option so we can retire the custom one, if anyone has time or inclination...

alerque commented 4 years ago

Can I suggest kicking off an empty Git repository in this namespace so we can start discussing & hacking on it there? I would call it either xiphos.org or xiphos.github.io if there is any plan to host in using Github Pages (obviously the tech stack will be one of the first discussions to have!).

The most urgent thing I see on the legacy site is on the Download page under "Git access", the build instructions are obsolete. I would either nuke them entirely in favor of sending people off to this repo's README, or at least swap them out to this:

cd xiphos
cmake -S . -B build \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DGTKHTML=ON
make -C build
sudo make -C build install

Honestly probably saying nothing at all there is best for now.

karlkleinpaste commented 4 years ago

i see simon made the basic version stamp updates around xiphos.org; thanx.

i just did a little work on the downloads page to get rid of the outdated instructions.

DrMeers commented 4 years ago

@alerque Yes I was considering porting a static version of the current site to GitHub Pages -- we really don't need the dynamic CMS/backend functionality. Happy for someone else to do so, I've been having trouble finding time to do so, but should get to it eventually

DrMeers commented 3 years ago

@karlkleinpaste the company that has been hosting xiphos.org is shutting down these outdated servers in the next couple of weeks, and I'm forced to move the site. It's running on Python 2 etc which is too old to drag-and-drop onto a new server, so it would take quite a few hours to port the dynamic site with admin/login functionality, etc. I propose just running a recursive-wget on the public facing site and making this available via Github Pages on xiphos.org . We don't make heavy use of the admin functionality nowadays anyway, and updates won't be overly difficult via raw HTML. Should we:

a) create a separate xiphos.org github project under crosswire for this, or b) commit the pages to a website directory in the xiphos repository and point the Github Pages setting for the xiphos repository at this, or c) set it up under my personal github account?

It would be nicer to rebuild the whole dynamic site or set it up using Jeykll or another static site generator, but I don't think I'll find the time for this in the next couple of weeks, so the static dump should get us by until someone has time and energy to do something more elaborate/elegant.

Commenting on this old closed ticket as there are some relevant comments above leading up to this.

alerque commented 3 years ago

My recommendation is a separate repository for the website, but it's not the end of the world if it gets stashed in a branch here. If getting a new repo spun up with the right permissions can't happen fast enough a branch here can always be promoted to it's own repository later when it can be. Just make sure it has it's own clean root.

DrMeers commented 3 years ago

Who has repository creation permissions to create a crosswire/xiphos.org repo and grant me push access?

DrMeers commented 3 years ago

In the absence of a response I've set this up under my personal repository for now, keen to migrate to a crosswire one as soon as possible so I'm not the single point of failure

karlkleinpaste commented 3 years ago

apologies, i didn't mean to ignore you. i'll get in touch over the weekend; USA is on a national holiday.