Kevin Chung
Kevin Chung
I did some research and I think the right approach here is to leverage `.po` files because of the standard but also translate them to a JSON file format that...
@faelcorreia what do you mean by rendering on the backend? Do you mean like rendering from Jinja?
I feel like there's already a good amount of text already in Jinja. I think it would be hard to move everything into Jinja though. I'm not currently working on...
Thinking about this I think regex is the best solution for this. Alternatives like introducing an underlying scripting system seem like a bad idea.
I think this likely would look like a function that clears out cached data on certain changes and we would cache relevant endpoints with some high cache timeout.
This is likely complicated to do without a lot of other changes. I think this should probably come with a large investigation around the caching strategy.
The issue here is that you're using SQLite instead of MySQL/MariaDB. The docs should be updated to reflect this expectation but the recommended server is MySQL/MariaDB https://docs.ctfd.io/docs/deployment/#database-server. SQLite doesn't really...
I dug into this and found that migrations dont work well b/c SQLite doesn't support ALTER TABLE very well: https://blog.miguelgrinberg.com/post/fixing-alter-table-errors-with-flask-migrate-and-sqlite. SQLite also doesn't support ALTER COLUMN. Thus to migrate you...
We had discussed this some time ago and it was decided that the current OOP/inheritance approach was deemed to be simpler than having events and I still agree. Events themselves...
Is this related to #1471? EDIT: Ah yes it is sorry I didn't read the title clearly. Still, this links the issue to the PR properly.