Commit graph

5 commits

Author SHA1 Message Date
31687723aa
feat: set English as default language in dropdown
Modified the language selection dropdown to default to English by marking the 'en' option as selected. Enhances user experience by pre-selecting the most commonly used language. This may help users who are primarily English speakers to have a faster and more intuitive interaction with the form.
2024-07-16 08:31:32 +02:00
b9b407a737
fix: replace underscores with spaces in article titles
Updated article titles to replace underscores with spaces when rendering the wiki article. Enhances readability and ensures a more user-friendly display format.
2024-07-16 08:26:34 +02:00
d4c60d98d9
feat: dynamic Wikimedia projects and logging enhancements
Implemented dynamic fetching of Wikimedia projects and languages from the Wikimedia API, replacing static definitions. Enhanced logging with a detailed and formatted log output for better debugging and monitoring. Updated templates to list projects and languages dynamically. Improved URL handling and proxying for robust performance. This change ensures up-to-date project information and enhances overall application transparency and maintainability.
2024-07-16 08:24:40 +02:00
fcb6a4aa96
fix(proxy): validate URL to prevent invalid inputs
Added a URL validation check in the proxy endpoint to ensure the URL starts with "https://upload.wikimedia.org/". This prevents potential misuse or errors caused by processing invalid URLs.

Ensures only acceptable and expected URLs are processed, improving security and stability.
2024-07-16 07:51:01 +02:00
c436885cbc
feat: initial setup of Wikimore Flask app with basic features
Added initial setup for "Wikimore", a simple frontend for Wikimedia projects using Flask. The app includes the following features:

- Multi-language and multi-project support
- Search functionality with results displayed
- Proxy support for Wikimedia images
- Basic structure and templates (home, article, search results)

Configured appropriate .gitignore and .vscode settings for development. Licensed under MIT License.
2024-07-11 12:25:19 +02:00