Commit Graph

25 Commits (bbc185bf3b8ec4dbabd78f97c65e7b5988309050)

Author SHA1 Message Date
Thomas Keller 5b82efa0be Fix a couple of issues with our key parsing / validating code.
- be explicit and expect only ssh-dss or ssh-rsa keys
- allow any character (even line breaks and whitespace) in the optional comment,
  but shrink all of them to simple spaces (fixes issue 679)
- test the newly uploaded key against existing keys only by the base key data,
  not the fully uploaded string (that might contain a changed comment line or
  the like) to avoid duplicates; also only check the keys of the user for
  duplicates, not all existing keys in the forge (if for whatever reason two
  user accounts share a key)
2011-05-25 02:13:50 +02:00
William MARTIN 5ea4b02205 Update copyrigt 2011-04-02 21:37:07 +02:00
Ciaran Gultnieks 4411086f29 First set of files with English text corrections (partially resolves
issue 631)
2011-03-10 09:23:01 +01:00
Patrick Georgi 98f4eac82a Merge branch 'multiple-mails' into develop 2011-03-03 14:12:03 +01:00
William MARTIN 2130b327df Fix issue 616
Patch from Patrick Georgi
2011-02-23 18:24:49 +01:00
Patrick Georgi dfa223b39e Manage addition of secondary emails 2011-02-21 10:57:36 +01:00
Patrick Georgi 0a8d771c11 Add UI for adding secondary email addresses 2011-02-21 10:57:36 +01:00
Patrick Georgi 46fda14e08 Make sure no secondary email addresses are used for registration or when changing email address 2011-02-21 10:57:36 +01:00
Thomas Keller fd7a53a854 According to the base64 standard, zero, one or two fill bytes ("=")
might pop up at the end, so always expecting "==" is plainly wrong
(originates from 0897c860, fixes issue 592)
2011-01-05 15:34:01 +01:00
Thomas Keller 784c9718eb Implemented an extended user profile based on a patch from Jethro Carr (issue 510).
Changes with respect to the original patch:
- use Gconf instead of separate table / data scheme
- better form validation for URLs and emails
- no htmlentity-encoded contents in the database (pluf automatically safe-encodes
  stuff before it writes out contents into templates)
- add visual separators in the form views to have a distinct view of basic
  (important) data and other data which are only displayed in the public profile
- give a hint about the maximum display size of 60x60 px^2 and use max-width and
  max-height in the templates to avoid nasty distortions by the browser
- use target=_blank and rel=nofollow on the twitter and website links in the profile
- some whitespace / formatting / code style fixes
2010-12-05 01:22:32 +01:00
Thomas Keller 0897c8608f Allow the upload of SSH keys without the optional comment field
(fixes issue 531 - thanks William!)
2010-09-14 14:22:34 +02:00
Thomas Keller 7f32a5679d * removed `type` field in IDF_Key on request of Loic and automatically detect
and validate raw key data
* reworked the parseMonotoneKeyData() function to parse ssh and monotone keys
* tweak help texts and exception strings
2010-08-24 23:30:12 +02:00
Thomas Keller 31e81118dd Follow IDFs coding standards and tweak opening curly braces as well as
quoting where possible
2010-08-13 11:21:07 +02:00
Thomas Keller e47d51d14c Add the possibility to save mtn public keys per user
* src/IDF/Key.php: new column "type" which is either "ssh" or "mtn";
  utility functions to query the mtn key name and id as well as
  all available key types for the current IDF installation
* src/IDF/Migrations/16KeyType.php: needed migration script
* src/IDF/Plugin/SyncGit/Cron.php: ensure only SSH keys are handled
* adapt forms and templates accordingly
2010-08-11 23:48:09 +02:00
Loic d'Anterroches 49e5aa783d Fixed to correctly write into the temp folder. 2010-02-27 22:26:34 +01:00
Loic d'Anterroches b9d8eeea9e Fixed to catch the error output of the key check. 2010-02-27 22:09:51 +01:00
Loic d'Anterroches 75777daf4b Fixed to prevent uploading several times the same key. 2010-02-27 18:09:02 +01:00
Loic d'Anterroches d3b76975cd Added the option to have a strong check of the ssh key with ssh-keygen. 2010-02-27 17:42:09 +01:00
Loic d'Anterroches cc6f1c7cd8 Added ticket 165, multiple SSH keys per user. 2010-02-22 22:27:31 +01:00
Mehdi Kabab 75280d6892 Fixed issue 325, unexpected reset SSH key. 2009-11-01 23:07:33 +01:00
Loic d'Anterroches 766acd01f4 Added the ability for a user to change his email address.
The change is not performed immediately. First a confirmation email is
sent to the user and if validated, the email address is changed.
2009-01-29 18:44:39 +01:00
Loic d'Anterroches 419601bb92 Added the upload of the SSH key for the end user. 2009-01-14 23:05:52 +01:00
Loic d'Anterroches d2323c6d97 Added the language selection in the user account. 2008-12-19 11:30:50 +01:00
Loic d'Anterroches d1911339d7 Added signals when the user updates his password. 2008-12-01 13:35:17 +01:00
Loic d'Anterroches 5275a1a9d6 Fixed issue 5, add a way for user to manage their account.
Also added for each user a small public profile.
2008-08-12 22:17:49 +02:00