Commit Graph

27 Commits

Author SHA1 Message Date
volpino
c04b4c8187 euscanwww: Adding make.conf and overlays info to config page
Signed-off-by: volpino <fox91@anche.no>
2012-11-02 20:15:51 +01:00
volpino
c31076ddb4 euscanwww: Moving all account related stuff to a separate app
Note: This commit could break things, the userprofile model has been
moved so the db layout must change (some alter table commands are
needed to don't lose data)

Signed-off-by: volpino <fox91@anche.no>
2012-11-02 20:15:51 +01:00
Corentin Chary
808acfe13a django-recaptcha 0.0.5 compat
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-10-29 13:06:05 +01:00
Corentin Chary
bbfcc3d6d5 euscan: misc fixes
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-08-15 11:04:29 +02:00
volpino
d1058aed8b euscanwww: initial implementation of euscan updates email
Signed-off-by: volpino <fox91@anche.no>
2012-08-11 15:09:42 +02:00
Corentin Chary
a8e6b09125 eucanwww: add recaptcha support
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-08-03 21:55:23 +02:00
volpino
7b9560ced0 euscanwww: Moving from XXXAssociation to UserProfile
Signed-off-by: volpino <fox91@anche.no>
2012-07-26 14:37:03 +02:00
Corentin Chary
96a5a91e0c djeuscan: remove empty CELERYBEAT_SCHEDULE
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-24 08:09:17 +02:00
Corentin Chary
8743e9d1e1 euscan: move version type helpers to euscan.version
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-20 09:04:15 +02:00
Corentin Chary
2544af2e32 euscanwww/tasks: simplify tasks
- strip '_task' end
- remove "launcher" functions, if we want complicated starter
  functions we will put them somewhere else later.
- now, everything is asynchroneous, maybe we could switch from
  group_one()/group_chunks() to .chunks() someday...

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-20 08:42:38 +02:00
volpino
c483ac41f1 euscanwww: using djcelery.schedulers.DatabaseScheduler for periodic tasks
Signed-off-by: volpino <fox91@anche.no>
2012-07-18 17:16:31 +02:00
volpino
03cf3b90a4 euscanwww: Upgraded to Celery 3.0 and fixed scan_portage
Fixed TaskSet calls and synchronous stuff. Everything should be
deadlock safe

Signed-off-by: volpino <fox91@anche.no>
2012-07-07 18:09:14 +02:00
volpino
a6b215cec9 euscanwww: Fixed tasks to work with processing.scan and processing.misc
Fixed tasks to work with processing.* changes.
Moved periodic tasks config to settings.py using CELERYBEAT_SCHEDULE

Signed-off-by: volpino <fox91@anche.no>
2012-07-07 15:13:59 +02:00
Corentin Chary
8062fddc23 euscanwww: move processing to scan and misc, enhance update_portage_tree
update_portage_tree() now:
- watch stderr and stdout for each command
- use layman command instead of layman API for sync because
  layman API doesn't work when stdout or stderr is not a real file
  (we could probably work around that with pipes and epoll)
- use egencache instead of emerge to generate cache
- export PORTAGE_CONFIGROOT, ROOT, EIX_CACHEFILE etc.. so they
  are used everywhere

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-02 18:16:59 +02:00
volpino
fc7f929038 euscanwww: Fixed broken tasks
Signed-off-by: volpino <fox91@anche.no>
2012-06-29 17:25:45 +02:00
volpino
1ae2dcba50 euscanwww: settable options for _run_in_chunks()
Signed-off-by: volpino <fox91@anche.no>
2012-06-26 18:31:35 +02:00
volpino
779ccdf5d3 euscanwww: use logging in djeuscan.processing
Signed-off-by: volpino <fox91@anche.no>
2012-06-22 11:31:15 +02:00
volpino
7367596e33 euscanwww: Added LDAP login
Needs testing and the settings must be changed to use the gentoo ldap
server

Signed-off-by: volpino <fox91@anche.no>
2012-06-12 13:39:05 +02:00
volpino
bd9af90ff6 euscanwww: Removed useless purge tasks, some error handling
Signed-off-by: volpino <fox91@anche.no>
2012-06-12 13:05:58 +02:00
volpino
d34a0c4992 euscanwww: included django-registration and tweaked templates
Signed-off-by: volpino <fox91@anche.no>
2012-06-09 17:12:09 +02:00
volpino
4246c544ad euscanwww: bug found, celery timeouts on join. Commented out
Signed-off-by: volpino <fox91@anche.no>
2012-06-09 16:12:17 +02:00
volpino
60e2019cc3 euscanwww: Added tasks for syncing and updating portage tree
Added these tasks:
 * emerge_sync
 * layman_sync
 * emerge_regen
 * eix_update

Signed-off-by: volpino <fox91@anche.no>
2012-06-04 11:06:47 +02:00
volpino
5970b4df37 euscanwww: Admin improved and simple task launcher added
Signed-off-by: volpino <fox91@anche.no>
2012-06-03 09:43:49 +02:00
volpino
56c4d79fb2 euscanwww: starting implementing Celery tasks
Basic tasks.py module, some fixes in the management commands

Signed-off-by: volpino <fox91@anche.no>
2012-05-30 22:54:55 +02:00
volpino
1f18782007 test reorganized, launch them with setup.py test 2012-05-05 16:09:04 +02:00
volpino
8e37f6249c some refactoring, added Package manager for removing code duplicates, added helpers module, basic tests layout 2012-05-01 16:56:09 +02:00
Corentin Chary
da269b0711 euscanwww: euscan -> djeuscan
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
2012-04-04 17:31:54 +02:00