Code Monkey home page Code Monkey logo

dudel's Introduction

Dudel

A simple group scheduling and poll tool, following the example of doodle.com and similar services.

Setup

Make a virtual environment, activate it, run:

pip install -r requirements.txt

This needs the development packages of some libraries, in particular: libpq, libldap, libsasl2. Make sure you also have scss and coffee (from coffeescript) installed.

Copy config.py.example to config.py and adjust your settings. You will probably want to change DEBUG, TESTING and MAIL_DEBUG for production environments!

cp config.py.example config.py
$EDITOR config.py

Create a test database:

make seed

Create an empty database:

make init

Compile the translations:

make i18n-compile

Run the testserver:

make run

Migration

WARNING! While as a database backend all SQL-Alchemy supported databases should work, migration is only available for PostgreSQL. This is due to complicated upgrade tasks that require database-specific SQL commands, and me being too lazy to implement many of them. For development, you probably want to use SQLite anyway and throw away those databases all the time (make seed).

Translating

Please translate. Run

make i18n-update

then copy/edit translations files (in dudel/translations), then compile them with

make i18n-compile

Times

  • ALL database times are UTC
  • generated times are simply using datetime.utcnow()
  • user-entered times are always converted from the user's Timezone
  • Polls save the timezone of the user that created it
  • Poll timezone can be changed, or set to "Transform to user's timezone"
  • Poll view uses poll timezone, if it differs from user timezone, a warning is displayed
  • Editing the poll's times uses the poll timezone, NOT the user's timezone

Migration

  • Convert user-entered times (due date, poll times) to UTC, assume they were default timezone
  • Add timezone field to poll
  • Add timezone field to user

License

Copyright (C) 2013 - 2015

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.