noyainrain / meetling

Web app for collaboratively preparing meetings.
https://meetling.org/
GNU General Public License v3.0
15 stars 2 forks source link

Settings #3

Closed noyainrain closed 9 years ago

noyainrain commented 9 years ago

Add (site) settings. For now, admins should be able to adjust the branding:

With this feature, implement first part of auto update functionality. This depends on #5 .

noyainrain commented 9 years ago

Draft:

class Settings(Object):
    """
    Global settings.

    .. describe:: id

       Unique ID ``settings``.

    .. describe:: title

       Site title.

    .. describe:: icon

       Site icon.

    .. describe:: favicon

       Site icon optimized for a small size.

    .. http:get:: /api/settings

       Get the settings.
    """

class Meetling:
    """
    .. attribute:: settings

       Global settings.
    """
noyainrain commented 9 years ago

Mockup: https://app.moqups.com/NoyaInRain/zqvfwQiAkh/view/page/aa4f3edbb

noyainrain commented 9 years ago

Auto update draft:

class Meetling:
    def update(self):
        """Update the Meetling database.

        If the database is fresh, it is initialized. If the database is already up-to-date, nothing
        is done. Thus it is safe to call the method without knowing if an update is necessary.
        """
noyainrain commented 9 years ago

Implemented in 4aed44def7b3bde433d0071b2e18c4cb089c41d8 .