Skip to content
Extraits de code Groupes Projets
  1. juin 26, 2016
  2. mai 27, 2016
    • cmrd Senya's avatar
      Fix possible duplication of AspectVisibility · 717554ed
      cmrd Senya a rédigé
      No uniqueness control on AspectVisibility resulted in possible having
      multiple AspectVisibility objects in the DB for the same aspect and
      shareable which doesn't make sense. Introduce uniqueness validation
      and fix up tests where duplication happened.
      Non vérifiée
      717554ed
  3. mai 07, 2016
    • Ralin Chimev's avatar
      Do not change notification timestamp when making it read or unread. · 1773e3e3
      Ralin Chimev a rédigé
      Marking a notification as unread resets the timeago stamp causing
      the times to look wrong. It can be reproduced by marking an old
      notification as unread. Using the update_column instead of
      update_attribute will not touch the updated_at attribute, and
      thus will not affect the updated time ago in the view.
      
      Fixes #6798.
      
      closes #6821
      1773e3e3
  4. mars 07, 2016
    • Benjamin Neff's avatar
      refactoring PostService · d94eae0d
      Benjamin Neff a rédigé
      * move presenters back to controllers, this is view-logic
      * use PostService in CommentService
      * remove iframe route, this is not used anymore
      * id/guid limit at 16 chars, hex(8) is 16 chars long
      d94eae0d
  5. mars 06, 2016
  6. mars 05, 2016
    • Benjamin Neff's avatar
      improve pod connection check · acb91c79
      Benjamin Neff a rédigé
      * use port for check
      * respect entries in /etc/hosts
      * test /.well-known/host-meta
      * don't allow redirects to other domains
      acb91c79
  7. mars 04, 2016
  8. mars 03, 2016
  9. jan. 28, 2016
  10. jan. 04, 2016
  11. déc. 08, 2015
  12. nov. 22, 2015
    • Jason Robinson's avatar
      Add participation to root.author on receiving reshare · 9a35a0d8
      Jason Robinson a rédigé
      When author of the root post receives a reshare to it, no participation is added to the root author on the reshare. This causes any comments on the reshare on remote pods not to be sent to the author. Adding a participation should subscribe to the reshare and thus bring added comments back to the author.
      
      closes #6481
      9a35a0d8
  13. nov. 18, 2015
  14. oct. 20, 2015
  15. oct. 03, 2015
  16. sept. 14, 2015
  17. sept. 11, 2015
  18. sept. 09, 2015
    • zaziemo's avatar
      add correct attributions for map tiles of Heidelberg University · 0f3eff8f
      zaziemo a rédigé
      
      remove personal credentials from mapbox and refactored some code
      #5813
      
      Signed-off-by: default avatarzaziemo <maren.heltsche@gmail.com>
      0f3eff8f
    • realtin's avatar
      set maptile default to OpenMapSurfer · 57b7c05c
      realtin a rédigé
      - refactor code for toggle map function
      - adjust jasmine tests for maps and add tests for SPV
      - change name of access token in defaults.yml according to naming conventions
      - add explanation of map use for podmins
      - add location to post_presenter
      - fix opening multiple maps inside the stream when clicking on a reshare location
      (#5813)
      57b7c05c
    • zaziemo's avatar
      merge address & coordinates in one location object · f92a2ee0
      zaziemo a rédigé
      to provide a clear arrangement of all location data
      - add 'L' to predefs for pronto because it is part of the leaflet library
      - fix: show address template only with an address present
      with merging the location objects into one, only the objects within
      the location object can be empty
      (#5813)
      f92a2ee0
    • zaziemo's avatar
      add a map subview · 298e195a
      zaziemo a rédigé
      - add coordinates in post_presenter
      - add map to the SPV if location is provided
      - add leaflet.js to render map and marker of position
      - make coordinates available in frontend
      - add map scss
      - make stream post location clickable and redirect to the SPV
      - prevent render map if no location data is provided
      - add tests for coordinates
      - use the leaflet gem instead of the JS assets
      (#5813)
      298e195a
  19. sept. 07, 2015
    • Jonne Haß's avatar
      0dd5447e
    • Jonne Haß's avatar
      Refactor tumblr service spec · 0e64d8de
      Jonne Haß a rédigé
      closes #6386
      0e64d8de
    • Vinothan Shankar's avatar
      * app/models/services/tumblr.rb (Services::Tumblr#post): Post only to primary blog · 2ace9b47
      Vinothan Shankar a rédigé
      Hardly a total fix, but it's a start.  Based on meitar/diaspora:b5c01598.
      
      * app/models/services/tumblr.rb: style: double-quote string
      
      Line 22.  Change from single-quotes.
      
      * app/models/services/tumblr.rb: parse URL only for blogs we care about
      
      ...which in this case is just the primary.
      
      This also fixes the failed test in 7079fda (and by extension, 7a1d3a9).
      
      * spec/models/services/tumblr_spec.rb: Add "primary" flag to test user-info
      
      * spec/models/services/tumblr_spec.rb: Add a secondary blog to test user-info
      
      This should not cause a request to be issued, so we can continue to
      expect the request for the primary blog only.  Any request for the
      secondary indicates a bug in the service implementation.
      
      * spec/models/services/tumblr_spec.rb: Make the second blog returned the primary
      
      Just to catch if it's picking the first one
      
      * app/models/services/tumblr.rb: use blogs.find instead of blogs.each
      
      Since we're only handling the primary blog, this should be easy enough
      
      * app/models/services/tumblr.rb: Remove redundant if block
      
      The condition it would have caught is dealt with by the ifnone on the find
      
      * app/models/services/tumblr.rb: Style: remove space between { and |
      2ace9b47
Chargement en cours