Commit Graph

95 Commits

Author SHA1 Message Date
Kumi
3a32bb2fd5
feat: improve coingecko JSON response handling
Updated to always output JSON in response, ensuring the latest data is provided to the client. Previously, data output was conditional based on the update interval. This change guarantees a more consistent API behavior and better user experience by always serving the current state, even if no recent update occurred.
2024-08-08 09:16:25 +02:00
Kumi
9a09f86460
feat: dynamically fetch and filter currencies list
Replaced the static list of currencies with a dynamic fetch from the CoinGecko API. Implemented a filter to exclude 'bits' and 'sats' from the fetched currencies. This ensures the currency list is always up-to-date and excludes unsupported currencies.
2024-08-08 09:09:06 +02:00
Kumi
f475b4ff73
refactor(coingecko.php): streamline currency data update process
Consolidated currency list initialization and improved data fetching from CoinGecko API. Enhanced error handling for CURL requests. Optimized the logic for updating and saving currency data, ensuring more efficient and readable code. Ensured data write-back occurs only when sufficient time has elapsed since the last update.
2024-08-08 08:58:55 +02:00
Kumi
d89a2c9053
refactor: streamline currency data handling and UI updates
- Moved currency data initialization to load dynamically from JSON.
- Removed static array of currencies, utilizing the JSON keys instead.
- Simplified exchange rate extraction to dynamically fetch values.
- Improved user language detection and selection process.
- Refactored HTML and PHP to dynamically generate language and currency options.
- Replaced various currency conversion logic with a dynamic implementation.
- Enhanced UI elements for better readability and maintainability.
- Consolidated inline JavaScript functions into external script for organization.

These changes reduce hardcoding, improve maintainability, and ensure that currency data is up-to-date and reflects user preferences more effectively.
2024-08-08 08:44:42 +02:00
Kumi
437dfbd57e
feat: add clipboard and conversion functionality to main.js 2024-08-08 08:44:06 +02:00
Kumi
3a30c11ca6
feat: integrate PurgeCSS with Webpack and CSS handling
Added `mini-css-extract-plugin`, `css-loader`, and `purgecss-webpack-plugin` to handle CSS extraction and purification in the Webpack build process. Removed the old `purgecss.config.js` as its functionality has been moved to the Webpack configuration. This change aims to streamline the build process and ensure unused CSS is effectively removed, optimizing the final output.
2024-08-08 08:43:32 +02:00
Kumi
4e368015e1
chore: Remove unused CSS files 2024-08-08 08:39:11 +02:00
Kumi
263450fbd2
chore: update .gitignore to include compiled CSS files
Expanded the .gitignore to also ignore compiled CSS files, ensuring they are not tracked in the repository, similar to how compiled JS files are handled. This keeps the repo clean and focuses on source files.
2024-08-08 08:38:13 +02:00
Kumi
220d5dde1d
refactor: translate comments, add TODOs for future dynamic data loading
Enhances code clarity by translating German comments to English and adding comments and TODOs for dynamic data loading
and generation of currencies, API data, language files, and HTML elements.
This will reduce hardcoded values and improve maintainability. Also, adds a
reminder to move scripts to separate files and add OpenGraph tags in the HTML.

No breaking changes, but dynamically loading these values will be essential
for improving the codebase in future iterations.
2024-08-08 07:46:58 +02:00
Kumi
39c1551972
chore: update package name in package-lock.json
Renamed project from "moner.ooo-dev" to "moner.ooo" to match the
finalized project name, ensuring consistency across project
references. No functional changes.
2024-08-08 07:38:39 +02:00
Kumi
7af63513a9
chore: remove Bootstrap bundle files
Deleted the "bootstrap.bundle.js" and "bootstrap.bundle.js.map" files from the "js" directory. These files are not necessary in the project, because they are built automatically. Ensures cleaner project structure and reduces unnecessary repository size.
2024-08-08 07:37:51 +02:00
Kumi
3ad0a2c00b
chore: update .gitignore to exclude JS build artifacts
Added compiled JavaScript directory to .gitignore to prevent build artifacts from being tracked in the repository. This helps keep the repo clean and reduces unnecessary clutter from generated files.
2024-08-08 07:36:46 +02:00
Kumi
94c01f2169
chore: update .gitignore to exclude Coingecko exports
Added Coingecko export files (coingecko.json and coingecko-original.json) to .gitignore to prevent them from being tracked by Git. This ensures that large or unnecessary data files do not clutter the repository and facilitates easier version control.
2024-08-08 07:35:19 +02:00
Luke
084552e72f
Unix Time for Office
Example: =A1/86400+25569
*A1 is the field with the Unix numerical value, set the created cell to the desired date format. The date is UTC/GMT+0
2024-07-27 16:43:55 +02:00
Luke
ba173fa2dd
Added Webhoster Servers Guru 2024-07-11 16:41:42 +02:00
Luke
35bd460ca6
Update Webhosting Sponsor 2024-07-11 16:18:08 +02:00
Luke
a8658027aa
Added Servers Guru Logo 2024-07-11 16:16:44 +02:00
Luke
fc8f7b4a93
Hotfix 2024-06-24 06:40:55 +02:00
Luke
1e9dd77cc5
Added Kuno (pt) href 2024-06-17 12:02:17 +02:00
Luke
22c763162c
Merge pull request #5 from kjekkopp/main
Translated pt-br.php
2024-06-17 11:18:23 +02:00
kjekkopp
7cdd1645c3
Translated pt-br.php 2024-06-17 07:18:33 +00:00
Luke
c45a231456
Merge pull request #4 from multed/ru_translation
Russian translation
2024-06-16 10:03:04 +02:00
Eugene Lisovsky
622108ea2c Russian translation 2024-06-16 14:12:46 +07:00
Luke
bb5772261c
Rename pt-BR.php to pt-br.php 2024-06-15 10:42:43 +02:00
Luke
3001f0478b
CoinGecko PL fix 2024-06-15 10:40:12 +02:00
Luke
98c0368dca
Add files via upload 2024-06-15 10:39:14 +02:00
Luke
7761984f68
Delete lang/pt.php 2024-06-15 10:39:00 +02:00
Luke
091714abf3
pt-BR fix 2024-06-15 10:38:20 +02:00
Luke
1f6bbb915b
Added new Languages
Translation outstanding
2024-06-15 10:17:21 +02:00
Luke
98baab5111
Added new Languages
Translation outstanding
2024-06-15 10:12:17 +02:00
Luke
de43785039
Added Telegram XMR CN 2024-06-15 08:26:10 +02:00
Luke
f14b53657f
Add files via upload 2024-06-13 10:38:37 +02:00
Luke
16f52797fe
Update Office Feature
Time and Hyperlinks added
2024-06-13 10:37:00 +02:00
Luke
4dbc515bca
Update README.md
Office added
2024-06-11 13:56:46 +02:00
Luke
77e4619da6
Added Excel,Calc Feature 2024-06-11 12:13:51 +02:00
Luke
7454a72765
JS-Script Error Fix
CopyBtn-Fix
2024-06-05 07:37:42 +02:00
Luke
1e9c52ed52
Merge pull request #3 from thecashewtrader/main
Reduce website size
2024-06-05 07:31:07 +02:00
Luke
87d2a19c25
Delete coingecko-original.json 2024-06-05 07:30:54 +02:00
Luke
f10248ebc4
Delete coingecko.json 2024-06-05 07:30:46 +02:00
Luke
3c527259ae
Delete coingecko.json 2024-06-05 07:27:50 +02:00
Luke
a4c1a1d005
Delete coingecko-original.json 2024-06-05 07:27:38 +02:00
thecashewtrader
eb0cf80b42 add webpack for lean bootstrap js 2024-05-24 20:18:12 +05:30
thecashewtrader
75a0632af7 use updated coingecko.php 2024-05-24 16:05:56 +05:30
thecashewtrader
d162e90c7e Remove Montserrat 2024-05-24 14:51:12 +05:30
Luke
d4fce719e7
Add files via upload 2024-05-24 11:15:43 +02:00
Luke
fecdf3c231
Update coingecko.php 2024-05-24 11:14:53 +02:00
thecashewtrader
27814e9b70 use minified css in index.php 2024-05-24 14:14:42 +05:30
thecashewtrader
cc44911ea1 fix API fetching to variables 2024-05-24 14:13:21 +05:30
thecashewtrader
ddcac1b168 add purgecss 2024-05-24 00:37:26 +05:30
Luke
99ac6eaf1a
Added Font Montserrat 2024-05-23 16:48:43 +02:00