| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* lps_gen.py (template_read): Add exception handling for non-existent
templates.
* tests/test_lps_gen.py (TestTemplates.test_read): Add non-existent
template test.
|
|
|
|
|
| |
* lps_gen.py (template_read): New function.
* tests/test_lps_gen.py (TestTemplates): New test class.
|
|
|
|
|
|
| |
* tests/test_lps_gen.py (TestLPiCal.setup_class, TestLPS.setup_class)
(TestLPSTBA.setup_class, TestLPSSpeakers.setup_class)
(TestSpeakersAutoLinking): Update template path.
|
|
|
|
|
| |
* lps_gen.py (LPiCal.to_ical): Use format for formatted string.
* tests/test_lps_gen.py (TestLPiCal.test_to_ical): Update test.
|
|
|
|
|
|
| |
* lps_gen.py (LPiCal.__init__): Use format function for formatted
string.
* tests/test_lps_gen.py (TestLPiCal.test_init): New test.
|
|
|
|
|
|
|
|
|
| |
DICT.iteritems() -> DICT.items().
* tests/test_lps_gen.py
(TestLPiCal.test_get_timeslot)
(TestLPiCal.test_get_month_day)
(TestLPiCal.test_add_event): Update methods.
|
|
|
|
|
|
|
|
|
|
|
|
| |
DICT.has_key(KEY) -> 'KEY' in DICT.
* tests/test_lps_gen.py
(TestLPSpeakers.test_LPSpeakersMarkdown_keynotespeakers_imgurl)
(TestLPSpeakers.test_LPSpeakersMarkdown_keynotespeakers_imgalt)
(TestLPSpeakers.test_LPSpeakersMarkdown_keynotespeakers_bio)
(TestLPSpeakers.test_LPSpeakersMarkdown_speakers_imgurl)
(TestLPSpeakers.test_LPSpeakersMarkdown_speakers_imgalt)
(TestLPSpeakers.test_LPSpeakersMarkdown_speakers_bio): Update methods.
|
| |
|
|
|
|
| |
* tests/test_lps_gen.py (TestJSONUtils.setup_class): Update method.
|
| |
|
|
|
|
|
|
|
| |
* tests/test_lps_gen.py (TestLPiCal.test_gen_ical)
(TestLPiCal.test_gen_ical_sessions_only)
(TestLPS.test_RenderHTML)
(TestLPS.test_RenderHTML_sessions_only): Update methods.
|
| |
|
|
|
|
|
|
|
|
|
| |
* tests/test_lps_gen.py (TestLPiCal.setup_class)
(TestLPiCal.setup, TestLPiCal.test_mk_datetime)
(TestLPiCal.test_gen_ical_sessions_only)
(TestLPiCal.test_to_ical)
(TestLPS.setup_class)
(TestSpeakersAutoLinking.setup_class): Update tests.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now matches time slots of the form:
09:45 - 10:30: Lorem ipsum dolor sit.
or
09:45 - 10:30 - Lorem ipsum dolor sit.
or
09:45 - 10:30
* lps_gen.py (LPiCal.timeslot_r): Update variable.
(LPiCal.get_timeslot): Update method.
* tests/test_lps_gen.py (TestLPiCal.test_get_timeslot): Update test.
|
|
|
|
|
| |
* tests/test_lps_gen.py
(TestLPS.test_LPSMarkdown_desc): New test.
|
|
|
|
| |
* tests/test_lps_gen.py (TestLPS.test_LPSMarkdown_video): New test.
|
|
|
|
|
| |
* tests/test_lps_gen.py
(TestSpeakersAutoLinking.setup_class): Update method.
|
|
|
|
| |
* tests/test_lps_gen.py (TestLPSTBA.setup_class): Update method.
|
|
|
|
|
| |
* tests/test_lps_gen.py
(TestLPSpeakers.test_RenderHTML): Add TODO.
|
|
|
|
|
| |
* tests/test_lps_gen.py
(TestLPS.test_RenderHTML_sessions_only): Add TODO.
|
|
|
|
| |
* tests/test_lps_gen.py (TestLP.test_RenderHTML): Add TODO.
|
|
|
|
|
|
|
| |
* tests/files/lp-sch.md: Update file.
* tests/test_lps_gen.py (setup_class)
(test_LPSMarkdown_timeslot)
(test_LPSMarkdown_session): Update methods.
|
|
|
|
|
|
| |
* lps_gen.py (LPiCal.add_event): Update method. New argument `t_name`.
(gen_ical): Update method.
* tests/test_lps_gen.py (TestLPiCal.test_add_event): Update method.
|
| |
|
|
|
|
|
|
|
| |
From now on `DescTBA` can be given if the description for a session is
not decided yet; `DescTBA` will be filtered out of the generated HTML.
Addresses issue #4.
|
|
|
|
| |
Addresses issue #4.
|
|
|
|
|
|
|
|
| |
From now on `SpeakerTBA` can be given if the speaker for a session is
not decided yet; `SpeakerTBA` will be filtered out of the generated
HTML.
Addresses issue #4.
|
|
|
|
|
|
|
| |
- Detects when timeslot is not given and ignores that timeslot.
- Detects when month, day not given and ignores that day.
Addresses issue #8.
|
| |
|
|
|
|
| |
Addresses issue #8.
|
|
|
|
|
|
|
|
|
| |
Contains two methods at the moment:
- get_timeslot
- get_month_day
Addresses issue #8.
|
|
|
|
|
|
| |
In some places use inline links.
Addresses issue #3.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If "John Hacker" is the speaker that has to be autolinked in the
sessions MD file; the markup to autolink is [John Hacker]().
[John Hacker]() -> <a href="speakers.html#hacker">John Hacker</a>, if id
for "John Hacker" is available in the `speaker.ids` file[1].
[1]: The `speakers.ids` file is automatically written to the disk (in
the current working directory) when the speakers' bio page is generated.
List of speakers that are autolinked but don't have an id, are written
to the `speakers.noid` file when the sessions page is generated.
Addresses issue #7.
|
| |
|
|
|
|
|
|
|
|
| |
The `speaker.ids` file contains a mapping of the speakers and their
corresponding ids. This file will later be used by LPSMarkdown and
LPSRenderer to auto link speakers while generating the sessions page.
Addresses issue #7
|
|
|
|
| |
json_read and json_write
|
|
|
|
| |
Address issue #1.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Changed the way speaker' bio are parsed into the lpspeakers_dict
dictionary.
As a side effect, there is no need to put a placeholder (NO_IMAGE) when
the image for a speaker is not available.
Addresses issue #1.
|
| |
|
|
|
|
| |
`test_LPSpeakersMarkdown_keynotespeakers_imgalt` last photo is empty.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- New classes:
- LPSpeakersRenderer
- LPSpeakersMarkdown
+ tests for them
- New package dependency
- unidecode
Address issue #1.
|
|
|
|
| |
- test_RenderHTML_sessions_only.
|
|
|
|
| |
test_RenderHTML_invalid_year -> test_RenderHTML_nonexistent_template
|
|
|
|
|
|
|
|
|
| |
As per Zak's request, the script now requires the user to pass the
template as (the first) argument to the script.
The script does not use the template that is part of the
lpschedule-generator module; indeed the internal template will be
deleted later.
|
| |
|
|
|
|
| |
When template is not found, instead of returning, it calls sys.exit(1).
|