allow section to have its own time boundary
Bug #532428 reported by
Zhang Weiwu
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SchoolTool |
Fix Released
|
High
|
Justas Sadzevičius |
Bug Description
Need sections to have different start and end date than terms.
For the particular deployment I am working on, the term and school year concept is irrelevant. So whether or not section must be with term or school year is not important for me as I can always extend term/schoolyear to hold my sections. But I believe in other deployment this make some sense too. A school *could* start a course and thus a few sections in the middle of a term. Meanwhile, having this feature makes new users confuse about the difference of sections and terms, bringinging a user interface design challange.
Related branches
lp:~justas.sadzevicius/schooltool/timetables-section-time-boundaries
- Gediminas Paulauskas (community): Abstain
-
Diff: 1656 lines (+928/-262)20 files modifiedsrc/schooltool/app/browser/ftests/setup.py (+2/-1)
src/schooltool/app/utils.py (+42/-0)
src/schooltool/course/browser/section.py (+3/-24)
src/schooltool/course/browser/tests.py (+0/-119)
src/schooltool/level/level.py (+3/-28)
src/schooltool/level/tests/test_level.py (+2/-2)
src/schooltool/timetable/__init__.py (+133/-10)
src/schooltool/timetable/browser/__init__.py (+344/-42)
src/schooltool/timetable/browser/configure.zcml (+28/-7)
src/schooltool/timetable/browser/ftests/composite-timetables.txt (+4/-0)
src/schooltool/timetable/browser/ftests/timetable-events.txt (+6/-0)
src/schooltool/timetable/browser/ftests/timetabling.txt (+5/-5)
src/schooltool/timetable/browser/templates/confirm-timetable-delete.pt (+89/-0)
src/schooltool/timetable/browser/templates/section-timetable-add.pt (+65/-0)
src/schooltool/timetable/browser/templates/section-timetable-view.pt (+112/-0)
src/schooltool/timetable/browser/templates/timetable-edit.pt (+69/-16)
src/schooltool/timetable/configure.zcml (+8/-0)
src/schooltool/timetable/interfaces.py (+6/-0)
src/schooltool/timetable/model.py (+7/-4)
src/schooltool/timetable/tests/test_timetable.py (+0/-4)
Changed in schooltool: | |
assignee: | Ignas Mikalajūnas (ignas) → Justas Sadzevičius (justas-pov) |
milestone: | none → 1.4.0 |
Changed in schooltool: | |
milestone: | 1.4.0 → none |
tags: | added: timetables ui |
Changed in schooltool: | |
status: | New → Fix Committed |
Changed in schooltool: | |
milestone: | none → 1.5.0 |
Changed in schooltool: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
If this feature can be done, what I should do for current deployment to pave way for future upgrade?
I can do the following, please let me know if this is the right thing to do.
A. Supposing I want to add a section starting on 2010-03-08 and ends on 2010-04-02:
0. Write down the section name, starting time and ending time in a memorandum;
1. Configure current term to start on 2010-03-08 and ends on 2010-04-02;
2. Schedule the course using any appropriate time table, it will be scheduled within the term;
3. After scheduling, change current term back to how it was.
B. When I upgrade to the new schooltool with this feature solved, I should:
0. Find the memorandum;
1. Configure historical sections' start and end date accroding to the memorandum, dump the memorandum after doublechecked this.
Thanks.