Giter VIP home page Giter VIP logo

lobby's People

Contributors

anandubajith avatar subins2000 avatar suriyaakudoisc avatar

Stargazers

 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

lobby's Issues

PHP error - Cannot modify header information

Hello LobbyOS developer community, πŸ˜„

I got a PHP error while trying to install LobbyOS on my testing website:

http://suriyaakudo.bplaced.net/lobby/admin/install.php
Warning: Cannot modify header information - headers already sent by (output started at /users/suriyaakudo/www/lobby/includes/src/Lobby.php:141) in /users/suriyaakudo/www/lobby/includes/src/Lobby.php on line 142

screenshot 2015-09-27 09 20 55

Link: http://suriyaakudo.bplaced.net/lobby/

What's the problem ❔

Yours,
Suriyaa Kudo :octocat:

Apache 2.2 configured new page

Used Bash install script..
Missing Symlink in /etc/apache2/sites-enabled from /etc/apache2/sites-available/lobby.conf.
In that file using config parameter "Require all granted" that is unavailable on Apache 2.2, but available on Apache 2.4.

Travis CI

@subins2000 @anandubajith:

Hi guys, πŸ˜„

I've been thinking that we can code _better_ with Travis CI. πŸ‘

What's Travis CI?

Travis CI lets your team test and deploy _with confidence_. Trusted by 250,000 users, on over 300,000 open source projects, Travis CI is the leading hosted continuous integration system.

Functions

  • Supporting over 20 different languages, including Ruby, Mac/iOS, and Docker.
  • Travis CI is built for everyone and because it is open source, adding support for your favorite language is easy!
  • Free for open source, and with a 100 build trial for private projects, getting setup takes just 2 minutes.
  • Supports your workflow!

Helpful links for everybody!

iEdit when file created

When I created file, I get some error.

Fatal error: Cannot access self:: when no class...
I did solve it by changing line 131 in file includes/src/Darabase.php..
\- array_walk_recursive($return, function(&$c){ $c = self::filt($c); });
\+ array_walk_recursive($return, function(&$c){ $c = DB::filt($c); });

I didn't study that code so I don't know why but it works... Again, Apache 2.2..

Download any app

When downloading app get this errors (about 50times, maybe more):

[Sun Jan 24 23:31:57 2016] [error] [client 127.0.0.1] PHP Warning:  Missing argument 5 for {closure}() in /var/www/Lobby/admin/download.php on line 62, referer: http://lobby.os/admin/install-app.php?id=millionaire&csrf_token= xxxxxxxxxxx

It's error.log message....

I did covered token (don't know if it could be security problem, my web development skills = 0)... But I'm curious about this "OS"...

Creating LobbyOS apps

Hi there, πŸ˜„

I'm one of the main official developer for the LobbyOS system.

I want to ask @subins2000 if there are any tutorials for newcomers, like creating apps for LobbyOS.

Travis CI - phpunit build error

@subins2000

We got a Travis build error in the phpunit command:

Using worker: worker-linux-docker-92e2ad6b.prod.travis-ci.org:travis-linux-3

system_info

Build system information

Build language: php

Build group: stable

Build dist: precise

Build image provisioning date and time

Thu Feb  5 15:09:33 UTC 2015

Operating System Details

Distributor ID: Ubuntu

Description:    Ubuntu 12.04.5 LTS

Release:    12.04

Codename:   precise

Linux Version

3.13.0-29-generic

Cookbooks Version

a68419e https://github.com/travis-ci/travis-cookbooks/tree/a68419e

GCC version

gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3

Copyright (C) 2011 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.  There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

LLVM version

clang version 3.4 (tags/RELEASE_34/final)

Target: x86_64-unknown-linux-gnu

Thread model: posix

Pre-installed Ruby versions

ruby-1.9.3-p551

Pre-installed Node.js versions

v0.10.36

Pre-installed Go versions

1.4.1

Redis version

redis-server 2.8.19

riak version

2.0.2

MongoDB version

MongoDB 2.4.12

CouchDB version

couchdb 1.6.1

Neo4j version

1.9.4

RabbitMQ Version

3.4.3

ElasticSearch version

1.4.0

Installed Sphinx versions

2.0.10

2.1.9

2.2.6

Default Sphinx version

2.2.6

Installed Firefox version

firefox 31.0esr

PhantomJS version

1.9.8

ant -version

Apache Ant(TM) version 1.8.2 compiled on December 3 2011

mvn -version

Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T17:29:23+00:00)

Maven home: /usr/local/maven

Java version: 1.7.0_76, vendor: Oracle Corporation

Java home: /usr/lib/jvm/java-7-oracle/jre

Default locale: en_US, platform encoding: ANSI_X3.4-1968

OS name: "linux", version: "3.13.0-29-generic", arch: "amd64", family: "unix"

git.checkout

0.92s$ git clone --depth=50 --branch=dev https://github.com/LobbyOS/lobby.git LobbyOS/lobby

Cloning into 'LobbyOS/lobby'...

remote: Counting objects: 1330, done.

remote: Compressing objects: 100% (885/885), done.

remote: Total 1330 (delta 299), reused 1080 (delta 251), pack-reused 0

Receiving objects: 100% (1330/1330), 8.83 MiB | 0 bytes/s, done.

Resolving deltas: 100% (299/299), done.

Checking connectivity... done.

$ cd LobbyOS/lobby

$ git checkout -qf 59866306da864953db683a4922d102c84dda8e94

This job is running on container-based infrastructure, which does not allow use of 'sudo', setuid and setguid executables.

If you require sudo, add 'sudo: required' to your .travis.yml

See https://docs.travis-ci.com/user/workers/container-based-infrastructure/ for details.

0.02s$ phpenv global 5.3 2>/dev/null

$ php --version

PHP 5.3.29 (cli) (built: Feb 12 2015 00:55:43) 

Copyright (c) 1997-2014 The PHP Group

Zend Engine v2.3.0, Copyright (c) 1998-2014 Zend Technologies

    with Xdebug v2.2.7, Copyright (c) 2002-2015, by Derick Rethans

$ composer --version

Warning: This development build of composer is over 30 days old. It is recommended to update it by running "/home/travis/.phpenv/versions/5.3/bin/composer self-update" to get the latest version.

Composer version 1.0-dev (1d8f05f1dd0e390f253f79ea86cd505178360019) 2015-02-11 11:31:57

before_script.1

1.72s$ composer self-update

Updating to version 7c3e621102106fd28af0128fdfd750af926fc569.

    Downloading: 100%

Use composer self-update --rollback to return to version 1d8f05f1dd0e390f253f79ea86cd505178360019

before_script.2

23.32s$ composer install --prefer-source --no-interaction --dev

You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug

You are using the deprecated option "dev". Dev packages are installed by default now.

Loading composer repositories with package information

Installing dependencies (including require-dev)

  - Installing seld/cli-prompt (1.0.1)

    Cloning b27db1514f7d7bb7a366ad95d4eb2b17140a0691

  - Installing seld/phar-utils (1.0.1)

    Cloning 7009b5139491975ef6486545a39f3e6dad5ac30a

  - Installing symfony/filesystem (v2.8.2)

    Cloning 637b64d0ee10f44ae98dbad651b1ecdf35a11e8c

  - Installing symfony/process (v2.8.2)

    Cloning 6f1979c3b0f4c22c77a8a8971afaa7dd07f082ac

  - Installing symfony/finder (v2.8.2)

    Cloning c90fabdd97e431ee19b6383999cf35334dff27da

  - Installing symfony/polyfill-mbstring (v1.1.0)

    Cloning 1289d16209491b584839022f29257ad859b8532d

  - Installing symfony/console (v2.8.2)

    Cloning d0239fb42f98dd02e7d342f793c5d2cdee0c478d

  - Installing seld/jsonlint (1.4.0)

    Cloning 66834d3e3566bb5798db7294619388786ae99394

  - Installing composer/semver (1.2.0)

    Cloning 0faeb6e433f6b352f0dc55ec1faf5c6b605a35d3

  - Installing composer/spdx-licenses (1.1.2)

    Cloning 9e1c3926bb0842812967213d7c92827bc5883671

  - Installing justinrainbow/json-schema (1.6.1)

    Cloning cc84765fb7317f6b07bd8ac78364747f95b86341

  - Installing composer/composer (1.0.0-alpha11)

    Cloning cd9054ce2abd1d06ed0eb1244eba1b2c2af633b6

symfony/console suggests installing symfony/event-dispatcher ()

symfony/console suggests installing psr/log (For using the console logger)

Writing lock file

Generating autoload files

0.08s$ phpunit

PHPUnit 4.5.0 by Sebastian Bergmann and contributors.

Usage: phpunit [options] UnitTest [UnitTest.php]

       phpunit [options] <directory>

Code Coverage Options:

  --coverage-clover <file>  Generate code coverage report in Clover XML format.

  --coverage-crap4j <file>  Generate code coverage report in Crap4J XML format.

  --coverage-html <dir>     Generate code coverage report in HTML format.

  --coverage-php <file>     Export PHP_CodeCoverage object to file.

  --coverage-text=<file>    Generate code coverage report in text format.

                            Default: Standard output.

  --coverage-xml <dir>      Generate code coverage report in PHPUnit XML format.

Logging Options:

  --log-junit <file>        Log test execution in JUnit XML format to file.

  --log-tap <file>          Log test execution in TAP format to file.

  --log-json <file>         Log test execution in JSON format.

  --testdox-html <file>     Write agile documentation in HTML format to file.

  --testdox-text <file>     Write agile documentation in Text format to file.

Test Selection Options:

  --filter <pattern>        Filter which tests to run.

  --testsuite <pattern>     Filter which testsuite to run.

  --group ...               Only runs tests from the specified group(s).

  --exclude-group ...       Exclude tests from the specified group(s).

  --list-groups             List available test groups.

  --test-suffix ...         Only search for test in files with specified

                            suffix(es). Default: Test.php,.phpt

Test Execution Options:

  --report-useless-tests    Be strict about tests that do not test anything.

  --strict-coverage         Be strict about unintentionally covered code.

  --disallow-test-output    Be strict about output during tests.

  --enforce-time-limit      Enforce time limit based on test size.

  --disallow-todo-tests     Disallow @todo-annotated tests.

  --process-isolation       Run each test in a separate PHP process.

  --no-globals-backup       Do not backup and restore $GLOBALS for each test.

  --static-backup           Backup and restore static attributes for each test.

  --colors                  Use colors in output.

  --columns <n>             Number of columns to use for progress outout.

  --columns max             Use maximum number of columns for progress outout.

  --stderr                  Write to STDERR instead of STDOUT.

  --stop-on-error           Stop execution upon first error.

  --stop-on-failure         Stop execution upon first error or failure.

  --stop-on-risky           Stop execution upon first risky test.

  --stop-on-skipped         Stop execution upon first skipped test.

  --stop-on-incomplete      Stop execution upon first incomplete test.

  -v|--verbose              Output more verbose information.

  --debug                   Display debugging information during test execution.

  --loader <loader>         TestSuiteLoader implementation to use.

  --repeat <times>          Runs the test(s) repeatedly.

  --tap                     Report test execution progress in TAP format.

  --testdox                 Report test execution progress in TestDox format.

  --printer <printer>       TestListener implementation to use.

Configuration Options:

  --bootstrap <file>        A "bootstrap" PHP file that is run before the tests.

  -c|--configuration <file> Read configuration from XML file.

  --no-configuration        Ignore default configuration file (phpunit.xml).

  --include-path <path(s)>  Prepend PHP's include_path with given path(s).

  -d key[=value]            Sets a php.ini value.

Miscellaneous Options:

  -h|--help                 Prints this usage information.

  --version                 Prints the version and exits.

  --self-update             Update PHPUnit to the latest version.

The command "phpunit" exited with 2.

Done. Your build exited with 1.

Apps

Any Apps that you think that should be on Lobby ?

Use curl if developers or people want

Hi again, πŸ˜„

I tried to install Lobby on my testing website (link: http://suriyaakudo.bplaced.net/lobby):

screenshot 2015-09-28 18 15 17

I realized that many developers / people are not running an own server or a paid plan server of a server hosting company. πŸ˜’ Many of those server didn't have cURL 🚫 or any shell access. 🚫 Like my webhoster "bplaced".

Thereby I propose that if it's possible to change the software of LobbyOS so, that users can decide whether want to use cURL or not.

Yours,
Suriyaa Kudo :octocat:

New installation of 0.3

I installed Lobby by bash script. Trying this LOS (as you call it) for the first time.
When I open localhost/Lobby, I see lEdit "icon". When I click it, I'm redirected into http://localhost/Lobby/app/ledit which isn't exists (Error 404).
It's problem of some version update or I'm missing something? Thanks for any advice.

Removing the feature of saving App data simply From Browser

Currently the JavaScript lobby.app.save function can save app's data from client side.

Pros

  • Simple usage
  • Less code

Cons

  • People using Lobby Web can easily make the database overflow with data by calling this function in a loop
  • Insecure

Alternative

Instead, I recommend devs to write an AJAX file in "src/ajax" dir of app and send data in JS using lobby.app.ajax function.

Should JS lobby.app.save and lobby.app.remove functions be removed ?

Lobby Settings - Timezone

@LobbyOS/maintainers


Browser:

  • I am on (or have tested in) _Mozilla_ Firefox

Operating systems:

  • I am on (or have tested on) _Sulinos_ GNU/Linux
  • I am on (or have tested on) _alOS_
  • I am on (or have tested on) _suriyaaOS_ GNU/UNIX
  • I am on (or have tested on) _Windows_ 10+

My Reproduction Steps

My localhost site: http://testserver.isc/lobby/0.9.2/admin/settings.php

fireshot screen capture 124 - change settings - lobby - testserver_isc_lobby_0_9_2_admin_settings_php

The Output I Wanted

The Timezone settings should be automatically set to System Default instead of Africa/Blantyre!

fireshot screen capture 127 - change settings - lobby - testserver_isc_lobby_0_9_2_admin_settings_php

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.