1. 05 Jun, 2014 1 commit
  2. 12 May, 2014 2 commits
  3. 06 May, 2014 1 commit
  4. 21 Apr, 2014 2 commits
    • mmn's avatar
      Dynamically generate thumbnails (see full text) · d59eb5e1
      mmn authored
      The File object now stores width and height of files that can
      supply this kind of information. Formats which we can not read
      natively in PHP do not currently benefit from this. However an
      event hook will be introduced later.
      The CreateFileImageThumbnail event is renamed to:
      CreateFileImageThumbnailSource to clarify that the hooks should not
      generate their own thumbnails but only the source image. Also it now
      accepts File objects, not MediaFile objects.
      The thumbnail generation is documented in the source code. For
      developers, call 'getThumbnail' on a File object and hope for the best.
      Default thumbnail sizes have increased to be more appealing.
    • mmn's avatar
      Better event name (creating thumbnail _source_) · 86ddf120
      mmn authored
  5. 16 Apr, 2014 1 commit
    • mmn's avatar
      MediaFile thumbnail event hooks + VideoThumbnails plugin · 06d4cecf
      mmn authored
      The exception thrown from MediaFile will be caught and simply result in
      no thumbnail at all right now. In the future we might use a catch-all
      and have a "cannot generate preview"-icon or something.
      VideoThumbnails requires php5-ffmpeg and php5-gd.
  6. 24 Feb, 2014 1 commit
    • mmn's avatar
      Making us less dependant on javascript trust · 1e37f374
      mmn authored
      Many of the microapps are pretty javascript dependant, but at least
      we should allow users to get to the new notice field without allowing
      javascript to run in the browser. :)
  7. 19 Nov, 2013 1 commit
    • mmn's avatar
      Cron plugin added and now default queue handler · 0cd93c27
      mmn authored
      Generally the Cron plugin will run if there's still execution time for
      1 second since starting the Action processing. If you want to change
      this (such as disabling, 0 seconds, or maybe running bigger chunks,
      for like 4 seconds) you can do this, where 'n' is time in seconds.
         addPlugin('Cron', array('secs_per_action', n));
      Add 'rel_to_pageload'=>false to the array if you want to run the queue
      for a certain amount of seconds _despite_ maybe already having run that
      long in the previous parts of Action processing.
      Perhaps you want to run the cron script remotely, using a machine capable
      of background processing (or locally, to avoid running daemon processes),
      simply do an HTTP GET request to the route /main/cron of your GNU social.
      Setting secs_per_action to 0 in the plugin config will imply that you run
      all your queue handling by calling /main/cron (which runs as long as it can).
      /main/cron will output "0" if it has finished processing, "1" if it should
      be called again to complete processing (because it ran out of time due to
      PHP's max_execution_time INI setting).
      The Cron plugin also runs events as close to hourly, daily and weekly
      as you get, based on the opportunistic method of running whenever a user
      visits the site. This means of course that the cron events should be as
      fast as possible, not only to avoid delaying page load for users but
      also to minimize the risk of running into PHP's max_execution_time. One
      suggestion is to only use the events to add new queue items for later processing.
      These events are called CronHourly, CronDaily, CronWeekly - however there
      is no guarantee that all events will execute, so some kind of failsafe,
      transaction-ish method must be implemented in the future.
  8. 01 Nov, 2013 1 commit
  9. 28 Oct, 2013 1 commit
  10. 17 Oct, 2013 1 commit
  11. 30 Sep, 2013 1 commit
    • mmn's avatar
      Implemented WebFinger and replaced our XRD with PEAR XML_XRD · a0e107f1
      mmn authored
      New plugins:
      * LRDD
          LRDD implements client-side RFC6415 and RFC7033 resource descriptor
          discovery procedures. I.e. LRDD, host-meta and WebFinger stuff.
          OStatus and OpenID now depend on the LRDD plugin (XML_XRD).
      * WebFinger
          This plugin implements the server-side of RFC6415 and RFC7033. Note:
          WebFinger technically doesn't handle XRD, but we serve both that and
          JRD (JSON Resource Descriptor), depending on Accept header and one
          ugly hack to check for old StatusNet installations.
          WebFinger depends on LRDD.
      We might make this even prettier by using Net_WebFinger, but it is not
      currently RFC7033 compliant (no /.well-known/webfinger resource GETs).
      Disabling the WebFinger plugin would effectively render your site non-
      federated (which might be desired on a private site).
      Disabling the LRDD plugin would make your site unable to do modern web
      URI lookups (making life just a little bit harder).
  12. 23 Sep, 2013 1 commit
  13. 14 Sep, 2013 1 commit
  14. 09 Sep, 2013 1 commit
    • mmn's avatar
      Tidying up getUser calls to profiles and some events · 747fe9d5
      mmn authored
      getUser calls are much more strict, and one place where this was found was
      in the (un)subscribe start/end event handlers, which resulted in making the
      Subscription class a bit stricter, regarding ::start and ::cancel at least.
      Several minor fixes in many files were made due to this.
      This does NOT touch the Foreign_link function, which should also have a more
      strict getUser call. That is a future project.
  15. 09 Jul, 2012 1 commit
    • Evan Prodromou's avatar
      Squashed commit of the following: · 206c0906
      Evan Prodromou authored
      commit 7ef19ab918cc9805abb8d01e8220ae4ed63155d7
      Author: Evan Prodromou <evan@status.net>
      Date:   Mon Jul 9 12:53:29 2012 -0400
          Show link to facebook account on profile block
          If you've logged in with Facebook, show a link to that account on the profile block.
      commit b56967479c009d702150791944dbd80746ee3ba1
      Author: Evan Prodromou <evan@status.net>
      Date:   Mon Jul 9 12:28:34 2012 -0400
          Add profile link from profile block to Twitter account
          Add a profile link to Twitter for accounts that are linked via Twitter login.
      commit 181e441fd03c6034e737f6a3dae115557aa3e1aa
      Author: Evan Prodromou <evan@status.net>
      Date:   Mon Jul 9 11:57:56 2012 -0400
          OpenID shows other account links
      commit ef7357883dad9e34af2746e1c6a41ea826d7c992
      Author: Evan Prodromou <evan@status.net>
      Date:   Mon Jul 9 11:53:12 2012 -0400
          Add a profile link for OpenIDs
          OpenID plugin now adds a profile link for each OpenID on the account.
      commit 093d26b95bc453686d24c42f5a8f4739cb338fd2
      Author: Evan Prodromou <evan@status.net>
      Date:   Mon Jul 9 11:15:18 2012 -0400
          Better array access
      commit 49d47257efdcae2101b589a1f825872bdd70667c
      Author: Evan Prodromou <evan@status.net>
      Date:   Mon Jul 9 10:57:16 2012 -0400
          Show list of other accounts in profile block
          We add a group of "rel-me" links to other user accounts on the Web.
          This is mostly useful for when you've used OpenID, Twitter, or
          Facebook login to associate a remote account.
          There's an extension to the profileblock recipe to show the links as
          little icons; there's a new hook in accountprofileblock to get such
          links from plugins.
          There's a modification to the base theme to show the icons correctly
          (I think).
  16. 21 Mar, 2012 2 commits
  17. 20 Mar, 2012 2 commits
  18. 08 Mar, 2012 2 commits
  19. 21 Sep, 2011 1 commit
    • Evan Prodromou's avatar
      Use an event to signal that IM settings are available · ad726a15
      Evan Prodromou authored
      Rather than enumerating available classes, define an event that sets a
      flag indicating that there's an IM plugin available. Implemented in
      implugin.php, so all IM plugins that use that class should
      work. Others can hook the event, too.
  20. 15 Sep, 2011 1 commit
  21. 10 May, 2011 1 commit
    • Zach Copley's avatar
      Fancier invitation form for whitelisted domains · 8597856b
      Zach Copley authored
      Squashed commit of the following:
      commit 1c0766e8f9d9e962ec553e2fb35bd2f944ffb4b0
      Author: Zach Copley <zach@status.net>
      Date:   Mon May 9 17:00:51 2011 -0700
          Make the invites from the fancier invite form save
      commit 9ea45b7cf38eda8dad1d82e87b3400413a532079
      Author: Zach Copley <zach@status.net>
      Date:   Fri May 6 16:14:40 2011 -0700
          .js to let the user add (and remove) additional invitees from their domain
      commit b2a02339bd11d02c7cba24629dde359e22de32b6
      Author: Zach Copley <zach@status.net>
      Date:   Thu May 5 15:44:49 2011 -0700
          Load special whitelist invite .js when loading the invite page
      commit 132fed7550b40cd1d46ee506fd83974a116bce32
      Author: Zach Copley <zach@status.net>
      Date:   Wed May 4 18:35:49 2011 -0700
          Remove settings class from whitelist inviter form
      commit a38437351b505594aead5da86af9a5ed089666b6
      Author: Zach Copley <zach@status.net>
      Date:   Wed May 4 18:21:18 2011 -0700
          Make a fancier form for whitelist domain invites
      commit 710d4f41edf412871a9c1fbf33af317226485325
      Author: Zach Copley <zach@status.net>
      Date:   Wed May 4 17:34:09 2011 -0700
          Add some more events to the invitation page
      commit 2449e4e0c1bf11568968cfc3ea2d8e69db2d875e
      Author: Zach Copley <zach@status.net>
      Date:   Wed May 4 17:12:36 2011 -0700
          Refactor invite action a bit
  22. 07 May, 2011 1 commit
  23. 04 May, 2011 1 commit
  24. 14 Apr, 2011 2 commits
  25. 13 Apr, 2011 1 commit
  26. 11 Apr, 2011 2 commits
  27. 09 Apr, 2011 1 commit
  28. 08 Apr, 2011 1 commit
  29. 05 Apr, 2011 2 commits
  30. 21 Mar, 2011 1 commit
  31. 15 Mar, 2011 1 commit
  32. 11 Mar, 2011 1 commit