#56 Left-right arrow shortcut keys surprising 4 months ago

Comment by ~shtrom on ~mediagoblin/mediagoblin

Could we provide a replacement? Perhaps Shift or Alt? I fear Ctrl/Cmd might be too overloaded on Macs already.

-- Olivier Mehani shtrom+mediagoblin@ssji.net PGP fingerprint: 4435 CF6A 7C8D DD9B E2DE F5F9 F012 A6E2 98C6 6655 Confidentiality cannot be guaranteed on emails sent or received unencrypted.

#54 Deployment: avoid extra "mediagoblin" user 4 months ago

Comment by ~shtrom on ~mediagoblin/mediagoblin

Agree.

-- Olivier Mehani shtrom+mediagoblin@ssji.net PGP fingerprint: 4435 CF6A 7C8D DD9B E2DE F5F9 F012 A6E2 98C6 6655 Confidentiality cannot be guaranteed on emails sent or received unencrypted.

#43 Move virtualenv to a subdirectory 5 months ago

on ~mediagoblin/mediagoblin

~shtrom has made progress towards this in the build/Docker improvements we've just merged, but after discussion we realised that we need to be careful to minimise the impact on anyone upgrading an existing install.

#36 Build refactoring with docker support 5 months ago

on ~mediagoblin/mediagoblin

These configure, build and Docker changes have now been merged into master. Thanks for your work here ~shtrom!

#14 Are ./configure && make appropriate for MediaGoblin? 5 months ago

on ~mediagoblin/mediagoblin

pdf.js can be put into bower.json. That's one less submodule.

Just wanted to note that ~shtrom looked at this and it's a little more complicated than on first glance. We cannot use pdfjs-dist at the moment because the viewer.html that we rely on is not included. See https://github.com/mozilla/pdf.js/issues/5609.

#49 Having to run a separate task queue is unnecessarily complicated 5 months ago

Comment by ~shtrom on ~mediagoblin/mediagoblin

On Thu 27 Jun 2024 at 03:38:53 +0000, ~sturm wrote:

The key is that we would manage that automatically, rather than making that the user's problem to coordinate. From their perspective, they run one command and the system is ready to go.

Yep, that's be great! gmg serve

-- Olivier Mehani shtrom+mediagoblin@ssji.net PGP fingerprint: 4435 CF6A 7C8D DD9B E2DE F5F9 F012 A6E2 98C6 6655 Confidentiality cannot be guaranteed on emails sent or received unencrypted.

#49 Having to run a separate task queue is unnecessarily complicated 5 months ago

on ~mediagoblin/mediagoblin

"~shtrom" outgoing@sr.ht writes:

Isn't this what the lazyserver does?

Nah, lazyserver runs a single web application process with CELERY_ALWAYS_EAGER=true, causing the web application to block while the transcoding occurs in the same process.

In my experience, running a separate processing server allows to not hold up the HTTP request while the processing is done. However, if the web server (I think it's werkzeug) can spin off parallel tasks for the processing as needed, then it might be sufficient.

Yes, that's what I'm imagining - some kind of subprocess that run in the background while the web application continues to serve HTTP requests.

The key is that we would manage that automatically, rather than making that the user's problem to coordinate. From their perspective, they run one command and the system is ready to go.

#50 Avoid PostgreSQL in the standard production deployment 5 months ago

Comment by ~shtrom on ~mediagoblin/mediagoblin

On Thu 27 Jun 2024 at 00:17:25 +0000, ~sturm wrote:

After helping numerous people install MediaGoblin, my feeling is that PostgreSQL is an unnecessary complication, and that SQLite is nearly always a better choice. I suggest we move the documentation about PostgreSQL to the "Further Considerations for Production Deployments" section.

Agreed.

-- Olivier Mehani shtrom+mediagoblin@ssji.net PGP fingerprint: 4435 CF6A 7C8D DD9B E2DE F5F9 F012 A6E2 98C6 6655 Confidentiality cannot be guaranteed on emails sent or received unencrypted.

#49 Having to run a separate task queue is unnecessarily complicated 5 months ago

Comment by ~shtrom on ~mediagoblin/mediagoblin

Isn't this what the lazyserver does?

In my experience, running a separate processing server allows to not hold up the HTTP request while the processing is done. However, if the web server (I think it's werkzeug) can spin off parallel tasks for the processing as needed, then it might be sufficient.

-- Olivier Mehani shtrom+mediagoblin@ssji.net PGP fingerprint: 4435 CF6A 7C8D DD9B E2DE F5F9 F012 A6E2 98C6 6655 Confidentiality cannot be guaranteed on emails sent or received unencrypted.

#14 Are ./configure && make appropriate for MediaGoblin? 1 year, 1 month ago

Comment by ~shtrom on ~mediagoblin/mediagoblin

I agree. This is not the correct way of using autotools. Instead the configure script should just detect that all the necessary dependencies are present, and the Makefile merely use them.

This is the pattern I followed in my refactor, and their various iterations, the most recent being https://git.sr.ht/~shtrom/mediagoblin/tree/refactor-configure-py311-bookworm