Projet

Général

Profil

Télécharger (25,2 ko) Statistiques
| Branche: | Tag: | Révision:

calebasse / calebasse / agenda / models.py @ 1164bc89

# Date Auteur Commentaire
1164bc89 06 janvier 2015 18:49 Mikaël Ates

Add missing default values to BooleanFields.

a2e49cca 29 septembre 2014 08:02 Mikaël Ates

agenda: prevent periodic modification and deletion if one act is not new.

05cf3715 24 août 2014 22:16 Frédéric Péters

fix spelling in error message

b2ab5f4c 01 août 2014 00:03 Mikaël Ates

agenda: various modification on periodicity management and heper functions and properties

Add date, time and duration to Event model.
Add acts property returning a queryset of the acts associated to the periodic Event
and associated to its exceptions....
82bd6993 30 juillet 2014 17:17 Mikaël Ates

agenda: act comment does not exist anymore.

8e6a3c86 22 juillet 2014 14:43 Serghei Mihai (congés, retour 15/05)

logging actions on models improved using post_save and pre_delete signals

a01d85be 17 juillet 2014 10:23 Serghei Mihai (congés, retour 15/05)

logging actions on models with django_journal

Closes #1988

7a2fc3bb 19 juin 2014 17:57 Serghei Mihai (congés, retour 15/05)

agenda: overlapping events taking in account absent act states

d3cfbd19 14 juin 2014 16:35 Serghei Mihai (congés, retour 15/05)

actes: fixing empty EventWithAct object while trying to create an act. Doctors
are forced to be Worker instances instead of People(which is its parent)

Closes #4945

bba85766 29 avril 2014 11:00 Serghei Mihai (congés, retour 15/05)

Inactive participants highlighted in patien's next schedules

dcc08b06 11 avril 2014 15:08 Benjamin Dauvergne

Merge branch 'new-features'

9de67cc5 11 avril 2014 15:07 Benjamin Dauvergne

agenda/models: add fifth week of the month option to the PERIODICITIES list

Also fix recurrent event created since change of week-rank 4 semantic
(fifth-week instead of last week).

fixes #4584

dd986559 08 avril 2014 11:44 Serghei Mihai (congés, retour 15/05)

agenda: room renamed to ressource

Closes #4653

9433e992 26 mars 2014 23:32 Benjamin Dauvergne

agenda/models: add a fith-week of month rank

fixes #4584

e90f4c73 18 mars 2014 23:08 Jérôme Schneider

agenda: don't store appoinment title into db

3c5df84d 17 décembre 2013 10:47 Jérôme Schneider

cleanning code: fix some pylints warning like useless imports

e6b125bd 03 juillet 2013 13:20 Mikaël Ates

agenda/dossier: display on appointments when a participant is missing (fixes #2039).

32551648 04 avril 2013 11:16 Jérôme Schneider

actes: fix build_act save comment, doctors and last_validation_state

981abc28 29 mars 2013 17:55 Jérôme Schneider

actes: modify db to store the last validation state

Improve act search with last state : pointed, away, ...

WARNING this commit change the database :

./manage.py migrate actes

Fixes #2092

5534cf1d 26 mars 2013 19:34 Jérôme Schneider

agenda: sync act comment and event description when a new act is create
from an EventWithAct

Begin fixes #2602

1d10b2c6 08 février 2013 12:21 Benjamin Dauvergne

agenda: fix acts_cleaning(), attach acts to exceptions event when pointed, fixes #2461

083e9b50 07 février 2013 11:45 Benjamin Dauvergne

agenda: restore the Event.save() method after running the monkey patch

fcc58fae 06 février 2013 10:44 Jérôme Schneider

dossiers agenda: show recurrence exceptions if the date is after
end_date

8fa0047b 04 février 2013 11:03 Benjamin Dauvergne

agenda: when monkey patching save() on Act, restore the original method after execution, fixes #2460

6eded8d1 31 janvier 2013 18:42 Benjamin Dauvergne

agenda: when updating acts to match new list of occurences, update from the occurrence corresponding to the act date not the periodic one

33522bec 23 janvier 2013 14:57 Benjamin Dauvergne

agenda: keep service list when creating an exception event

9ccdb2fe 17 janvier 2013 16:48 Benjamin Dauvergne

agenda: fix off by one error

4b5bbcb1 16 janvier 2013 13:58 Mikaël Ates

agenda: add is_asbent function to EventWithAct model.

3c3ff28f 11 janvier 2013 17:49 Benjamin Dauvergne

Merge branch 'master' into dev

dfea3c5e 11 janvier 2013 14:56 Benjamin Dauvergne

agenda: transfer time from event to acts

a334f1e6 11 janvier 2013 11:15 Mikaël Ates

agenda: make event description optionnal.

3e9b47e9 11 janvier 2013 10:43 Benjamin Dauvergne

agenda: add editing of periodic events

433b67bb 09 janvier 2013 18:49 Benjamin Dauvergne

agenda/actes: only build act objects when needed

- event.act does not create act objects if none exist, it initilizes
one
- the AgendaServiceActValidationView create acts without an id on the
fly
9f508ae0 08 janvier 2013 00:52 Benjamin Dauvergne

agenda: remove dead parameter today from EventWithAct.get_or_create_act

5f3ce603 08 janvier 2013 00:52 Benjamin Dauvergne

agenda: clean acts as part of the Event.save method

Detec when the event is really an EventWithAct and update or delete linked acts

046a69ee 08 janvier 2013 00:52 Benjamin Dauvergne

agenda: update Act.parent_event when updating an Act from an EventWithAct

dbe774de 08 janvier 2013 00:52 Benjamin Dauvergne

agenda: update parent event exceptions_dict cache when saving an exception

86d19877 08 janvier 2013 00:52 Benjamin Dauvergne

agenda: prevent virtual eventwithact to be saved to their parent event

6b0ae820 08 janvier 2013 00:52 Benjamin Dauvergne

agenda: try to profit from prefetching in EventWithAct.act

b8a9f824 08 janvier 2013 00:52 Benjamin Dauvergne

agenda: upgrade exceptions to EventWithAct model only if needed

e9fb7b88 08 janvier 2013 00:52 Benjamin Dauvergne

agenda/actes: add indexes to most queried fields

3ca3d1ff 08 janvier 2013 00:52 Benjamin Dauvergne

agenda: remove EventWithAct.delete

b16fae0e 06 janvier 2013 00:09 Benjamin Dauvergne

agenda: fix bugs in exceptions handling

7b395367 05 janvier 2013 23:35 Benjamin Dauvergne

agenda: init time and _duration when creating acts for a rdv

ebddd10a 05 janvier 2013 22:21 Benjamin Dauvergne

agenda: remove unused OldRSID

12a8ef2b 05 janvier 2013 22:21 Benjamin Dauvergne

agenda: add more assertions to Event.save

f16de572 05 janvier 2013 22:21 Benjamin Dauvergne

agenda: split clean() into one method for completing technicals fields and one method to check form issued Event objects

69e79c82 04 janvier 2013 17:57 Jérôme Schneider

import ev: manage ev autre simple

508c3726 04 janvier 2013 13:52 Benjamin Dauvergne

agenda: add shortcut when we known there cannot be exceptions

ba0e06ef 04 janvier 2013 13:52 Benjamin Dauvergne

agenda: complement today_occurrence for EventWithAct

790fd669 04 janvier 2013 13:51 Benjamin Dauvergne

agenda: correctly call Event.today_occurrence in Event.all_occurrences

59136255 04 janvier 2013 13:47 Benjamin Dauvergne

agenda: in Event.today_occurrence return current event if it is not periodic

ced57915 04 janvier 2013 13:47 Benjamin Dauvergne

agenda: fix error in Event.match_date

0acdd88a 04 janvier 2013 13:47 Benjamin Dauvergne

agenda: add assertion to prevent event exception with periodicity field not None

5c2d0ea2 04 janvier 2013 12:50 Benjamin Dauvergne

fix typo today_occurence -> today_occurrence

6190a8ce 04 janvier 2013 12:28 Benjamin Dauvergne

agenda: add repr method to Event

a04356e2 04 janvier 2013 12:23 Benjamin Dauvergne

agenda: add support for event exceptions

ddcbee95 04 janvier 2013 12:23 Benjamin Dauvergne

agenda/actes: move convocation_sent from Act to EventWithAct

74102956 03 janvier 2013 00:02 Benjamin Dauvergne

agenda: fix typo

44482a62 03 janvier 2013 00:02 Benjamin Dauvergne

agenda: add fields to conserve faure db ids of events and meetings

5c93596e 02 janvier 2013 03:28 Benjamin Dauvergne

agenda: do not allow event without a start datetime

restore previous behaviour

fcd786f5 02 janvier 2013 03:28 Benjamin Dauvergne

agenda: keep validated acts linked to an event when the event is deleted

4ce756c8 02 janvier 2013 03:27 Benjamin Dauvergne

agenda: add periodicity support for week parity and weekday rank in the month

83455a04 01 janvier 2013 23:29 Benjamin Dauvergne

agenda: allows recurring events without an end date

6eff18f3 31 décembre 2012 17:24 Benjamin Dauvergne

agenda: update act doctors when participants change

76974b6f 31 décembre 2012 17:24 Benjamin Dauvergne

agenda/actes/dossiers: move Occurence fields into Event, add recurring events support

05935a8b 21 décembre 2012 16:48 Benjamin Dauvergne

agenda: add missing object_id field of Note model

68e9f8c1 21 décembre 2012 13:08 Frédéric Péters

agenda: add "other" event type (#2025)

b8608ae3 21 décembre 2012 11:49 Frédéric Péters

agenda: change title field label in form, not model (#1992)

c93f9981 21 décembre 2012 11:43 Frédéric Péters

agenda: change label of event title, and make it optional (#1992)

5f4c5dd2 21 décembre 2012 11:26 Frédéric Péters

agenda: cancelled events are available time slots (#2228)

69a9009e 30 octobre 2012 12:36 Jérôme Schneider

agenda: add a new event now works

2ff5e689 26 octobre 2012 09:20 Jérôme Schneider

agenda: optimize appoinments rendering and use interval lib

  • calebasse/agenda/appointments.py: use interval lib and remove some
    sql request * calebasse/agenda/views.py: use more generic sql requests * calebasse/agenda/models.py: cosmetic * calebasse/agenda/utils.py: deleted is use this function into...
7a0a30d7 25 octobre 2012 18:50 Benjamin Dauvergne

agenda: add a free_time utility function

7f7d601b 23 octobre 2012 14:58 Benjamin Dauvergne

remove unused import

1da8cee7 23 octobre 2012 11:29 Benjamin Dauvergne

restore room in the event object

f8ad3b42 20 octobre 2012 20:15 Jérôme Schneider

Manage disponiblity and fix fixtures

  • calebasse/agenda/managers.py: add daily_disponiblity for OccurrenceManager * agenda/models.py: Occurence notes field is now a many to many
    relation * agenda/templates/agenda/index.html: add disponibility support...
dfbedf34 19 octobre 2012 17:41 Jérôme Schneider

Improve models

  • calebasse/actes/models.py: move room column to occurrences
  • calebasse/agenda/managers.py: add room management
  • calebasse/cale_base/admin.py: add new tables
  • calebasse/models.py: Fix PhoneField and ZipField
  • calebasse/ressources/models.py: Fix
84091f2c 17 octobre 2012 17:43 Jérôme Schneider

agenda: add holidays management

e39efb4a 17 octobre 2012 15:11 Jérôme Schneider

Fix models and improve event managers

96f613c6 17 octobre 2012 13:37 Benjamin Dauvergne

rework models, rename them using english names

11984ab3 09 octobre 2012 18:39 Jérôme Schneider

Improve OccurenceManager and rename calendar to managers

  • agenda/calendar.py -> agenda/managers.py * agenda/models.py: move OccurenceManager to agenda/managers.py * agenda/tests.py: add and improve tests * cale_base/models/act.py: use new names * cale_base/models/user.py: use new names
6da3eb09 04 octobre 2012 19:36 Jérôme Schneider

Improve model and add Calendar class

a95f286b 26 septembre 2012 19:44 Jérôme Schneider

Add Calebasse user event management for work and holidays

  • agenda/models.py: cleaning * cale_base/models/user.py: add work_events and holidays * cale_base/tests.py: add a basic test for add_work_event * exceptions.py: basic exception for Calebasse
79ab3a93 25 septembre 2012 19:31 Jérôme Schneider

Improve models

  • calebasse/agenda/models.py: replace owners by participants * calebasse/cale_base/models/__init__.py: import new models classes * calebasse/cale_base/models/act.py: add transport, date and convene * calebasse/cale_base/models/bill.py: first draft of Bill class...
42670aa4 21 septembre 2012 19:14 Jérôme Schneider

Fix create event and enable admin

  • agenda/models.py: fix create_event function * agenda/views.py: a first example of event creation * settings/common.py: enable admin * urls.py: enable admin
61d218b9 21 septembre 2012 17:36 Jérôme Schneider

Fix calebasse model

  • calebasse/agenda/models.py: change app_label * calebasse/cale_base/models/actes.py: change app_label
ba34dc24 19 septembre 2012 17:41 Jérôme Schneider

Begin model

  • calebasse/agenda: swingtime fork for calebasse * calebasse/cale_base/models: just examples to enable the agenda module