1228 Commits

Author SHA1 Message Date
Adrian Moennich
e18b3ea3af Test uploader 2014-11-14 14:11:19 +01:00
Adrian Moennich
ef6536d1ec Check test coverage 2014-11-14 13:43:10 +01:00
Adrian Moennich
4c440ada4c Enable Travis 2014-11-14 11:05:43 +01:00
Adrian Moennich
a9209a626e Move tests to separate folder 2014-11-14 09:20:33 +01:00
Adrian Moennich
0133bc3c9a Test compound id generation and simplification 2014-11-13 18:08:12 +01:00
Adrian Moennich
2a352c1518 Use |= instead of = for deletions.
While we don't care about any other changes in case of deletion, we
already check if the deleted flag is set. So we don't need to throw away
other flags. And like this it's better to test.
2014-11-13 18:05:07 +01:00
Alejandro Avilés
0002232153 Use bytestrings in MARCXMLGenerator 2014-11-13 16:30:59 +01:00
Adrian Moennich
8effa6e97e Remove extra linebreak and debug print 2014-11-13 14:45:38 +01:00
Adrian Moennich
c32b0e8e4f Convert settings to unicode just in case 2014-11-13 14:39:07 +01:00
Adrian Moennich
34b415fd4b Migrate settings from ZODB 2014-11-13 14:36:19 +01:00
Adrian Moennich
cd3342ae0a Migrate settings from ZODB 2014-11-13 14:13:23 +01:00
Adrian Moennich
14c5cfd5d8 Import settings from ZODB 2014-11-13 14:02:08 +01:00
Adrian Moennich
5ec5e419e2 Don't break if a backend is missing 2014-11-13 12:24:00 +01:00
Adrian Moennich
03cdb34c0e Import agents from ZODB
closes #1
2014-11-13 12:15:04 +01:00
Adrian Moennich
e3cf989898 Initial commit 2014-11-13 11:17:22 +01:00
Adrian Moennich
58af8a2992 Add useful default run/run_initial_export methods 2014-11-13 10:37:12 +01:00
Adrian Moennich
7943ffebfe Remove obsolete argument 2014-11-13 10:29:34 +01:00
Adrian Moennich
15ff205086 import Uploader from indico_livesync 2014-11-13 10:14:37 +01:00
Adrian Moennich
80450f104d Add MARCXMLUploader 2014-11-13 10:14:12 +01:00
Adrian Moennich
6959322843 Add batch uploader 2014-11-12 18:30:53 +01:00
Adrian Moennich
bea9cb83d0 Use livesync Uploader 2014-11-12 18:28:07 +01:00
Adrian Moennich
96d3e0fc56 Add task and create_task cli 2014-11-12 17:07:31 +01:00
Adrian Moennich
73f5a05bb7 Fix typo 2014-11-11 17:14:47 +01:00
Adrian Moennich
c2984bdd7d Add create_backend helper method to agent model 2014-11-11 17:04:19 +01:00
Adrian Moennich
a18593ec84 Handle category exclusions
Currently only globally for all agents.
2014-11-11 11:19:57 +01:00
Adrian Moennich
d1ee38bbd0 Handle initial export 2014-11-10 17:34:12 +01:00
Adrian Moennich
bfb796d78a Add initial export code 2014-11-10 17:07:46 +01:00
Adrian Moennich
4244faeeb1 Make XML generation more robust
Don't write to the main XMLGen while creating a new record.
This avoids having to undo changes in case of an error in a really
unreliable way.
2014-11-10 17:07:43 +01:00
Adrian Moennich
28afb877c6 Show MarcXML version of changes 2014-11-10 10:52:01 +01:00
Adrian Moennich
5b860e8ddd Add MarcXML generator 2014-11-10 10:48:45 +01:00
Adrian Moennich
d16f40cc09 Add more record handling code 2014-11-07 11:27:49 +01:00
Adrian Moennich
cd2a3d03eb Fix record simplification/cascading 2014-11-07 11:27:30 +01:00
Adrian Moennich
dd6b8b3b21 Dump queue entries (both raw and simplified) 2014-11-07 11:26:35 +01:00
Adrian Moennich
2834441d06 Fix queue population 2014-11-06 15:49:44 +01:00
Alejandro Avilés
58f05fe773 Add simplify.py 2014-11-04 17:42:51 +01:00
Alejandro Avilés
ac1939190f Add iter_subentries to generate nested entries 2014-11-04 17:42:36 +01:00
Alejandro Avilés
71462cf69b Fix __repr__ 2014-11-04 17:42:36 +01:00
Alejandro Avilés
aeec154a3d Add object and object_ref properties 2014-11-04 17:21:36 +01:00
Alejandro Avilés
e4a5e10d02 Add column for type of change 2014-11-04 17:21:36 +01:00
Adrian Moennich
de5baca42f Refactor signal handler to not use a class 2014-11-04 12:30:42 +01:00
Adrian Moennich
2dd972455c Populate the queue on changes 2014-11-04 12:18:53 +01:00
Adrian Moennich
691707d015 Initial commit 2014-10-31 18:00:53 +01:00
Adrian Moennich
6b6c5200e3 Initial commit 2014-10-31 18:00:21 +01:00
Alejandro Avilés
2c7f790907 Reflect change in base converter 2014-10-30 11:44:38 +01:00
Alejandro Avilés
de0063e829 Change js-call-class of timetable button 2014-10-30 11:42:17 +01:00
Alejandro Avilés
643fefc84b Small refactoring
* Indentation
* Use object instance instead of '*append*'
2014-10-30 11:15:05 +01:00
Alejandro Avilés
c6ab4b20f9 Improve base classes 2014-10-30 11:12:45 +01:00
Alejandro Avilés
7bf5e10dab Update docstring 2014-10-30 11:07:55 +01:00
Alejandro Avilés
190913b7d8 Rename plugin name in docstring 2014-10-30 11:04:13 +01:00
Alejandro Avilés
057054f250 Add missing i18n to timetable buttons 2014-10-30 11:03:38 +01:00