Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
PHP JavaScript Scheme Other
Branch: master

API Added username login for users

* Username field for user login
* Update existing users with username task
* Added sortable grid field for profile page
latest commit 62f008c123
Marcus Nyeholt authored
Failed to load latest commit information.
SortableGridField API Added username login for users
build API Added username login for users
cms Updated to 3.0.2
dashboards Added refresh methods fordashboards to be able to easily reload a das…
facebook Cleanup registration / login process with external apps
framework Patched file field so that fileClass isn't set back to File if we hav…
gearman Updated to parseInt value before the call to gaq push
google Cleanup registration / login process with external apps
memberprofiles API Added username login for users
microblog API Added username login for users
multivaluefield Move modules all locally
mysite Updated to parseInt value before the call to gaq push
orderable Updated to distinguish 'friend' and 'follower'
queuedjobs Added gearman queue handling. Updated post save process to make sure …
ratings Added filtering by tags
restrictedobjects Fixed null point references
silvertwit Moved post aggregator page
simplecache Added sitemap generation code
sqlite3 Updated member login process to make sure group creation is run as an…
syncrotron API Added option for creating users if they don't already exist
themes/bootstrap Updated process of adding a post so that extraction of info is done d…
thirdpartyauth Updated member login process to make sure group creation is run as an…
webservices API Added delete capabilities
widgets readd full modules
.gitignore Added markdown parsing and preview
README.md Update master
build.xml Aded ability to edit posts
phpunit.php Added tagging of # contents
phpunit.xml Added tagging of # contents

README.md

SilverTwit

A social networking platform in SilverStripe

Getting Started

Installation

  • Clone the repository
  • If you have phing, just run phing to create all the default files needed and skip the following bits
  • Otherwise, you'll need to copy the following files manually
    • build/configs/silverstripe/local.conf.sample.php to mysite/local.conf.php
    • build/configs/silverstripe/htaccess.sample to ./.htaccess (note the extra . there)
  • Edit mysite/local.conf.php to reflect appropriate DB settings. The following should work for SQLite

    global $databaseConfig;
    $databaseConfig = array(
            "type" => "SQLiteDatabase",
            "server" => "localhost",
            "username" => "",
            "password" => "",
            "database" => "silverstripe",
    );


    Security::setDefaultAdmin('admin', 'admin');
    // Email::setAdminEmail('admin@example.org');
    define('SS_LOG_FILE', dirname(__FILE__).'/'.basename(dirname(dirname(__FILE__))).'.log');
  • Edit mysite/local.conf.php and update the 'defaultAdmin' settings
  • Create the assets/ directory
  • Create an _ss_environment.php file in the root folder with the following
    // Set the $_FILE_MAPPING for running the test cases, it's basically a fake but useful
    global $_FILE_TO_URL_MAPPING;
    $_FILE_TO_URL_MAPPING[dirname(__FILE__)] = 'http://localhost';
  • Run dev/build : note that you will NEED to run with '?disable_perms=1' as a parameter to make sure the restrictedobjects module doesn't interfere with things
  • All done!

Configuration

A few things will need to be created first, so login to /admin

  • Go to Security
  • Create a "Members" group
  • Go to Settings, and select the permissions tab.
  • Add Access Authority -> for Permission select View, for Groups select "Members", click Create
  • Go to Pages
  • Add new -> Site Dashboard Page -> set name = Site
  • On the Home page, change type to "Redirector page" and make it redirect to the 'Site' page
  • Remove other pages from the menu
  • Add new -> MemberProfilePage -> set name = Profile, just use the default registration options
Something went wrong with that request. Please try again.