1. 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.
  2. 28 Aug, 2013 1 commit
    • mmn's avatar
      plugins onAutoload now only overloads if necessary (extlibs etc.) · de55d8f8
      mmn authored
      lib/plugin.php now has a parent onAutoload function that finds most common
      files that are used in plugins (actions, dataobjects, forms, libs etc.) if
      they are put in the standardised directories ('actions', 'classes', 'forms',
      'lib' and perhaps some others in the future).
  3. 21 Aug, 2013 1 commit
    • mmn's avatar
      IMPORTANT: Making prev. Memcached_DataObject working again with schemaDef · 3a7261f7
      mmn authored
      Lots of the Memcached_DataObject classes stopped working when upgraded to
      Managed_DataObject because they lacked schemaDef().
      I have _hopefully_ made it so that all the references to the table uses
      each class' schemaDef, rather than the more manual ColumnDef stuff. Not
      all plugins have been tested thoroughly yet.
      NOTE: This is applied with getKV calls instead of staticGet, as it was
      important for PHP Strict Standards compliance to avoid calling the non-
      static functions statically. (unfortunately DB and DB_DataObject still do
      this within themselves...)
  4. 11 Mar, 2012 1 commit
  5. 27 Feb, 2012 1 commit
  6. 27 Jan, 2012 1 commit
  7. 18 Apr, 2011 1 commit
    • Evan Prodromou's avatar
      Don't use bogus event in emailregistration · 997b0933
      Evan Prodromou authored
      I was trying to be smart by calling the same registration event as 'register'
      when doing EmailRegistration. However, that event is so low-bandwidth that plugins
      go fingerpoken in all the attributes and call methods on the passed-in action and
      things like that.
      So, now we just fall back to using the low-level stuff, catch any
      exceptions, and feel happy. Some stuff might not work, but it's
      generally anti-spam stuff more suited to public sites.
  8. 09 Apr, 2011 1 commit
  9. 06 Apr, 2011 1 commit
  10. 23 Jan, 2011 1 commit
    • Evan Prodromou's avatar
      make 'admin' a safe user name · e53793ed
      Evan Prodromou authored
      'admin' is a pretty common username that people try when installing;
      it was blacklisted because all of our admin panels were at /admin/*,
      which would conflict with the admin user's namespace.
      Changed the location of all admin panels to /panel/*, blacklisted the
      nickname 'panel', and allowed 'admin'. Tested with a fresh install;
      seems to work great.
  11. 27 Oct, 2010 1 commit
  12. 26 Oct, 2010 2 commits
  13. 20 Sep, 2010 1 commit
  14. 18 Sep, 2010 1 commit
  15. 14 Sep, 2010 1 commit
  16. 23 Apr, 2010 1 commit
  17. 28 Mar, 2010 1 commit
  18. 26 Mar, 2010 2 commits
  19. 25 Mar, 2010 1 commit
    • Evan Prodromou's avatar
      Store blacklist patterns in their own tables · 6e644f77
      Evan Prodromou authored
      We were bumping into limits on the config format in the Blacklist
      plugin. So, added new tables for nickname and homepage blacklists, and
      changed the plugin to use those instead of config file (actually,
      still uses config file in addition, for compatibility).
  20. 26 Feb, 2010 1 commit
  21. 06 Feb, 2010 3 commits
  22. 08 Jan, 2010 1 commit
  23. 28 Dec, 2009 1 commit
    • Evan Prodromou's avatar
      First version of blacklist plugin · dd0aaac7
      Evan Prodromou authored
      First version of blacklist plugin. Replaces custom code in identi.ca's
      config.php, which was getting scary and long. Also correctly handles
      changed nicknames or URLs in profile settings and using 'forbidden'
      URLs in notice text.