Commit Graph

358 Commits

Author SHA1 Message Date
volpino
2bf0061979 euscanwww: removed useless 'print'
Signed-off-by: volpino <fox91@anche.no>
2012-11-02 20:15:50 +01:00
volpino
352dfa9e14 euscanwww: moving captcha app where the apps should be
Signed-off-by: volpino <fox91@anche.no>
2012-11-02 20:15:50 +01:00
volpino
6f421cfe13 euscanwww: test fixes and minor PEP8 fixes
Signed-off-by: volpino <fox91@anche.no>
2012-11-02 20:15:50 +01:00
volpino
1abc4d409e euscanwww: fixing urls.py to be more DRY
Signed-off-by: volpino <fox91@anche.no>
2012-11-02 20:15:45 +01:00
volpino
48c1eadab4 Merge branch 'master' of https://github.com/iksaif/euscan
Conflicts:
	TODO
	euscanwww/djeuscan/processing/scan/scan_portage.py
	euscanwww/djeuscan/tasks.py
	euscanwww/djeuscan/templates/euscan/_package_details.html

Signed-off-by: volpino <fox91@anche.no>
2012-10-30 20:27:37 +01:00
Corentin Chary
90c7f27b95 djeuscan/processing: fix scan_upstream after scan_portage
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-10-29 13:06:06 +01:00
Corentin Chary
5a8d7e8932 euscanwww: use maintainers names, not ids
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-10-29 13:06:05 +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
volpino
975f7b1dbf euscanwww: Adding an about config page
Signed-off-by: volpino <fox91@anche.no>
2012-10-29 13:06:04 +01:00
volpino
4b3e0bd525 euscanwww: Upgrading Bootstrap toogle buttons
Signed-off-by: volpino <fox91@anche.no>
2012-10-29 13:06:04 +01:00
volpino
c519f6b28a euscan: last_version property added
Signed-off-by: volpino <fox91@anche.no>
2012-10-29 13:06:04 +01:00
volpino
ddd8be39f5 euscanwww: Wrapping herds and maintainers in <p> to put them in newlines
Signed-off-by: volpino <fox91@anche.no>
2012-10-29 13:06:04 +01:00
volpino
3d058946b6 euscanwww: making get parameter shorter
Signed-off-by: volpino <fox91@anche.no>
2012-10-29 13:06:03 +01:00
volpino
75b5bcc32f euscanwww: Adding an option to run upstream scanning after an update in portage
Signed-off-by: volpino <fox91@anche.no>
2012-10-29 13:06:03 +01:00
volpino
16e14bf791 euscanwww: Created a feed for scan world with packages in GET
Note: Check if passing parameters in GET is good, there's the risk of
looong urls

Signed-off-by: volpino <fox91@anche.no>
2012-10-29 13:06:02 +01:00
Corentin Chary
2bd6c03b3b djeuscan: really fix scan on demand
don't use stupid locks, only rate limit.

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-10-10 09:36:25 +02:00
volpino
c02072cb16 euscanwww: Adding an about config page
Signed-off-by: volpino <fox91@anche.no>
2012-09-24 16:47:55 +02:00
volpino
f257c40aec euscanwww: Upgrading Bootstrap toogle buttons
Signed-off-by: volpino <fox91@anche.no>
2012-09-24 15:36:11 +02:00
volpino
f9f18fbce2 euscan: last_version property added
Signed-off-by: volpino <fox91@anche.no>
2012-09-22 16:08:38 +02:00
volpino
04be40e8e0 euscanwww: Wrapping herds and maintainers in <p> to put them in newlines
Signed-off-by: volpino <fox91@anche.no>
2012-09-22 15:45:07 +02:00
volpino
15d67b3060 euscanwww: making get parameter shorter
Signed-off-by: volpino <fox91@anche.no>
2012-09-21 17:10:51 +02:00
volpino
57c80cf954 euscanwww: Adding an option to run upstream scanning after an update in portage
Signed-off-by: volpino <fox91@anche.no>
2012-09-14 17:22:18 +02:00
volpino
16f8d0c355 euscanwww: Created a feed for scan world with packages in GET
Note: Check if passing parameters in GET is good, there's the risk of
looong urls

Signed-off-by: volpino <fox91@anche.no>
2012-09-14 15:25:08 +02:00
Corentin Chary
1fc42e083d Merge remote-tracking branch 'origin/master'
Conflicts:
	euscanwww/djeuscan/templates/euscan/accounts/euscan_email.txt

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-09-14 10:31:19 +02:00
Corentin Chary
e13d54100d euscanwww/templates: minor fixes
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-09-14 10:29:24 +02:00
Corentin Chary
32506e252a euscanwww: small scan related fixes
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-09-14 10:29:06 +02:00
volpino
80ca711565 euscanwww: Improved email template
Now the code is quite cryptic but it's to remove useless blank lines
in the final output.

Signed-off-by: volpino <fox91@anche.no>
2012-09-03 15:09:12 +02:00
volpino
519f335966 euscan: PEP8 compliant code
Signed-off-by: volpino <fox91@anche.no>
2012-08-15 15:37:55 +02:00
volpino
2557b74beb Merge branch 'master' of https://github.com/iksaif/euscan 2012-08-15 15:34:15 +02:00
volpino
269fc0afa5 euscanwww: Fixing all templates to be XHTML compliant
Signed-off-by: volpino <fox91@anche.no>
2012-08-15 15:33:44 +02:00
volpino
68da776d07 euscanwww: Fixing preferences form errors
Signed-off-by: volpino <fox91@anche.no>
2012-08-15 15:25:22 +02: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
d8de359256 euscanwww: Added feeds help page
Signed-off-by: volpino <fox91@anche.no>
2012-08-14 15:32:54 +02:00
volpino
99d97cc2a1 euscanwww: The input of a field with errors is red
Signed-off-by: volpino <fox91@anche.no>
2012-08-14 14:26:28 +02:00
volpino
3ca42ce848 euscanwww: user feed link is displayed on every page for registered users
Signed-off-by: volpino <fox91@anche.no>
2012-08-14 14:19:57 +02:00
volpino
0d956b4c9f euscanwww: Adding missing login_required to UserFeed
Signed-off-by: volpino <fox91@anche.no>
2012-08-14 14:19:38 +02:00
volpino
39e1f95128 euscanwww: Fixed runtests.py and added a simple test for user profile
Signed-off-by: volpino <fox91@anche.no>
2012-08-14 14:07:23 +02:00
volpino
ec2e132583 euscanwww: Minor cleanings
Signed-off-by: volpino <fox91@anche.no>
2012-08-14 13:51:07 +02:00
volpino
f2a4d5d4a4 euscanwww: Better login template
Signed-off-by: volpino <fox91@anche.no>
2012-08-14 12:15:39 +02:00
Corentin Chary
88b15c18d2 djeuscan: enhance email template
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-08-14 11:45:52 +02:00
Corentin Chary
2b823fb905 djeuscan: better email template
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-08-14 10:27:00 +02:00
Corentin Chary
97830775c8 djeuscan: fix some small bugs
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-08-14 09:11:23 +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
volpino
1bb4f14faa euscanwww: Adding more options to preferences, implementing more filters for feeds
Signed-off-by: volpino <fox91@anche.no>
2012-08-11 13:32:56 +02:00
volpino
f04f28aacc euscanwww: Added watch/unwatch button to scan world
Signed-off-by: volpino <fox91@anche.no>
2012-08-10 18:16:40 +02:00
volpino
58d6ecc490 euscanwww: Changed all feeds to support url options
Signed-off-by: volpino <fox91@anche.no>
2012-08-09 12:20:19 +02:00
volpino
8b39853b5f euscanwww: Adding support for GET options in feed
Signed-off-by: volpino <fox91@anche.no>
2012-08-08 15:19:31 +02:00
volpino
78bc2520a7 euscanwww: Adding PoC switches for feed settings
Signed-off-by: volpino <fox91@anche.no>
2012-08-08 14:33:37 +02:00
volpino
225350f584 euscanwww: Swapping watch/unwatch icons
Signed-off-by: volpino <fox91@anche.no>
2012-08-08 13:31:59 +02:00
volpino
edb8d88fb6 euscanwww: Adding basic custom user feed
Signed-off-by: volpino <fox91@anche.no>
2012-08-08 13:30:56 +02:00
volpino
77f1cb52ea euscanwww: Improved forms UI, added preferences page and change password
Signed-off-by: volpino <fox91@anche.no>
2012-08-08 10:47:58 +02:00
volpino
c4e3c4c04a euscanwww: Fixing typo in dashboard
Signed-off-by: volpino <fox91@anche.no>
2012-08-08 09:28:48 +02:00
volpino
49f33796a7 euscanwww: Corrected typo in favourite overlay
Signed-off-by: volpino <fox91@anche.no>
2012-08-08 08:58:07 +02:00
volpino
952d9505b2 euscan/euscawww: Removing unused imports, fixed some typos and PEP8 cleaning
Signed-off-by: volpino <fox91@anche.no>
2012-08-07 09:39:49 +02:00
Corentin Chary
b03541c97d euscanwww/tasks: ungroup tasks for now, use immutables tasks
There is a bug in celery preventing (group | group | task)() chains
to work. Was reported but not yet fixed.

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-08-07 08:46:05 +02:00
Corentin Chary
0c97fcd42e euscanwww: some optimizations
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-08-03 21:59:09 +02:00
Corentin Chary
94f6b7541c euscanwww: misc fixes
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-08-03 21:58:24 +02:00
Corentin Chary
d0aceaeec4 euscanwww: fix captcha <table> must be inside <form>
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-08-03 21:57:41 +02:00
Corentin Chary
62b1fbba4e euscanwww: fix tasks
- group_one was broken
- new way of calling  consume refresh queries

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-08-03 21:55:59 +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
d34e3d4c4c euscanwww: Added missing icons and truncatechars
Signed-off-by: volpino <fox91@anche.no>
2012-07-30 00:08:02 +02:00
volpino
6178d66f0d euscanwww: removing unused import and PEP8 cleaning
Signed-off-by: volpino <fox91@anche.no>
2012-07-29 10:13:17 +02:00
Corentin Chary
6ce658fa0d euscan: stuff
(yeah, sorry ..)

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-28 11:39:38 +02:00
Corentin Chary
6ec059bdc2 Merge remote-tracking branch 'fox/master' 2012-07-28 11:32:41 +02:00
Corentin Chary
4e317fc145 djeuscan: add sendmail email backend
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-28 10:15:03 +02:00
volpino
29f143ff87 euscanwww: messages becomes a property
Signed-off-by: volpino <fox91@anche.no>
2012-07-27 12:55:57 +02:00
volpino
fd8c61d7e8 euscanwww: Added some "truncatechars" filters
Signed-off-by: volpino <fox91@anche.no>
2012-07-27 12:28:53 +02:00
volpino
34e966f5de euscanwww: Adding queue position in refresh package alert message
Signed-off-by: volpino <fox91@anche.no>
2012-07-27 12:21:48 +02:00
volpino
31e3dd66d8 euscanwww: Prevent not deterministic QuerySet order when slicing
Signed-off-by: volpino <fox91@anche.no>
2012-07-27 11:37:58 +02:00
volpino
04265dacff euscan: just PEP8 cleaning
Signed-off-by: volpino <fox91@anche.no>
2012-07-27 11:33:27 +02:00
Corentin Chary
8d65eaea1f djeuscan: use crontabs and depends on djcelery migrations
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-26 21:18:43 +02:00
Corentin Chary
89408dde2b djeuscan: pkg.metadata can fail
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-26 21:18:31 +02:00
Corentin Chary
3c30cae6eb djeuscan: use store_true for populqte in scan_metadata
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-26 21:17:45 +02:00
Corentin Chary
29b1ad557a Merge remote-tracking branch 'fox/master'
Conflicts:
	euscanwww/djeuscan/helpers.py

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-26 21:17:10 +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
volpino
3ef800b68d Merge branch 'master' of https://github.com/iksaif/euscan
Conflicts:
	bin/euscan_patch_metadata
	euscanwww/djeuscan/views.py
	pym/euscan/handlers/__init__.py
	pym/euscan/handlers/kde.py
	pym/euscan/handlers/url/cpan.py
	pym/euscan/handlers/url/generic.py
	pym/euscan/handlers/url/github.py
	pym/euscan/handlers/url/php.py
	pym/euscan/handlers/url/pypi.py
	pym/euscan/handlers/url/rubygem.py
	pym/euscan/scan.py

Signed-off-by: volpino <fox91@anche.no>
2012-07-26 10:57:38 +02:00
Corentin Chary
f670645747 Revert "djeuscan: helpers.py is actually unused"
This reverts commit 8146dc1f44.
2012-07-25 17:08:19 +02:00
Corentin Chary
1a7efc58a7 djeuscan: tweak admin.py
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-25 16:53:17 +02:00
Corentin Chary
a12e2c42ea djeuscan: move problem to another page, use an icon, restrict to registered
We may move it back to the package page later.

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-25 16:53:17 +02:00
volpino
e2890c6364 euscan: Added watch handler, fixed generic one
Signed-off-by: volpino <fox91@anche.no>
2012-07-25 16:53:17 +02:00
volpino
795dcb1414 euscanwww: == None -> is None
Signed-off-by: volpino <fox91@anche.no>
2012-07-25 16:53:17 +02:00
volpino
67654ee0b4 euscan: Progressbar on stderr
Signed-off-by: volpino <fox91@anche.no>
2012-07-25 16:53:16 +02:00
volpino
cf8f9ae9cc euscanwww: From fixture to south data migration
Signed-off-by: volpino <fox91@anche.no>
2012-07-25 16:53:16 +02:00
Corentin Chary
8146dc1f44 djeuscan: helpers.py is actually unused
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-25 16:53:16 +02:00
volpino
c35065e344 euscan: Added watch handler, fixed generic one
Signed-off-by: volpino <fox91@anche.no>
2012-07-24 17:48:20 +02:00
Corentin Chary
7cdd10f028 Revert "djeuscan: helpers.py is actually unused"
This reverts commit be9d28c255.
2012-07-24 09:04:20 +02:00
volpino
266838b308 euscanwww: == None -> is None
Signed-off-by: volpino <fox91@anche.no>
2012-07-24 09:03:14 +02:00
volpino
cc7c378648 Revert "djeuscan: helpers.py is actually unused"
This reverts commit be9d28c255.
2012-07-24 09:02:01 +02:00
volpino
fd12bf1cb4 Merge branch 'master' of https://github.com/iksaif/euscan
Conflicts:
	euscanwww/djeuscan/processing/scan/scan_portage.py

Signed-off-by: volpino <fox91@anche.no>
2012-07-24 08:15:56 +02:00
volpino
2b09bfba8a euscan: Progressbar on stderr
Signed-off-by: volpino <fox91@anche.no>
2012-07-24 08:10:56 +02:00
Corentin Chary
9d905166be djeuscan: smaller icons, change refresh icon
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-24 08:09:47 +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
fe7a81654b djeuscan: switch to ansi2html
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-24 08:08:37 +02:00
Corentin Chary
e0a5308463 djeuscan: add euscan result log into a variable
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-24 08:07:09 +02:00
Corentin Chary
6bb42d72fc djeuscan: display confidence and tweak result display
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-24 08:06:10 +02:00
Corentin Chary
3d6126cf81 djeuscan: run scan_metadata(packages=None, populate=True)
Scan only additional stuff, not packages.

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-24 08:05:12 +02:00
Corentin Chary
7e911bd9c6 djeuscan: use debug to dump json on error
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-24 08:03:42 +02:00
Corentin Chary
5d39cbf2fd djeuscan: in scan_metadata, if packages=None, skip packages scan
But if packages=[], scan all packages.

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-24 07:59:40 +02:00
Corentin Chary
9617fd25a1 djeuscan: add cp() and cpv() for Package and Version
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-24 07:59:00 +02:00
Corentin Chary
b0cd34ed75 djeuscan: portage. can be used instead of PORTDB
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-23 18:49:41 +02:00