summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-06Add archived translations, remark about retirement of this moduleHEADmasterkwadronaut
2018-01-31Merge branch 'feature/different-keytypes' into 'master'azul
couch: add identity view to get all keys See merge request leap/webapp!61
2018-01-31keys: store type and rev in hash rather than serializedAzul
Since the old keys used to be strings i started out by json serializing the new keys with type, value, rev. However storing serialized json in couch (json) does not really make sense. So now we do not serialize but instead have one json document. The lookup for a key of type pgp may still return a string but for everything that uses the new api it will return a hash with type and revision. This data structure is way easier to handle also on the nickserver side.
2018-01-31Merge branch 'upgrade/srp_js' into 'master'azul
Upgrade/srp js See merge request leap/webapp!60
2018-01-31Merge branch 'deprecate/old-key-api' into 'master'azul
doc: list deprecations and compatibility issues for 0.10 See merge request leap/webapp!59
2018-01-31doc: list deprecations and compatibility issues for 0.10Azul
2018-01-31git subrepo clone https://leap.se/git/srp_js app/assets/javascripts/srpAzul
subrepo: subdir: "app/assets/javascripts/srp" merged: "2088cbe" upstream: origin: "https://leap.se/git/srp_js" branch: "master" commit: "2088cbe" git-subrepo: version: "0.3.1" origin: "https://github.com/ingydotnet/git-subrepo" commit: "a7ee886"
2018-01-31clean up old subrepoAzul
2018-01-31couch: add identity view to get all keysAzul
This needs to be included in the platforms views.
2018-01-28Merge branch 'feature/different-keytypes' into 'master'azul
initial feature description for key uploads See merge request leap/webapp!58
2018-01-19API: implement deleting keys through new keys apiAzul
2018-01-18(WIP) first steps towards implementing keys APIAzul
2018-01-12gitattributes: help gitlab detect gherkinAzul
2018-01-12WIP: initial feature description for key uploadsAzul
This is an initial draft of the keys api for uploading other keys than the OpenPGP public key. refers #8815
2017-12-11Merge branch 'ci/ruby-2.4' into 'master'azul
ci: also test with ruby 2.4 Closes #8812 See merge request leap/webapp!56
2017-12-09ci: also test with ruby 2.4Azul
2017-12-09Merge branch 'upgrade/gemfile' into 'master'azul
Upgrade/gemfile See merge request leap/webapp!55
2017-12-08upgrade: fix mocha deprecationAzul
2017-12-08upgrade: factory_girl -> factory_botAzul
2017-12-08upgrade: bundle to latest that still supports ruby 2.1.5Azul
2017-12-04Version 0.9.3 - bugfixes0.9.3version/0.9Azul
* on invalid key upload respond with error and 422 response code * fix alternate email address dialogue * publish public key in webfinger * update translations from transifex * hand out config.json without auth * sanity checks on user params * cleanup temp invites from server tests so they do not clutter admin ui
2017-11-16Merge branch 'fix/8798-key-errors' into 'master'azul
Fix/8798 key errors Closes #8798 See merge request leap/webapp!54
2017-11-16fix: respond with error on invalid pgp keyAzul
We used to just ignore the key. Also separated the code for handling key updates from other user updates. This should eventually be moved to a different route. Mixing the two makes the implementation really hard.
2017-11-16minor: clean up account testAzul
also ensures that created user is cleaned up even if test fails
2017-11-13Merge branch 'fix/8796-alternate-email' into 'master'azul
fix: alternate email dialogue Closes #8796 See merge request leap/webapp!53
2017-11-13fix: alternate email dialogueAzul
fixes #8796 Cleaned up UserController#update earlier but missed that it was used to change fallback email addresses. Now it is back. This time including an integration test.
2017-11-08Merge branch 'fix/webfinger-key' into 'master'azul
fix #8010 - publish public key in webfinger Closes #8010 See merge request leap/webapp!52
2017-11-08fix #8010 - publish public key in webfingerAzul
we were simply referring to the wrong key. includes test
2017-11-08Merge branch 'i18n/update' into 'master'azul
i18n: update translations from transifex Closes #8797 See merge request leap/webapp!51
2017-11-08i18n: update translations from transifexAzul
2017-11-07Merge branch '8800-hand-out-configs-json-without-authentication' into 'master'azul
feat: allow unauthenticated access to list of configs Closes #8800 See merge request leap/webapp!45
2017-10-24Merge branch '8801-500-on-lynx' into 'master'azul
fix: sanity checks on user params Closes #8801 See merge request leap/webapp!50
2017-10-24fix: sanity checks on user paramsAzul
fixes #8801 Includes a test reproducing 500 on lynx We now make use of ActionController::Parameters require and permit methods.
2017-10-24Merge branch 'bugfix/8807-cleanup-tmp-invites' into 'master'azul
Bugfix/8807 cleanup tmp invites Closes #8807 See merge request leap/webapp!49
2017-10-24refactor: instance method create for Account.createAzul
This simplifies returning the user while still working on it a lot. Much cleaner than all these return user statements. There's a lot more to refactor here. For example delegating methods to user etc. ... but for now this should suffice. Don't want to break this in a bugfix release.
2017-10-24fix: also remove invite codes used for tmp usersAzul
fixes #8807
2017-10-21Version 0.9.2 - bugfixes and invite code tweaks0.9.2Azul
Bugfix release for 0.9: * pin to the newest psych gem * remove better_errors gem * fix login error message with non en locales Features: * destroy invites used to create test accounts * sort invite codes by last update
2017-10-21Merge branch 'feat/8806-sort-invite-codes' into 'master'azul
feat: sort invite codes by last update Closes #8806 See merge request leap/webapp!48
2017-10-17feat: sort invite codes by last updateAzul
They used to be sorted by the code which was not helpful fixes #8806 requires deploy of new design docs to the platform
2017-10-17Merge branch 'bugfix/8804-destroy-invites' into 'master'azul
fix: destroy invites used to create test accounts See merge request leap/webapp!47
2017-10-17fix: destroy invites used to create test accountsAzul
Production instances are getting cluttered with invites from test accounts. Instead of marking them as used we will now completely remove them. refers to #8804 refers to #8807\
2017-10-16Merge branch 'bugfix/8805-failed-login-with-locale' into 'master'azul
fix: login error message with locale set Closes #8805 See merge request leap/webapp!46
2017-10-16fix: login error message with locale setAzul
On a failed login the warden failure app gets called. Some of the params are changed accordingly but controller and action remain. set_locale would detect there was no locale in the path and thus attempt to redirect. However the params still belong to the previous request which was a POST to Api::SessionsController. This route does not respond to get requests and so it would trigger a 404 in production and a 500 in development. This commit prevents set_locale to act upon warden failure app controller calls by adding /new to the list of `NON_LOCALE_PATHS`. (The path is updated by warden to the name of the action called in the failure app). A test is included in this commit that tries to login with an invalid username, password combination and a german locale set. fixes #8805
2017-09-11feat: allow unauthenticated access to list of configsAzul
This should simplify client code significantly according to platform#8849
2017-09-08Merge remote-tracking branch 'origin/master' into masterAzul
2017-09-08Merge branch 'bugfix/psych' into 'master'azul
pin to the newest psych gem, so as to not hit bugs in older versions (required by faker) See merge request !44
2017-08-17bugfix: remove better_errors gemelijah
it is currently incompatible with haml
2017-08-15remove merge cruftelijah
2017-08-15use i18n for login testelijah
2017-08-14pin to the newest psych gem, so as to not hit bugs in older versions ↵elijah
(required by faker)