-
Notifications
You must be signed in to change notification settings - Fork 441
Announcements
Saray Cabrera Padrón edited this page May 11, 2020
·
1 revision
We need a way to display Terms of Services (ToS). This feature,that we call Announcement
, has the following characteristics:
- The announcement is visible all along the website until the user accept it.
- The user has to accept the ToS to hide the announcement.
- We only display one announcement at a time. The last one. The older ones are considered obsolete.
- Only admin users can create announcements via API.
- The text of the announcement can include markdown format.
- Everybody can see the announcement, even non-logged users. But, of course, only logged users can accept it.
- Even if the user accept the ToS and the announcement disappears, we always have to show the text somewhere. We have added a link to the footer.
osc api -X POST '/announcements' -d "<announcement><title>Sequi voluptates 1</title><content>This is the content with **bold** and _italic_ texts.</content></announcement>"
curl -u Admin:xxx -X POST -d "<announcement>\n <title>Sequi voluptates 2</title><content>This is the content with **bold** and _italic_ texts.</content></announcement>" http://localhost:3000/announcements.xml
- Development Environment Overview
- Development Environment Tips & Tricks
- Spec-Tips
- Code Style
- Rubocop
- Testing with VCR
- Authentication
- Authorization
- Autocomplete
- BS Requests
- Events
- ProjectLog
- Notifications
- Feature Toggles
- Build Results
- Attrib classes
- Flags
- The BackendPackage Cache
- Maintenance classes
- Cloud uploader
- Delayed Jobs
- Staging Workflow
- StatusHistory
- OBS API
- Owner Search
- Search
- Links
- Distributions
- Repository
- Data Migrations
- next_rails
- Ruby Update
- Rails Profiling
- Installing a local LDAP-server
- Remote Pairing Setup Guide
- Factory Dashboard
- osc
- Setup an OBS Development Environment on macOS
- Run OpenQA smoketest locally
- Responsive Guidelines
- Importing database dumps
- Problem Statement & Solution
- Kickoff New Stuff
- New Swagger API doc
- Documentation and Communication
- GitHub Actions
- How to Introduce Software Design Patterns
- Query Objects
- Services
- View Components
- RFC: Core Components
- RFC: Decorator Pattern
- RFC: Backend models