Comments (6)
Thanks for the feedback, i will fix the first item.
For the second item, i would rather have an option in the admin panel to disable logins/signups with login and password.
Thoughts ?
from opengist.
Thanks for the feedback, i will fix the first item. For the second item, i would rather have an option in the admin panel to disable logins/signups with login and password.
Thoughts ?
Thanks for your reply!
I think it's ok to have the option in the admin panel.
from opengist.
i would rather have an option in the admin panel to disable logins/signups with login and password
Hey @thomiceli what's the thought process behind whether an option should go in the admin panel or the config? My initial thought was that no option should go in the Admin panel since it's unnecessary and just arbitrarily spreads settings up into two kinds. Instead I feel that the Admin panel should solely be for user/data administration, that cannot reasonably be done via config file.
from opengist.
i would rather have an option in the admin panel to disable logins/signups with login and password
Hey @thomiceli what's the thought process behind whether an option should go in the admin panel or the config? My initial thought was that no option should go in the Admin panel since it's unnecessary and just arbitrarily spreads settings up into two kinds. Instead I feel that the Admin panel should solely be for user/data administration, that cannot reasonably be done via config file.
I had the same reasoning, then it turned out it would be painful to have some of the options in the config file (see #5 and #8). So i like to put here boolean configuration which doesn't need a server restart (also like Gitea does it, see attached)
..although I admit I should rework the UI of this part of the admin panel to make it a bit clearer
from opengist.
I understand where you're coming from but I'm not convinced by the mentioned issues. Registration could always be allowed when when no user exist in db no matter the settings and I don't think having to restart the server for major setting changes is unreasonable, especially on a small scale service like this one.
That said, I am not against settings in the admin panel over a config file. If options in the admin panel is the way forward then I would just make sure to be strict about options in config solely being prerequisites for service startup (which you've already done a good job of). OAuth options could be moved away perhaps? external-url? http.git-enabled? (Not sure if the libs you have used handle these being changed on the fly.)
Sorry for off-topic!
from opengist.
I set up the integration as described in the instructions (https://github.com/thomiceli/opengist#configure-oauth) . Connected Gitea and Opengist. When i try to log in through the user Gitea, an error occurs. Error 400 Bad Request Cannot complete user auth. What could be wrong?
from opengist.
Related Issues (20)
- Option to disable the discovery page without login while still making unlisted gists visible
- Feature Request - Add or change links at top of site HOT 1
- Feature Request: Allow to add comments on gists
- OIDC does not work with some responses HOT 5
- Bug: Embedded codeblocks render \n newline characters
- Failed to continue with Codeberg account HOT 1
- Feature Request: SVG rendering and embedding support
- Question: Add Additional Admin HOT 12
- On version 1.7 the revision link times out HOT 10
- Support to listen on unix domain sockets
- [Feature request] PWA HOT 1
- Spacing between Avatar and title missing on some Gists
- Own Logo over text on mobile
- [Feature request] Helm chart HOT 1
- Mermaid diagram causing syntax error
- [Feature request] Proxy Auth
- [Feature Request]: Disable registration HOT 2
- [Feature request]: Custom links in main address bar
- [BUG]: Markdown preview button missing when editing a gist HOT 3
- [FEAT]: Add markdown alerts (admonition) support HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opengist.