liquid_feedback_frontend
annotate app/main/openid/verify.lua @ 95:6a12fb7e4963
Suggestion API, draft preview, word based diff, multiple fixes
- Added suggestion API
- Initiative API: Drafts optionally delivered as rendered html fragment
- Initiative API: Fixed wrong output of revoked timestamp when using JSON
- Preview added for initiative drafts
- Improved (word based) diff added
- Improved suggestion list
- Added missing sorting of initiative in vote list
- Filter state for member page initiative lists
- Fixed wrong status output in member history
- Fixed wrongly closed div in layout
- Added suggestion API
- Initiative API: Drafts optionally delivered as rendered html fragment
- Initiative API: Fixed wrong output of revoked timestamp when using JSON
- Preview added for initiative drafts
- Improved (word based) diff added
- Improved suggestion list
- Added missing sorting of initiative in vote list
- Filter state for member page initiative lists
- Fixed wrong status output in member history
- Fixed wrongly closed div in layout
| author | bsw |
|---|---|
| date | Mon Aug 30 21:52:19 2010 +0200 (2010-08-30) |
| parents | 0849be391140 |
| children |
| rev | line source |
|---|---|
| bsw@51 | 1 local claimed_identifier, errmsg = auth.openid.verify{ |
| bsw@51 | 2 force_https = config.auth_openid_force_https, |
| bsw@51 | 3 curl_options = config.auth_openid_curl_options |
| bsw@51 | 4 } |
| bsw@51 | 5 |
| bsw@51 | 6 if not claimed_identifier then |
| bsw@51 | 7 slot.put_into("error", _"Sorry, it was not possible to verify your OpenID.") |
| bsw@51 | 8 return |
| bsw@51 | 9 end |
| bsw@51 | 10 |
| bsw@51 | 11 if not config.auth_openid_identifier_check_func(claimed_identifier) then |
| bsw@51 | 12 slot.put_into("error", _"This identifier is not allowed for this instance.") |
| bsw@51 | 13 return |
| bsw@51 | 14 end |
| bsw@51 | 15 |
| bsw@51 | 16 slot.put("validated as: ", encode.html(claimed_identifier), "<br />") |
| bsw@51 | 17 |