Age | Commit message (Collapse) | Author |
|
Fix keys route to accept usernames with dots
See merge request !14
|
|
|
|
Ignore files created by working as user leap-webapp
See merge request !13
|
|
|
|
The Readme file in the folder already ensures that it is kept. The .gitkeep was causing diffs in production
|
|
bugfix: handle missing params for ticket gracefully
This used to trigger a 500.
Fixes [#8395](https://leap.se/code/issues/8395)
See merge request !11
|
|
This used to trigger a 500.
Fixes #8395
|
|
bugfix: only send login errors once
If a login was invalid as a username but also for the identity we used to have duplicate error messages. Let's avoid that.
Also added a test to make sure invite_code errors are properly displayed no matter what other fields are set or missing. Pixelated will rely on this to test invite codes
See merge request !10
|
|
If a login was invalid as a username but also for the identity we used to have duplicate error messages. Let's avoid that.
Also added a test to make sure invite_code errors are properly displayed no matter what other fields are set or missing. Pixelated will rely on this to test invite codes
|
|
Ci: cache gems between builds
See merge request !9
|
|
bundler and rubygems should be robust enough to share one dir in
different branches. This way gems can be reused. If new versions are
required they will just be added to the shared cache.
|
|
|
|
no more develop branch but detail nokogiri requirements a bit
|
|
We'll only use the master branch for development from now on.
|
|
|
|
changed number 2 to 3 to have three tweets shown
|
|
|
|
added 'show more tweets'-link when more tweets are existing than displayed + method included to set number of tweets which should be displayed
|
|
method included to set number of tweets which should be displayed
|
|
|
|
The content.html.haml was modified to pick the layout based on wether tweets
are enabled or not. We need to display the provider message in both cases.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Temp 1 marie
|
|
RTs and @ are displayed
|
|
error response messages; added 'config/customization/images' + link in 'config/initializer/customization.rb'
|
|
errorhandling and small changes
|
|
|
|
|
|
|
|
twitter feature is set enabled == true
|
|
in header; fixed erb escaping characters problem without letting evil code pass; setting customized image file 'Avatar_Pic.png' in config/custo../assets to get loaded instead of default twitter-logo
|
|
customize: provider message more fine grained
We used to replace all of home/content - so we missed the twitter feed
on the providers.
Instead one should now customize home/provider_message only.
See merge request !7
|
|
We used to replace all of home/content - so we missed the twitter feed
on the providers.
Instead one should now customize home/provider_message only.
|
|
added info that the account has to be public in Twitter-Doc
|
|
for fourth value in array. there will always be an empty array that view (text and each - method) does not break. if empty array in view the error-message is shown. (its WIP)
|
|
|
|
|
|
|
|
Taking it all from branch develop and push it to branch temp_1_marie
|
|
Twitter Feature on Main-View from @loadtocode
Twitter feature within home/index of LEAP web app as feed of tweets of one user's twitter account
How to use it: set up an Application-only authentication by twitter (https://dev.twitter.com/oauth/application-only) and then create a config/secrets.yml including:
```
development:
twitter:
enabled: false # set to true for usage
twitter_handle: XXXXX #put your twitter handle here
bearer_token: XXXXX #put your bearer token here
test:
twitter:
enabled: false # set to true for usage
twitter_handle: XXXXX #put your twitter handle here
bearer_token: XXXXX #put your bearer token here
```
things in the PR:
- [x] gemfile:twitter
- [x] twitter helper (caching (to avoid reaching twitter rate limits)
- [x] index twitter view
- [x] twitter css (twitter design as discussed in call: Profil-Header: Picture, Link to twitter + twitter_handle; removed picture and twitter_handle from individual tweet, heading aligns at the top, only the last 3 tweets are shown)
- [x] script to generate bearer token
- [x] script to invalidate generated bearer token
- [x] documentation (Readme + Doc)
|
|
Change in code for caching
|
|
|
|
|
|
|
|
|