Commit graph

169 commits

Author SHA1 Message Date
recanman
c5c2e0f6e1 chore: add donation qr classes to webpack config 2024-10-05 00:47:15 -07:00
rottenwheel
3bfbe0b1c5
Merge pull request #3 from recanman/main
todo2
2024-10-05 07:41:42 +00:00
recanman
3118dcebab feat: add donation qr css 2024-10-05 00:36:52 -07:00
recanman
ce610fbea5 feat: make config clear and add fetch interval config 2024-10-05 00:01:41 -07:00
recanman
c6a402927d refactor: replace require with require_once, remove unneeded semicolon 2024-10-05 00:00:17 -07:00
rottenwheel
2b3667e557
Merge pull request #2 from recanman/work
Todo list
2024-10-05 06:41:37 +00:00
recanman
bffbd46ce0 feat: add footer, qr code img 2024-10-04 23:37:01 -07:00
recanman
2227ebe6cd chore: remove unneeded import 2024-10-04 23:35:16 -07:00
recanman
e79b7a8de5 build: fix webpack config for purgecss 2024-10-04 23:35:16 -07:00
recanman
72eb7bc3bc chore: update dependencies to fix vulnerability 2024-10-04 23:35:16 -07:00
recanman
7ebf97b3b7 feat: stop fetching exchange rates after inactivity 2024-10-04 23:35:16 -07:00
recanman
d514cd94cb style: use consistent indent spacing 2024-10-04 23:35:16 -07:00
recanman
e4831ee3d9 refactor: redo frontend js 2024-10-04 23:35:16 -07:00
rottenwheel
3ade0bffce
Merge pull request #1 from recanman/main
Add cache, API key support, refactor code
2024-09-10 06:03:24 +00:00
recanman
2025ef0a91 feat: improve cache, refactor code, add api key support 2024-09-09 22:54:33 -07:00
recanman
01365b4c51 style: keep indent style consistent 2024-09-09 21:18:36 -07:00
rottenwheel
4e54935c2c
index: update GitHub repository link 2024-09-06 19:40:39 +00:00
rottenwheel
a45ca6b2b6
Update config.dist.php 2024-09-06 19:37:44 +00:00
814772b571
chore(config): update URLs and attribution settings in config example
Updated various URLs including clearnet, Tor, and Git repository links to reflect the new domain changes. Added a new 'Private.coffee' link to footer links.
2024-09-06 13:25:16 +02:00
58c376da3c
Revert "chore: optimize CSS imports and PurgeCSS config"
This reverts commit 035da04bf8.
2024-09-04 08:10:41 +02:00
2de9892040
Revert "feat(build): optimize output with minification and compression"
This reverts commit 83a23fc66e.
2024-09-04 08:10:17 +02:00
83a23fc66e
feat(build): optimize output with minification and compression
Switched to 'production' mode in webpack to enable optimizations. Integrated 'css-minimizer-webpack-plugin' and 'terser-webpack-plugin' for CSS and JS minification, respectively. Updated 'mini-css-extract-plugin' and added various dev dependencies to support new build processes. Adjusted output filenames and resolved dependencies to latest versions.

These changes reduce the bundle size and improve load times, enhancing overall performance.
2024-09-04 08:07:58 +02:00
035da04bf8
chore: optimize CSS imports and PurgeCSS config
Switched to non-minified Bootstrap CSS for improved readability during development. Updated Webpack MiniCssExtractPlugin filename pattern to handle multiple CSS outputs more gracefully. Enhanced PurgeCSSPlugin configuration by incorporating JS paths and limiting removal to specific Bootstrap classes to avoid issues with dynamic class usage.
2024-09-04 08:03:45 +02:00
ab4e1ad044
Merge remote-tracking branch 'upstream/main' 2024-08-30 10:23:27 +02:00
7a8b1f21cf
refactor: move HTML to template file
Separated HTML content from index.php into templates/index.php for improved organization and maintainability. This change helps to keep business logic and presentation code separate, making the codebase easier to navigate and modify.
2024-08-30 10:14:56 +02:00
aa9cdf8a8a
feat(ui): add custom behavior to fiat buttons
Enhanced the fiat currency buttons to include event listeners. When a button is clicked, it now updates the select box value and triggers the appropriate conversion function (XMR to Fiat or Fiat to XMR). The browser's address bar is also updated to reflect the selected currency. This improves the user experience by making currency selection more intuitive and dynamic.
2024-08-30 09:38:34 +02:00
0f891ba6ea
refactor: streamline language file loading
Simplified the logic for loading language files by consolidating into a single loop. Now, the base English file and potential browser language files are loaded in sequence, ensuring a more efficient and clearer process. Removed redundant checks and code for language alias handling.
2024-08-30 09:18:56 +02:00
38586826e2
feat(language): improve language detection and file loading
Simplify and enhance language detection and file loading mechanism:
- Parse primary language from browser settings more accurately.
- Remove redundant scanning of language files.
- Load default English language file as a base.
- Add support for region-specific language files if available.
- Remove unused language strings from various translation files.

These changes enhance the robustness and efficiency of language handling, ensuring better support for user language preferences.
2024-08-30 09:16:07 +02:00
25f6bb423e
feat: improve language recognition and alias handling
Updated browser language detection to handle full locale strings and
mapped various Chinese variants to simplified or traditional Chinese.
Renamed language files for consistency with the new alias system.

This improves support for a wider array of language settings, ensuring
users receive content in their preferred language variant when possible.
2024-08-30 08:28:20 +02:00
Luke
289da3d30b
Add files via upload 2024-08-29 15:12:58 +02:00
Luke
1a3832a343
rtl support 2024-08-29 12:59:38 +02:00
d18fcd803c
fix(config): update default GitHub URL to new repository
Updated the default GitHub URL in the configuration to point to the new repository at git.private.coffee. Ensures users are directed to the correct project location for up-to-date resources and issue tracking.
2024-08-28 15:21:36 +02:00
90f6f6ce3e
feat: auto-generate coingecko.json on first run
Added logic to check for the existence of 'coingecko.json' and generate it by executing 'coingecko.php' if it doesn't exist. This ensures that the necessary data file is available on first run, preventing potential errors or missing data.
2024-08-28 15:20:33 +02:00
57a7bca599
docs: update currency conversion URLs
Updated the currency conversion URLs to the new `monerooo.private.coffee` site. This change ensures users are directed to the current and actively maintained service. Updated examples maintain consistency and improve user experience.
2024-08-28 15:09:49 +02:00
fa78a41944
docs: extensively update and reorganize README
Expanded README with detailed sections including usage, features, installation, configuration, and contribution guidelines. Enhanced documentation provides clarity on converting XMR to/from fiat, office application integrations, and new project enhancements. This makes the project more accessible for users and contributors.
2024-08-28 12:31:41 +02:00
a0978f4f04
fix(lang): make GitHub URL dynamic in Polish translation
Replaced the hardcoded GitHub URL with a dynamic variable in the Polish translation file. This change improves maintainability by ensuring the URL is consistent and easier to update globally.
2024-08-28 09:44:56 +02:00
87e1d90c38
feat: localize content to Czech, Greek, Persian, and Dutch
Localized various strings and metadata in the application to Czech, Greek, Persian, and Dutch languages. Updated translations for currency names, descriptions, and web elements to improve user experience for non-English speakers.
2024-08-28 09:42:30 +02:00
dc55109d0d
fix: update exchange rate refresh interval to 1 minute
Updated the exchange rate refresh interval from every 5 seconds to approximately once per minute in Czech, Persian, and Polish language files.
2024-08-28 09:22:23 +02:00
d981649d2d
Merge remote-tracking branch 'upstream/main' 2024-08-28 09:18:16 +02:00
Luke
d378f3eead
Update custom.css 2024-08-27 10:57:26 +02:00
Luke
bbf00f1651
Update custom.css 2024-08-27 10:27:13 +02:00
Luke
aac024d0d1
Update index.php 2024-08-26 16:08:34 +02:00
Luke
39cf9f728a
Added Farsi 2024-08-26 15:30:42 +02:00
Luke
d360b1ea71
Update index.php 2024-08-25 10:57:46 +02:00
Luke
5a007aaeed
Czech added 2024-08-25 10:54:01 +02:00
Luke
8a255709b8
Merge pull request #7 from Chall-T/polish-translation
Polish translation
2024-08-24 18:15:32 +02:00
Chall-T
9adecc95a4 urls correction 2024-08-24 18:13:41 +02:00
Chall-T
f78d28304e correction 2024-08-24 14:59:01 +02:00
Chall-T
00321b448c polish translation 2024-08-24 14:57:18 +02:00
Luke
e155d17df7
Swedish Krona Fix
Spelling error/issue#6
2024-08-20 22:04:52 +02:00