GithubHelp home page GithubHelp logo

xtraball / siberian Goto Github PK

View Code? Open in Web Editor NEW
166.0 44.0 150.0 8.76 GB

Siberian Single App Edition (SAE), free and open-source app builder.

Home Page: https://www.siberiancms.com

License: Open Software License 3.0

PHP 30.39% CSS 3.00% JavaScript 39.27% HTML 14.15% Batchfile 0.03% PowerShell 0.01% Java 3.99% Objective-C 4.17% Objective-C++ 0.25% C 0.02% Shell 0.03% Ruby 0.01% C# 0.02% Python 0.04% TSQL 0.01% C++ 0.28% SCSS 4.00% Less 0.23% Swift 0.12% AIDL 0.02%
angularjs ionic php bootstrap android ios zf1

siberian's Introduction

Siberian SAE (Single App Edition)

welcome

Community forums & Roadmap

Documentation

Requirements

Software

  • Production server OS: Linux

  • Local development:

  • NodeJS

  • OpenSSL >=1.0.1

    • with TLS v1.2 support
  • Apache or Nginx

  • PHP

    • Version: 7.3

    • Extensions: gd, pdo_mysql, SimpleXML, curl, dom, SQLite3.

    • Functions: exec()

    • Parameters: allow_url_fopen = On, memory_limit >= 128M, post_max_size = 100M, upload_max_filesize = 100m, max_execution_time = 300

  • MySQL/MariaDB >=5.5 with InnoDB/XtraDB engine

  • Binaries:

    • required: zip, unzip

    • optional: pngquant or optipng, jpegoptim, ClamAV

Configuration

  1. First you will need to either checkout the project git clone https://github.com/Xtraball/Siberian.git

    or download the zip archive then extract it on your webserver.

  2. Run npm install then follow the instructions to update your local shell.

  3. Go into ionic folder then run npm install too.

  4. Run ./bin/install to hook custom modifications on the installed node_modules.

  5. Run ./sb init to init your local project.

  6. Configure your environment with either apache or nginx with the given generated templates from step 4.

When you're done with the previous steps, reload your web server, then install using the Web installer

Web installer

  • Go to http://yourdomain.tld then follow the instructions

welcome

Developer package & resources.


Developers

Platforms

If a custom development is needed for a platform, cd to the folder, then push to the local platform, the branch is named siberian

  • Platforms templates used to build/rebuild are installed from this directory, this ensure the platforms are synced & up-to-date everytime.

  • Browser platforms/Browser

  • Android platforms/Android

  • iOS platforms/Ios

  • Rebuilding a platform

    1. run siberian rebuild platformName where platformName is android | ios | browser

Note: Important

Siberian uses a Cordova fork for its applications base, we provide pre-built android & ios binaries for convenience as not everyone owns and can build using a Mac.

If you need to rebuild native source code for all platforms, you must have a Mac and Xcode with the Command-Line Tools installed.

Pre-built binaries allows you to customize all the HTML/JS/CSS Stack of the Apps without the need of a Mac.

Plugins

Every plugin used in the project is forked on GitHub, they are added as submodules in the folder plugins

A default branch named siberian is used to track and lock our modifications.

Modules

Our standalone modules are tracked into the folder modules every module has it's own git, and is versioned independantly of the Siberian Editions

Siberian command-line interface Help

Available commands are:

Command Description
alias Prints bash aliases to help development
clearcache, cc Clear siberian/var/cache
clearlog, cl Clear siberian/var/log
cleanlang Clean-up duplicates & sort languages CSV files
db Check if databases exists, otherwise create them
export-db Export db tables to schema files
init Initializes DB, project, settings.
install Install forks for cordova-lib.
icons Build ionicons font
- install: install required dependencies (OSX Only).
icons [install]
ions Start ionic serve in background
rebuild Rebuild a platform (requires Android SDK & Xcode, Command-Line Tools):
- debug: option will show more informations.
- copy: copy platform to siberian/var/apps.
- no-manifest: don't call the rebuild manifest hook.
rebuild [copy] [debug] [no-manifest]
rebuild-all Rebuild all platforms (requires Android SDK & Xcode, Command-Line Tools)
syncmodule, sm Resync a module in the Application
type Switch the Application type 'sae
note: clearcache is called when changing type.
- reset: optional, will set is_installed to 0.
- empty: optional, clear all the database.
type [type] [reset] [empty]
test Test PHP syntax
pack Pack a module into zip, file is located in ./packages/modules/
- If using from a module forlders module_name is optional
pack <module_name>
packall Pack all referenced modules
prepare Prepare a platform (Doesn't requires Android SDK & Xcode, it's suitable for any HTML/JS/CSS Customization in the Apps):
- debug: option will show more informations.
- copy: copy platform to siberian/var/apps.
- no-manifest: don't call the rebuild manifest hook.
prepare [copy] [debug] [no-manifest]
manifest Rebuilds app manifest
moduleversion, mver Update all module version to or only the specified one, in database.
- module_name is case-insensitive and is searched with LIKE %module_name%
- module_name is optional and if empty all modules versions are changed
moduleversion [module_name]
npm Hook for npm version.
npm
prod Switch the Application mode to 'production'.
dev Switch the Application mode to 'development'.
version Prints the current Siberia version.
linkmodule, lm Symlink a module from ./modules/ to ./siberian/app/local/modules/
lm
unlinkmodule, ulm Remove module symlink
ulm
syncmodule, sm Sync all sub-modules/platforms/plugins from git

siberian's People

Contributors

alexyves avatar dbyzero avatar dependabot[bot] avatar knayz avatar nicosiberian avatar siberiancms avatar sl45sms avatar slicit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

siberian's Issues

BUG on iOS push notifications

When a push notification is sent, recived the error "Please provide a certificate.". In the database, I can see that the message has app_id 1, however in push_certificate the certificate has app_id = 0. If I change in push_certificate app_id = 1 gives the following error:

string(9) "Erreurs :"
array(1) {
[24] => object(Exception)#185 (7) {
["message":protected] => string(0) ""
["string":"Exception":private] => string(0) ""
["code":protected] => int(0)
["file":protected] => string(100) "/var/www/vhosts/appautosegui.systeamcloud.com/httpdocs/app/sae/modules/Push/Model/Iphone/Message.php"
["line":protected] => int(83)
["trace":"Exception":private] => array(9) {
[0] => array(6) {
["file"] => string(100) "/var/www/vhosts/appautosegui.systeamcloud.com/httpdocs/app/sae/modules/Push/Model/Iphone/Message.php"
["line"] => int(98)
["function"] => string(16) "createConnection"
["class"] => string(25) "Push_Model_Iphone_Message"
["type"] => string(2) "->"
["args"] => array(0) {
}
}
[1] => array(6) {
["file"] => string(93) "/var/www/vhosts/appautosegui.systeamcloud.com/httpdocs/app/sae/modules/Push/Model/Message.php"
["line"] => int(116)
["function"] => string(4) "push"
["class"] => string(25) "Push_Model_Iphone_Message"
["type"] => string(2) "->"
["args"] => array(0) {
}
}
[2] => array(6) {
["file"] => string(109) "/var/www/vhosts/appautosegui.systeamcloud.com/httpdocs/app/sae/modules/Push/controllers/MessageController.php"
["line"] => int(30)
["function"] => string(4) "push"
["class"] => string(18) "Push_Model_Message"
["type"] => string(2) "->"
["args"] => array(0) {
}
}
[3] => array(6) {
["file"] => string(85) "/var/www/vhosts/appautosegui.systeamcloud.com/httpdocs/lib/Zend/Controller/Action.php"
["line"] => int(516)
["function"] => string(10) "sendAction"
["class"] => string(22) "Push_MessageController"
["type"] => string(2) "->"
["args"] => array(0) {
}
}
[4] => array(6) {
["file"] => string(98) "/var/www/vhosts/appautosegui.systeamcloud.com/httpdocs/lib/Zend/Controller/Dispatcher/Standard.php"
["line"] => int(308)
["function"] => string(8) "dispatch"
["class"] => string(22) "Zend_Controller_Action"
["type"] => string(2) "->"
["args"] => array(1) {
[0] => &string(10) "sendAction"
}
}
[5] => array(6) {
["file"] => string(84) "/var/www/vhosts/appautosegui.systeamcloud.com/httpdocs/lib/Zend/Controller/Front.php"
["line"] => int(954)
["function"] => string(8) "dispatch"
["class"] => string(35) "Zend_Controller_Dispatcher_Standard"
["type"] => string(2) "->"
["args"] => array(2) {
[0] => object(Siberian_Controller_Request_Http)#35 (26) {
["_is_application":protected] => bool(false)
["_language_code":protected] => NULL
["_force_language_code":protected] => bool(false)
["_is_native":protected] => bool(false)
["_use_application_key":protected] => bool(false)
["_white_label_editor":protected] => object(Core_Model_Default)#30 (7) {
["_db_table":protected] => NULL
["_is_cachable":protected] => bool(true)
["_action_view":protected] => string(4) "find"
["_data":protected] => array(1) {
["is_active"] => bool(false)
}
["_orig_data":protected] => array(0) {
}
["_specific_import_data":protected] => array(0) {
}
["_mandatory_columns":protected] => array(0) {
}
}
["_application":protected] => NULL
["_application_key":protected] => bool(false)
["_ionic_path":protected] => bool(false)
["_is_installing":protected] => bool(false)
["_mediaUrl":protected] => NULL
["_paramSources":protected] => array(2) {
[0] => string(4) "_GET"
[1] => string(5) "_POST"
}
["_requestUri":protected] => string(18) "/push/message/send"
["_baseUrl":protected] => string(40) "http://www.appautosegui.systeamcloud.com"
["_basePath":protected] => NULL
["_pathInfo":protected] => string(18) "/push/message/send"
["_params":protected] => array(3) {
["module"] => string(4) "push"
["controller"] => string(7) "message"
["action"] => string(4) "send"
}
["_rawBody":protected] => NULL
["_aliases":protected] => array(0) {
}
["_dispatched":protected] => bool(true)
["_module":protected] => string(4) "push"
["_moduleKey":protected] => string(6) "module"
["_controller":protected] => string(7) "message"
["_controllerKey":protected] => string(10) "controller"
["_action":protected] => string(4) "send"
["_actionKey":protected] => string(6) "action"
}
[1] => object(Zend_Controller_Response_Http)#60 (8) {
["_body":protected] => array(0) {
}
["_exceptions":protected] => array(0) {
}
["_headers":protected] => array(0) {
}
["_headersRaw":protected] => array(0) {
}
["_httpResponseCode":protected] => int(200)
["_isRedirect":protected] => bool(false)
["_renderExceptions":protected] => bool(false)
["headersSentThrowsException"] => bool(true)
}
}
}
[6] => array(6) {
["file"] => string(72) "/var/www/vhosts/appautosegui.systeamcloud.com/httpdocs/app/Bootstrap.php"
["line"] => int(252)
["function"] => string(8) "dispatch"
["class"] => string(21) "Zend_Controller_Front"
["type"] => string(2) "->"
["args"] => array(1) {
[0] => object(Siberian_Controller_Request_Http)#35 (26) {
["_is_application":protected] => bool(false)
["_language_code":protected] => NULL
["_force_language_code":protected] => bool(false)
["_is_native":protected] => bool(false)
["_use_application_key":protected] => bool(false)
["_white_label_editor":protected] => object(Core_Model_Default)#30 (7) {
["_db_table":protected] => NULL
["_is_cachable":protected] => bool(true)
["_action_view":protected] => string(4) "find"
["_data":protected] => array(1) {
["is_active"] => bool(false)
}
["_orig_data":protected] => array(0) {
}
["_specific_import_data":protected] => array(0) {
}
["_mandatory_columns":protected] => array(0) {
}
}
["_application":protected] => NULL
["_application_key":protected] => bool(false)
["_ionic_path":protected] => bool(false)
["_is_installing":protected] => bool(false)
["_mediaUrl":protected] => NULL
["_paramSources":protected] => array(2) {
[0] => string(4) "_GET"
[1] => string(5) "_POST"
}
["_requestUri":protected] => string(18) "/push/message/send"
["_baseUrl":protected] => string(40) "http://www.appautosegui.systeamcloud.com"
["_basePath":protected] => NULL
["_pathInfo":protected] => string(18) "/push/message/send"
["_params":protected] => array(3) {
["module"] => string(4) "push"
["controller"] => string(7) "message"
["action"] => string(4) "send"
}
["_rawBody":protected] => NULL
["_aliases":protected] => array(0) {
}
["_dispatched":protected] => bool(true)
["_module":protected] => string(4) "push"
["_moduleKey":protected] => string(6) "module"
["_controller":protected] => string(7) "message"
["_controllerKey":protected] => string(10) "controller"
["_action":protected] => string(4) "send"
["_actionKey":protected] => string(6) "action"
}
}
}
[7] => array(6) {
["file"] => string(79) "/var/www/vhosts/appautosegui.systeamcloud.com/httpdocs/lib/Zend/Application.php"
["line"] => int(366)
["function"] => string(3) "run"
["class"] => string(9) "Bootstrap"
["type"] => string(2) "->"
["args"] => array(0) {
}
}
[8] => array(6) {
["file"] => string(64) "/var/www/vhosts/appautosegui.systeamcloud.com/httpdocs/index.php"
["line"] => int(49)
["function"] => string(3) "run"
["class"] => string(16) "Zend_Application"
["type"] => string(2) "->"
["args"] => array(0) {
}
}
}
["previous":"Exception":private] => NULL
}
}
done

Create an account in two or more app is not possible with the same email

If do you have two apps instaled in your device dont is possible create an account for each theirs. If you have more than one app from the same platform installed on your device. You will be able to create accounts for each of them to create with a different email. It is not possible to create multiple accounts with the same email.

Vimeo not working

Vimeo video not working...(Video module)

In every video same error: "can't play video"

Generate APK for previewer SE edition

Hello,
I am trying to generate APK file for the previewer.
I installed latest previewer version.
Solved the default gradle wrapper issue
but now getting this error :

Error:(15, 0) Gradle DSL method not found: 'runProguard()'
Possible causes:

  • The project 'previewer-android' may be using a version of Gradle that does not contain the method.
    Gradle settings
  • The build file may be missing a Gradle plugin.
    Apply Gradle plugin
  • schermafbeelding 2016-06-17 om 15 57 34

Instagram

PE, V:4.1.5
Instagram stopped working and through token.
That is completely stopped working. We need help.
But it works well in older versions of ionic ?! But when you change the data shows an error.

Facebook login returns 404 error

Hi,
When using the Facebook login in the angular view. Since migration the login doen't work anymore. Debugging a bit it turns out that the process of getting the Facebook response back is ok, but the registration post to the sae servers returns a 404 "not found" response. I know this from before as when a script/function is not recognized in the Zend include structure based on the requested url. But in this case that can't be because the login post method is working fine and the url for the script is the same.

Hope you can fix this soon because we didn't expect something which was working not to work ater the update and now a lot of clients can't login using their Facebook anymore.

Kind regards,
Wouter

Push delivery.

When sending a message to the alert in the window a little room for text. How can I enlarge the text in the title and in the message. And to add a translation in buttons? PE.

default

Instagram module not working...

"The name entered is not a valid Instagram user." gives the warning.

but the user name is correct and Instagram API Keys OK.

instagram

"Delivery" page not shown and blank

Hello ! I experienced a strange issue, I hope someone could help me.

In the "e-commerce" module, the "delivery" page is blank on some phones, impossible to go further.

unknown-1
unknown
Any ideas ? Thank you in advance

Push messages.

Hello
The push messages will be sent and are also displayed on the phone.
But if you go, you can not open it after the app page push messages?
M.v.g.

*Enhancement* - Coupon Codes

It will be great if SiberianCMS integrates the ability to register coupon codes in admin area and users redeem it at checkout to provide discounts and special offers to our customers.

Going back to app from the webpage that opened through the link feature

In the older version, there was a way to go back to the app from the website linked through the "link" feature. In the latest version, there is no way to go back to the app from the webpage, other than using the device back button.

The device's back button is not always a good option. For example, if you link a website where users need to go to purchase a product (multi step as add-to-cart, checkout, payment, etc), and after making the payment, the user can't go back using the device back button.

Problem Translation

Hello!

again and again the same problems .... since the last update translations do not work ( french ) . eg button " back" , "no items found" ect ......

The problem is present in version MAE and SAE for me .

//

encore et toujours les mêmes problèmes.... depuis la dernière mise à jour les traductions ne marchent plus (francais). ex: button "back", "no items found" ect......

Le problème est présent dans la version MAE et SAE pour moi.

RSS Feed

In the RSS module, youtube videos of the RSS feed is not displayed . it works perfectly with version 3.17. There is a solution to restore the display of YT videos in the RSS feed ?

Local workspace does not work

"/local/design/desktop/backoffice/..." the path not working

"sae/design/desktop/backoffice/..."using this path.

"/local/design/desktop/siberian/..." the path is working

Translation offline content popup

Hello!

"Fixes a translation issue on messages of the offline content popup at first start of an app." Ok but where change translation? I do not find in the backoffice...

In the backoffice the language is french in parameters but the popup rest in english and "downloading" is also english.

Version 4.1.1

Add Duplicate app in Roles

Hello

In Roles > Edit or create new role > Manage applications

I suggest to add duplicate app permission here.

Best regards

newswall

Newswall : when user click on the news to see the details, picture is not displaying.

Prestashop

Prestashop feature isn't working. When you setup a prestashop store, it only show the standard store website.

translation Weather

There's a translation problem , impossible to translate the day and date.

Push messages.

hello

After the update v4.1.9 push will not be delivered to the device they are called as sent to the editor, but they did not arrive.

This like to urgently done.

M.v.g. André

(edit versie 15-6-2016)

Youtube Videos

Youtube videos dont play in app they lead to the youtube.i use 4.1.0 lastest version PE
Old apps work good have issue with ionic version.

Make a change of plans

It must be possible to switch between packages.

For example: A user is using a monthly package. However she wants to get the annual package.Unfortunately does not have such an option in user settings.

Briefly objective: to make a change of plans.

Of course, this is not a bug. I think this is a very important feature that needs to be.

Regards...

APK mail

APK created but the mail is not going (APK generator)

Publish Section

when customers try to publish their apps it shows our main administrator account id and pass
didnt find where from get this informations
apple-id.jpg - Free Image Hosting by imgup.net

Form add image

When you add image field in form, it activates the phone's camera but you can't browse the phone's existing images. This is bug IMHO.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.