Commit Graph

468 Commits

Author SHA1 Message Date
Lars Kruse
96d375cdaf Fix more "invalid-name" pylint overrides 2018-07-27 04:41:11 +02:00
Lars Kruse
b07f413034 Reduce occurrences of bare exceptions
* replace bare exceptions with specific ones, if possible
* use "exc" instead of "e" as exception variable
  ("exc" is the most popular choice in the standard library)
2018-07-27 04:41:11 +02:00
Lars Kruse
a06b61b054 Fix spelling mistakes (reported by 'codespell')
Sadly "codespell" does not seem to be available in Centos, thus it is
not enabled in the gitlab CI.
2018-07-27 04:40:44 +02:00
Lars Kruse
4646a9ce7a Fix style issues (reported by flake8)
* unused imports
* whitespace
* indentation
2018-07-27 04:40:39 +02:00
Oliver Falk
6ed2f866fb Both may come up during development 2018-07-16 11:09:01 +02:00
Oliver Falk
7a6c66bd46 Merge branch 'oliver-master-patch-48537' into 'master'
Add first real INSTALL

See merge request oliver/ivatar!48
2018-07-13 15:10:51 +02:00
Oliver Falk
70d3f3f42b Add first real INSTALL 2018-07-13 15:06:09 +02:00
Oliver Falk
3411dbafad Merge branch 'import_libravatar_export' into 'master'
Fix some links, add Fedora (+ logo) as sponsor, make contribute button readable

See merge request oliver/ivatar!47
2018-07-13 14:32:01 +02:00
Oliver Falk
088e9e5a8f Fix some links, add Fedora (+ logo) as sponsor, make contribute button readable 2018-07-13 14:24:22 +02:00
Oliver Falk
2f283d83e2 Merge branch 'devel' into 'master'
Finally allow to resend confirmation mail

See merge request oliver/ivatar!46
2018-07-13 13:29:40 +02:00
Oliver Falk
3bb4276a78 Finally allow to resend confirmation mail (+ merge with master, pulling in the libravatar export functionality 2018-07-13 13:24:16 +02:00
Oliver Falk
057f4a4843 Merge branch 'import_libravatar_export' into 'master'
Feature 'Import libravatar export'

See merge request oliver/ivatar!45
2018-07-13 12:59:57 +02:00
Oliver Falk
27fba2f506 Merge branch 'master' into import_libravatar_export 2018-07-13 12:41:03 +02:00
Oliver Falk
c8f6028516 Merge branch 'devel' into 'master'
Merge in latest devel

See merge request oliver/ivatar!44
2018-07-13 12:39:43 +02:00
Oliver Falk
6092d491b1 Merge in devel 2018-07-13 12:39:16 +02:00
Oliver Falk
63d0666b8f Merged in master 2018-07-13 12:36:57 +02:00
Oliver Falk
137af7da58 Merge in master 2018-07-13 12:31:46 +02:00
Oliver Falk
df538b2d9e Cleanup 2018-07-13 12:28:14 +02:00
Oliver Falk
973437f923 Add extra page after libravatar export upload, where user can choose what to import 2018-07-13 12:23:58 +02:00
Oliver Falk
7fc341b24a Wire up importing photo via mail and importing libravatar export in the menu 2018-07-13 08:04:09 +02:00
Oliver Falk
8101521ba3 Move list of avatars to the left on smaller devices, so we have more space on the right for openid/mail 2018-07-13 08:03:42 +02:00
Oliver Falk
752c3a6abb Fix width/height for image, truncate at 30 chars on small devices 2018-07-13 08:02:51 +02:00
Oliver Falk
f4524961cd Feature 'Import libravatar export (mails + photos)' 2018-07-12 15:00:59 +02:00
Oliver Falk
06d86e991d Missing px 2018-07-12 15:00:01 +02:00
Oliver Falk
89a12d4d30 Merge branch 'devel' into 'master'
Style and bugfixes from devel

See merge request oliver/ivatar!43
2018-07-12 07:29:32 +02:00
Oliver Falk
46a22433e5 We also need to check if user is anon:
Fix: !43, introduced by d5bf6de4
2018-07-12 07:16:01 +02:00
Oliver Falk
d5bf6de435 Deliver True/False for max_emails via context processor to all templates 2018-07-11 15:03:32 +02:00
Oliver Falk
20018cbf9f More on styling 2018-07-11 15:03:03 +02:00
Oliver Falk
504f278d23 Correct behaviour if we want to unlink/set photo to None (TODO: Same for OpenID?) 2018-07-11 15:02:34 +02:00
Oliver Falk
32d093805c Add constant for maximum allowed unconfirmed emails (need to wire up in model/view/save later!) 2018-07-11 15:01:28 +02:00
Oliver Falk
fb2a27589e Merge branch 'devel' into 'master'
Style counts

See merge request oliver/ivatar!42
2018-07-11 13:20:34 +02:00
Oliver Falk
556f48bfe7 More buttons, better styling 2018-07-11 13:05:42 +02:00
Oliver Falk
6a1288e3eb Why do we have a target there.... :-[ 2018-07-11 11:22:26 +02:00
Oliver Falk
8c175faf5d Merge branch 'devel' into 'master'
Merge in lastest devel

See merge request oliver/ivatar!41
2018-07-11 11:14:14 +02:00
Oliver Falk
52baa39bd0 Merge in photo_import 2018-07-11 11:07:30 +02:00
Oliver Falk
491e6a4915 Merge photo_import 2018-07-11 11:02:55 +02:00
Oliver Falk
d70dacdf25 Merge branch 'pylint' into 'master'
Only a happy pylint is a good pylint

See merge request oliver/ivatar!39
2018-07-11 10:47:44 +02:00
Oliver Falk
0bb3a561ec Merge branch 'devel' into 'master'
Merge in devel

See merge request oliver/ivatar!38
2018-07-11 10:45:40 +02:00
Oliver Falk
fd5ccc0f5f Merge branch 'devel' into photo_import 2018-07-11 10:16:30 +02:00
Oliver Falk
860f8cf555 Only a happy pylint is a good pylint 2018-07-11 10:13:47 +02:00
Oliver Falk
d5ee20430e Allow up to 10 parents 2018-07-11 10:09:28 +02:00
Oliver Falk
19dedf5e62 Merge branch 'devel' into photo_import 2018-07-11 09:04:40 +02:00
Oliver Falk
7ffd21dee7 Fix tests and eliminate bug, since we use filter now, we cannot depend on an exception raised 2018-07-11 09:04:17 +02:00
Oliver Falk
38142b303d Merge branch 'devel' into 'master'
Merge in latest devel

See merge request oliver/ivatar!37
2018-07-11 08:15:01 +02:00
Oliver Falk
88631e3772 Change behaviour of brand image link; Logged in user => Profile. Anonymous => / 2018-07-11 08:09:00 +02:00
Oliver Falk
0ac96e2ed0 Finish feature 'import image from other sites' 2018-07-11 08:07:56 +02:00
Oliver Falk
96237bb47e Ability to import from libravatar + import by email; Forms are WIP! 2018-07-10 14:46:30 +02:00
Oliver Falk
4cf9e72c93 Do allow importing photo from confirmed email 2018-07-10 13:19:04 +02:00
Oliver Falk
007021ce89 Correct FROM 2018-07-10 13:16:07 +02:00
Oliver Falk
d9913a8fae Merge branch 'postgresql_fixes' into 'master'
Postgresql fixes

See merge request oliver/ivatar!36
2018-07-10 11:40:41 +02:00