Skip to content

Commit

Permalink
Ossn v3.0 development push
Browse files Browse the repository at this point in the history
  • Loading branch information
lianglee committed Apr 21, 2015
1 parent 1a40f0a commit 7711204
Show file tree
Hide file tree
Showing 457 changed files with 4,615 additions and 2,926 deletions.
14 changes: 4 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
language: php

phps:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0

matrix:
fast_finish: true
allow_failures:
- php: 7.0
script: phpunit --help

script:
- phpunit
branches:
only:
- master
2 changes: 1 addition & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Functions in existing libraries and classes:
* ossn_unload_js: Ossn system unloads js from head.
* ossn_unlink_new_css: Remove a css from system. This will not remove css file it will just unregister it.
* ossn_unload_css: Ossn system unloads css from head
* ossn_view_template View a template. Use a templates from core. (image view, url view etc).
* ossn_plugin_view View a template. Use a templates from core. (image view, url view etc).
* ossn_load_json_locales: To get all system language strings in json format.
* ossn_add_entity: add a new entity.
* ossn_update_entity: update entity.
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
Open Source Social Network [2.3] [![Build Status](https://travis-ci.org/opensource-socialnetwork/opensource-socialnetwork.svg?branch=master)](https://travis-ci.org/opensource-socialnetwork/opensource-socialnetwork)
======================================
Open Source Social Network [3.0-dev] ======================================

Opensource-Socialnetwork (OSSN) is a social networking software written in PHP. It allows you to make a social networking website and helps your members build social relationships, with people who share similar professional or personal interests.

OSSN is released under the GNU General Public License (GPL) Version 2

[NOTE: This branch will not work on production site and have alot of bugs]

Languages
==========
* English
Expand Down
2 changes: 1 addition & 1 deletion UPGRADE.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
See: http://docs.opensource-socialnetwork.org/index.php/How_To_Upgrade_Ossn
See: http://docs.Open Source Social Network.org/index.php/How_To_Upgrade_Ossn
8 changes: 4 additions & 4 deletions actions/administrator/cache/create.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php
/**
* OpenSource-SocialNetwork
* Open Source Social Network
*
* @package (Informatikon.com).ossn
* @author OSSN Core Team <info@opensource-socialnetwork.com>
* @author OSSN Core Team <info@opensource-socialnetwork.org>
* @copyright 2014 iNFORMATIKON TECHNOLOGIES
* @license General Public Licence http://opensource-socialnetwork.com/licence
* @link http://www.opensource-socialnetwork.com/licence
* @license General Public Licence http://www.opensource-socialnetwork.org/licence
* @link http://www.opensource-socialnetwork.org/licence
*/
$type = input('cache');
if ($type == 1) {
Expand Down
8 changes: 4 additions & 4 deletions actions/administrator/component/com_install.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php
/**
* OpenSource-SocialNetwork
* Open Source Social Network
*
* @package (Informatikon.com).ossn
* @author OSSN Core Team <info@opensource-socialnetwork.com>
* @author OSSN Core Team <info@opensource-socialnetwork.org>
* @copyright 2014 iNFORMATIKON TECHNOLOGIES
* @license General Public Licence http://opensource-socialnetwork.com/licence
* @link http://www.opensource-socialnetwork.com/licence
* @license General Public Licence http://www.opensource-socialnetwork.org/licence
* @link http://www.opensource-socialnetwork.org/licence
*/

$OssnCom = new OssnComponents;
Expand Down
8 changes: 4 additions & 4 deletions actions/administrator/component/delete.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php
/**
* OpenSource-SocialNetwork
* Open Source Social Network
*
* @package (Informatikon.com).ossn
* @author OSSN Core Team <info@opensource-socialnetwork.com>
* @author OSSN Core Team <info@opensource-socialnetwork.org>
* @copyright 2014 iNFORMATIKON TECHNOLOGIES
* @license General Public Licence http://opensource-socialnetwork.com/licence
* @link http://www.opensource-socialnetwork.com/licence
* @license General Public Licence http://www.opensource-socialnetwork.org/licence
* @link http://www.opensource-socialnetwork.org/licence
*/

$com = input('component');
Expand Down
8 changes: 4 additions & 4 deletions actions/administrator/component/disable.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php
/**
* OpenSource-SocialNetwork
* Open Source Social Network
*
* @package (Informatikon.com).ossn
* @author OSSN Core Team <info@opensource-socialnetwork.com>
* @author OSSN Core Team <info@opensource-socialnetwork.org>
* @copyright 2014 iNFORMATIKON TECHNOLOGIES
* @license General Public Licence http://opensource-socialnetwork.com/licence
* @link http://www.opensource-socialnetwork.com/licence
* @license General Public Licence http://www.opensource-socialnetwork.org/licence
* @link http://www.opensource-socialnetwork.org/licence
*/

$enable = new OssnComponents;
Expand Down
8 changes: 4 additions & 4 deletions actions/administrator/component/enable.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php
/**
* OpenSource-SocialNetwork
* Open Source Social Network
*
* @package (Informatikon.com).ossn
* @author OSSN Core Team <info@opensource-socialnetwork.com>
* @author OSSN Core Team <info@opensource-socialnetwork.org>
* @copyright 2014 iNFORMATIKON TECHNOLOGIES
* @license General Public Licence http://opensource-socialnetwork.com/licence
* @link http://www.opensource-socialnetwork.com/licence
* @license General Public Licence http://www.opensource-socialnetwork.org/licence
* @link http://www.opensource-socialnetwork.org/licence
*/

$enable = new OssnComponents;
Expand Down
8 changes: 4 additions & 4 deletions actions/administrator/login.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php
/**
* OpenSource-SocialNetwork
* Open Source Social Network
*
* @package (Informatikon.com).ossn
* @author OSSN Core Team <info@opensource-socialnetwork.com>
* @author OSSN Core Team <info@opensource-socialnetwork.org>
* @copyright 2014 iNFORMATIKON TECHNOLOGIES
* @license General Public Licence http://opensource-socialnetwork.com/licence
* @link http://www.opensource-socialnetwork.com/licence
* @license General Public Licence http://www.opensource-socialnetwork.org/licence
* @link http://www.opensource-socialnetwork.org/licence
*/
if (ossn_isAdminLoggedin()) {
redirect('administrator/dashboard');
Expand Down
8 changes: 4 additions & 4 deletions actions/administrator/logout.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php
/**
* OpenSource-SocialNetwork
* Open Source Social Network
*
* @package (Informatikon.com).ossn
* @author OSSN Core Team <info@opensource-socialnetwork.com>
* @author OSSN Core Team <info@opensource-socialnetwork.org>
* @copyright 2014 iNFORMATIKON TECHNOLOGIES
* @license General Public Licence http://opensource-socialnetwork.com/licence
* @link http://www.opensource-socialnetwork.com/licence
* @license General Public Licence http://www.opensource-socialnetwork.org/licence
* @link http://www.opensource-socialnetwork.org/licence
*/

$loggedout = input('l');
Expand Down
8 changes: 4 additions & 4 deletions actions/administrator/settings/save/basic.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php
/**
* OpenSource-SocialNetwork
* Open Source Social Network
*
* @package (Informatikon.com).ossn
* @author OSSN Core Team <info@opensource-socialnetwork.com>
* @author OSSN Core Team <info@opensource-socialnetwork.org>
* @copyright 2014 iNFORMATIKON TECHNOLOGIES
* @license General Public Licence http://opensource-socialnetwork.com/licence
* @link http://www.opensource-socialnetwork.com/licence
* @license General Public Licence http://www.opensource-socialnetwork.org/licence
* @link http://www.opensource-socialnetwork.org/licence
*/
$settings = new OssnDatabase;

Expand Down
8 changes: 4 additions & 4 deletions actions/administrator/theme/delete.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php
/**
* OpenSource-SocialNetwork
* Open Source Social Network
*
* @package (Informatikon.com).ossn
* @author OSSN Core Team <info@opensource-socialnetwork.com>
* @author OSSN Core Team <info@opensource-socialnetwork.org>
* @copyright 2014 iNFORMATIKON TECHNOLOGIES
* @license General Public Licence http://opensource-socialnetwork.com/licence
* @link http://www.opensource-socialnetwork.com/licence
* @license General Public Licence http://www.opensource-socialnetwork.org/licence
* @link http://www.opensource-socialnetwork.org/licence
*/
$theme = input('theme');
$delete = new OssnThemes;
Expand Down
8 changes: 4 additions & 4 deletions actions/administrator/theme/enable.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php
/**
* OpenSource-SocialNetwork
* Open Source Social Network
*
* @package (Informatikon.com).ossn
* @author OSSN Core Team <info@opensource-socialnetwork.com>
* @author OSSN Core Team <info@opensource-socialnetwork.org>
* @copyright 2014 iNFORMATIKON TECHNOLOGIES
* @license General Public Licence http://opensource-socialnetwork.com/licence
* @link http://www.opensource-socialnetwork.com/licence
* @license General Public Licence http://www.opensource-socialnetwork.org/licence
* @link http://www.opensource-socialnetwork.org/licence
*/
$theme = input('theme');
$enable = new OssnThemes;
Expand Down
8 changes: 4 additions & 4 deletions actions/administrator/theme/theme_install.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php
/**
* OpenSource-SocialNetwork
* Open Source Social Network
*
* @package (Informatikon.com).ossn
* @author OSSN Core Team <info@opensource-socialnetwork.com>
* @author OSSN Core Team <info@opensource-socialnetwork.org>
* @copyright 2014 iNFORMATIKON TECHNOLOGIES
* @license General Public Licence http://opensource-socialnetwork.com/licence
* @link http://www.opensource-socialnetwork.com/licence
* @license General Public Licence http://www.opensource-socialnetwork.org/licence
* @link http://www.opensource-socialnetwork.org/licence
*/
$OssnTheme = new OssnThemes;
if ($OssnTheme->upload()) {
Expand Down
8 changes: 4 additions & 4 deletions actions/administrator/user/add.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php
/**
* OpenSource-SocialNetwork
* Open Source Social Network
*
* @package (Informatikon.com).ossn
* @author OSSN Core Team <info@opensource-socialnetwork.com>
* @author OSSN Core Team <info@opensource-socialnetwork.org>
* @copyright 2014 iNFORMATIKON TECHNOLOGIES
* @license General Public Licence http://opensource-socialnetwork.com/licence
* @link http://www.opensource-socialnetwork.com/licence
* @license General Public Licence http://www.opensource-socialnetwork.org/licence
* @link http://www.opensource-socialnetwork.org/licence
*/

$user['username'] = input('username');
Expand Down
8 changes: 4 additions & 4 deletions actions/administrator/user/delete.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php
/**
* OpenSource-SocialNetwork
* Open Source Social Network
*
* @package (Informatikon.com).ossn
* @author OSSN Core Team <info@opensource-socialnetwork.com>
* @author OSSN Core Team <info@opensource-socialnetwork.org>
* @copyright 2014 iNFORMATIKON TECHNOLOGIES
* @license General Public Licence http://opensource-socialnetwork.com/licence
* @link http://www.opensource-socialnetwork.com/licence
* @license General Public Licence http://www.opensource-socialnetwork.org/licence
* @link http://www.opensource-socialnetwork.org/licence
*/

$guid = input('guid');
Expand Down
8 changes: 4 additions & 4 deletions actions/administrator/user/edit.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php
/**
* OpenSource-SocialNetwork
* Open Source Social Network
*
* @package (Informatikon.com).ossn
* @author OSSN Core Team <info@opensource-socialnetwork.com>
* @author OSSN Core Team <info@opensource-socialnetwork.org>
* @copyright 2014 iNFORMATIKON TECHNOLOGIES
* @license General Public Licence http://opensource-socialnetwork.com/licence
* @link http://www.opensource-socialnetwork.com/licence
* @license General Public Licence http://www.opensource-socialnetwork.org/licence
* @link http://www.opensource-socialnetwork.org/licence
*/
$entity = ossn_user_by_username(input('username'));
if(!$entity){
Expand Down
8 changes: 4 additions & 4 deletions actions/administrator/user/validate.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php
/**
* OpenSource-SocialNetwork
* Open Source Social Network
*
* @package (Informatikon.com).ossn
* @author OSSN Core Team <info@opensource-socialnetwork.com>
* @author OSSN Core Team <info@opensource-socialnetwork.org>
* @copyright 2014 iNFORMATIKON TECHNOLOGIES
* @license General Public Licence http://opensource-socialnetwork.com/licence
* @link http://www.opensource-socialnetwork.com/licence
* @license General Public Licence http://www.opensource-socialnetwork.org/licence
* @link http://www.opensource-socialnetwork.org/licence
*/
$user = ossn_user_by_guid(input('guid'));
if(!$user){
Expand Down
8 changes: 4 additions & 4 deletions actions/friend/add.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php
/**
* OpenSource-SocialNetwork
* Open Source Social Network
*
* @package (Informatikon.com).ossn
* @author OSSN Core Team <info@opensource-socialnetwork.com>
* @author OSSN Core Team <info@opensource-socialnetwork.org>
* @copyright 2014 iNFORMATIKON TECHNOLOGIES
* @license General Public Licence http://opensource-socialnetwork.com/licence
* @link http://www.opensource-socialnetwork.com/licence
* @license General Public Licence http://www.opensource-socialnetwork.org/licence
* @link http://www.opensource-socialnetwork.org/licence
*/
if (ossn_is_xhr()) {
header('Content-Type: application/json');
Expand Down
8 changes: 4 additions & 4 deletions actions/friend/remove.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php
/**
* OpenSource-SocialNetwork
* Open Source Social Network
*
* @package (Informatikon.com).ossn
* @author OSSN Core Team <info@opensource-socialnetwork.com>
* @author OSSN Core Team <info@opensource-socialnetwork.org>
* @copyright 2014 iNFORMATIKON TECHNOLOGIES
* @license General Public Licence http://opensource-socialnetwork.com/licence
* @link http://www.opensource-socialnetwork.com/licence
* @license General Public Licence http://www.opensource-socialnetwork.org/licence
* @link http://www.opensource-socialnetwork.org/licence
*/
if (ossn_is_xhr()) {
header('Content-Type: application/json');
Expand Down
8 changes: 4 additions & 4 deletions actions/user/login.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php
/**
* OpenSource-SocialNetwork
* Open Source Social Network
*
* @package (Informatikon.com).ossn
* @author OSSN Core Team <info@opensource-socialnetwork.com>
* @author OSSN Core Team <info@opensource-socialnetwork.org>
* @copyright 2014 iNFORMATIKON TECHNOLOGIES
* @license General Public Licence http://opensource-socialnetwork.com/licence
* @link http://www.opensource-socialnetwork.com/licence
* @license General Public Licence http://www.opensource-socialnetwork.org/licence
* @link http://www.opensource-socialnetwork.org/licence
*/

if (ossn_isLoggedin()) {
Expand Down
8 changes: 4 additions & 4 deletions actions/user/logout.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php
/**
* OpenSource-SocialNetwork
* Open Source Social Network
*
* @package (Informatikon.com).ossn
* @author OSSN Core Team <info@opensource-socialnetwork.com>
* @author OSSN Core Team <info@opensource-socialnetwork.org>
* @copyright 2014 iNFORMATIKON TECHNOLOGIES
* @license General Public Licence http://opensource-socialnetwork.com/licence
* @link http://www.opensource-socialnetwork.com/licence
* @license General Public Licence http://www.opensource-socialnetwork.org/licence
* @link http://www.opensource-socialnetwork.org/licence
*/

unset($_SESSION['OSSN_USER']);
Expand Down
8 changes: 4 additions & 4 deletions actions/user/register.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php
/**
* OpenSource-SocialNetwork
* Open Source Social Network
*
* @package (Informatikon.com).ossn
* @author OSSN Core Team <info@opensource-socialnetwork.com>
* @author OSSN Core Team <info@opensource-socialnetwork.org>
* @copyright 2014 iNFORMATIKON TECHNOLOGIES
* @license General Public Licence http://opensource-socialnetwork.com/licence
* @link http://www.opensource-socialnetwork.com/licence
* @license General Public Licence http://www.opensource-socialnetwork.org/licence
* @link http://www.opensource-socialnetwork.org/licence
*/


Expand Down
Loading

0 comments on commit 7711204

Please sign in to comment.