Commit Graph

105 Commits

Author SHA1 Message Date
softsimon
edce0d118a
Updating mempool logo and adding new mempool space logo. New frontend config OFFICIAL_MEMPOOL_SPACE to enable the latter.
fixes #336
2021-02-18 13:34:05 +07:00
wiz
6866b12e84
Update hard-coded LN node URI for sponsors on About page 2021-02-17 17:16:32 +09:00
softsimon
d39207e097
Adding Telegram group link on about page. 2021-02-14 23:23:03 +07:00
softsimon
eb0c20dd92
Removing sponsors code.
Support new sponsor confirmation polling.
fixes #319
2021-02-07 02:20:07 +07:00
wiz
a7adf3a345
Bump version number to v2.2-SNAPSHOT 2021-02-04 12:16:47 +09:00
wiz
695da602b8
Bump version string on about page to 2.1-SNAPSHOT 2021-01-12 18:10:48 +09:00
softsimon
336e45a7b1
i18n: Added "miner identification" and updated "navigate to sponsor" 2020-12-04 23:07:53 +07:00
wiz
92d163f495
More fixes for RTL 2020-12-04 22:54:09 +09:00
wiz
4658b47007
Implement i18n support in frontend using Angular + Transifex + NGINX
This PR adds basic i18n support into the mempool frontend, together with
a smooth workflow for developers and translators to collaborate:

* Using the existing @angular/localize module, developers add i18n
metadata to any frontend strings their new features or changes modify

* Using the new npm script `i18n-extract-from-source`, developers
extract the i18n data from source code into `src/locale/messages.xlf`

* After pushing the updated `src/locale/messages.xlf` to GitHub, the
Transifex service will update its database from the new source data

* Using the Transifex website UI, translators can work together to
translate all the mempool frontend strings into their native languages

* Using the new npm script `i18n-pull-from-transifex`, developers can
pull in completed translations from Transifex, and commit them into git.

This flow requires an API key from Transifex, which can be obtained at
https://www.transifex.com/user/settings/api/ to be used with the python
script installed by `pip install transifex-client` - after preparing
these, run the npm script which will ask you for the API key the first
time. When downloading is complete, you can test building the frontend,
and if successful, commit the new strings files into git.

This PR implements a new locale selector in the footer of the homepage
dashboard, and includes WIP translations for the following languages:

* Czech (cs)
* German (de)
* Japanese (ja)
* Norwegian (nn)
* Spanish (es)
* Swedish (sv)
* Ukrainian (uk)
* Persian (fa)
* Portugese (pt)
* Turkish (tr)
* Dutch (nl)
* French (fr)
* Chinese (zh)
* Slovenian (sl)
* Korean (ko)
* Polish (pl)

The user-agent's `Accept-Language` header is used to automatically
detect their preferred language, which can be manually overriden by the
pull-down selector, which saves their preference to a cookie, which is
used by nginx to serve the correct HTML bundle to the user.

Remaining tasks include adding i18n metadata for strings in the Bisq and
Liquid frontend code, mouseover hover tooltip strings, hard-coded og
metadata inside HTML templates, and many other places. This will be done
in a separate PR.

When upgrading to add i18n support, mempool instance operators must take
care to install the new nginx.conf and nginx-mempool.conf files, and
tweak for their specific site configuration.

Fixes #81
2020-12-02 04:19:33 +09:00
wiz
6f6d7bc4d2
❤️ 2020-11-03 17:03:41 +09:00
softsimon
29ff029b07
Updating lightning node name.
Fixing dashboard button alignment.
2020-10-27 19:27:48 +07:00
softsimon
e61574c630
Add L-BTC sponsor support. 2020-10-27 15:26:37 +07:00
softsimon
6a8deff706
Adding form validators for donation form. 2020-10-26 23:23:08 +07:00
softsimon
99162f5ec9
Sponsor Lightning support. 2020-10-26 18:29:25 +07:00
wiz
70da8248cc
Remove last paragraph on about page 2020-10-18 20:02:48 +09:00
wiz
716b1235ee
Fix typo on about page text 2020-10-18 19:54:48 +09:00
wiz
e732f0f1dc
Tweak about page text for project description 2020-10-18 19:28:11 +09:00
softsimon
fff8120daa
Backend API to load sponsor profile photos. 2020-10-18 17:14:35 +07:00
wiz
9d4659c3ba
Add Terms of Service links with minor tweaks to text formatting 2020-10-18 16:03:03 +09:00
wiz
0fca6f3a3b
Tweak about page spacing and text 2020-10-17 16:13:57 +09:00
wiz
2d3ed5f8cb
Tag sponsored links with rel=sponsored, don't tag our social media links 2020-10-17 13:31:41 +09:00
wiz
988ed7e8af
Add some brief text to our about page, state Bitcoin Only policy 2020-10-17 12:25:44 +09:00
softsimon
15fdb69b96
Use Twitter API to fetch profile photos.
fixes #133
2020-10-16 16:29:54 +07:00
wiz
db16dbbc9d
Apply suggestions from code review
Co-authored-by: softsimon <softsimon@users.noreply.github.com>
2020-10-11 20:57:52 +09:00
wiz
1d8d39db6b
Only show first 8 characters of git commit hash on about page 2020-10-11 20:20:48 +09:00
wiz
024b2d58f7
Move social media icons to bottom, add terms of service links 2020-10-11 20:15:56 +09:00
softsimon
a8a1f4e976
About page updates.
refs  #128
2020-10-09 13:56:43 +07:00
wiz
0e5f2dd1a4
Use higher resolution profile photos and other minor tweaks 2020-10-09 04:19:32 +09:00
softsimon
784f00b725
Enhancements to the sponsorship GUI
fixes  #128
2020-10-08 17:51:10 +07:00
softsimon
1f7483687f
Don't allow invoices lower than 0.001 and require 0.01 for sponsorship.
refs #122
2020-10-08 00:20:42 +07:00
softsimon
5b8dbfca74
Addig fronend flag (SPONSORS_ENABLED) to enable Sponsors in the gui.
refs #122
2020-10-07 23:30:45 +07:00
softsimon
b6738dd9e8
Moving API docs to separate /api page. 2020-10-07 23:24:01 +07:00
softsimon
17dd03682b
Set 0.01 BTC as minimum donation limit
refs #122
2020-10-07 20:19:22 +07:00
softsimon
a07a4de255
Custom BTCPay donation integration
fixes #122
2020-10-07 20:15:42 +07:00
wiz
a438ba9fcb
Add btcpay donation iframe widget on about page for testing 2020-09-30 22:27:13 +09:00
softsimon
2d02ec7092
Return HTTP 503 from Fee Api when mempool is still syncing.
Fix for displaying git commit on About page.
2020-08-12 13:33:58 +07:00
softsimon
1b9900ccf8
Add commit hash to the bottom of the about page
fixes #102
2020-08-10 14:59:29 +07:00
softsimon
9d8c1184ab
Re-adding design credits. 2020-07-23 22:21:46 +07:00
softsimon
c893608a41
Updated api docs. 2020-07-19 13:48:05 +07:00
softsimon
d22e4a03e6
Adding Bisq API to About page.
Watching partent bisq dump folder.
2020-07-18 12:59:12 +07:00
softsimon
3ff1957f0c
Table design and responsiveness updates. 2020-07-18 11:04:04 +07:00
wiz
4aca806b70
Rename API endpoints in frontend and nginx.conf to match blockstream 2020-07-06 00:15:16 +09:00
softsimon
7e07e2cd8a
Fix address tracking issues. 2020-05-20 17:00:50 +07:00
softsimon
6a51162f99
Renaming file assets folder to resources to not confuse with Liquid assets. 2020-05-02 16:59:14 +07:00
softsimon
628df1a972
Mobile view design updates. 2020-03-25 02:55:26 +07:00
softsimon
b60d9cdfbc General responsive improvments. 2020-03-05 16:13:46 +07:00
softsimon
c1a8863861 Improvments to responsiveness 2020-03-03 17:47:01 +07:00
softsimon
4d2ebcede9 Updating to new github url. 2020-03-01 22:56:14 +07:00
softsimon
a122432c24 Address tracking and notification sounds. 2020-02-26 04:29:57 +07:00
Simon Lindh
8e52a2ba06
Design updates. 2020-02-26 03:39:22 +09:00
wiz
f744d83b65
Simplify contributor roles on team page 2020-02-26 03:38:30 +09:00
Simon Lindh
057bff69fc
Various fixes and design updates. 2020-02-26 03:37:00 +09:00
Simon Lindh
d690511a08
Footer and header design updates. 2020-02-26 03:34:20 +09:00
Simon Lindh
34645908e9
Refactor. API explanations. UX revamp. 2020-02-26 03:26:16 +09:00
Simon Lindh
ac95c09ea6
New base code for mempool blockchain explorerer 2020-02-26 03:19:26 +09:00