Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SMP server information #1072

Merged
merged 11 commits into from
May 29, 2024
Merged

SMP server information #1072

merged 11 commits into from
May 29, 2024

Conversation

epoberezkin
Copy link
Member

No description provided.

epoberezkin and others added 7 commits March 27, 2024 23:35
* smp-server: serve contact and link pages from static files

* generate index

* use params from ini

* render using ServerInformation

* tweak templates

* update

* fix some html

* smp-server: fix layout (#1097)

* smp-server: fix layout

* port fixes to link page

---------

Co-authored-by: Alexander Bondarenko <486682+dpwiz@users.noreply.github.com>

* update server information page

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
Co-authored-by: M. Sarmad Qadeer <MSarmadQadeer@gmail.com>
MSarmadQadeer and others added 2 commits May 26, 2024 19:21
* web: improve server info page design

* web: fix font errors & some tags

* web: improve contact & invitation page layout and header

* update

* remove unused files/css

* cleanup

* fix link page

* remove unused font links

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
@@ -303,7 +305,7 @@ smpServerCLI_ generateSite serveStaticFiles cfgPath logPath =
agreeSecret = True,
networkConfig =
defaultNetworkConfig
{ socksProxy = either error id <$> strDecodeIni "PROXY" "socks_proxy" ini,
{ socksProxy = either error id <$!> strDecodeIni "PROXY" "socks_proxy" ini,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

either error id <$!> strDecodeIni is everywhere and continues to spread.
Move to the error/forcing to the function itself (with HasCallStack)?

@epoberezkin epoberezkin merged commit 5c2c883 into master May 29, 2024
1 of 3 checks passed
@epoberezkin epoberezkin deleted the ep/server-info branch May 29, 2024 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants