Code Monkey home page Code Monkey logo

app's People

Contributors

cebe avatar cornernote avatar creocoder avatar crtlib avatar disco-tex77 avatar dletz avatar drsdre avatar gonimar avatar igorsantos07 avatar jasrags avatar kartik-v avatar klimov-paul avatar kumorig avatar lancecoder avatar lucianobaraglia avatar marc7000 avatar mohorev avatar motin avatar pat812 avatar philippfrenzel avatar qiangxue avatar ragazzo avatar resurtm avatar samdark avatar schmunk42 avatar slavcodev avatar stphivos avatar suralc avatar trianman avatar uldisn 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  avatar

app's Issues

no permission to install twitter/bootstrap

  • Installing twitter/bootstrap (v2.3.2)
    Downloading: connection...
    Could not fetch https://api.github.com/repos/twitter/bootstrap/zipball/v2.3.2, enter your GitHub credentials to access private repos
    The credentials will be swapped for an OAuth token stored in /root/.composer/config.json, your password will not be stored
    To revoke access to this token you can visit https://github.com/settings/applications
    Username:
    Password:
    Authentication required (api.github.com):
    Username:
    Password:
    Authentication required (api.github.com):
    Username:
    Password:
    Invalid credentials.
    Username:
    Password:
    Invalid credentials.
    Username:
    Password:
    Invalid credentials.
    Username:
    Password:
    Invalid credentials.
    Username:
    Password:
    Invalid credentials.

    [RuntimeException]
    Invalid GitHub credentials 5 times in a row, aborting.

cleanup of folders needed

There are at least two folders which I think are unnecessary:
\vendor\crisu83\yii-bootstrap\demo
\vendor\yiisoft\yii\demos

Failed to execute hg clone 'https://bitbucket.org/Crisu83/yii-rights'

$ ../composer.phar install
Welcome to Phundament

Installing application...

Loading composer repositories with package information
Installing dependencies from lock file

  • Installing anggiaj/eselect2 (dev-master 31411a8)
    Cloning 31411a81217a6e70d6d9af85a6f85a40edb8bf7f

  • Installing crisu83/yii-rights (dev-tip 437267d)
    Cloning 437267d8b1edd121ccb860b5a5f00203362ec3ae

    [RuntimeException]
    Failed to execute hg clone 'https://bitbucket.org/Crisu83/yii-rights' '/Users/simonegentili/Development/Www/phundament/vendor/crisu83/yii-rights' && cd '/Users/simonegentili/De
    velopment/Www/phundament/vendor/crisu83/yii-rights' && hg up '437267d8b1edd121ccb860b5a5f00203362ec3ae'

    sh: hg: command not found

install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [-v|--verbose] [-o|--optimize-autoloader]

Migrations Fail

I am simply running the setup script

./p3/setup.sh ../yii/framework/yiic

Can't seem to get the migrations to run. I have tried adding my DB config info into ./p3/config.php but with no effect. Where do I config this?

YiiUser migration doesn't use requested e-mail address

Using version 0.11.0 according to the README.md, but the package I downloaded from GitHub was named app-0.12.3.zip.

I just installed p3 and ran the composer install command. During the migrations phase for YiiUser, I was asked for a username, email address and password. At least the email address of those three did not make it into the database. Instead of [email protected], I have [email protected] in the user list.

I don't know if the username and password might fail to, as I used the default values for those.

*** applying m110805_153437_installYiiUser
type db: sqlite
    > create table {{users}} ... done (time: 0.001s)
    > create unique index user_username on {{users}} (username) ... done (time: 0.008s)
    > create unique index user_email on {{users}} (email) ... done (time: 0.001s)
    > create table {{profiles}} ... done (time: 0.000s)
    > create table {{profiles_fields}} ... done (time: 0.001s)
Admin login [admin]:
Admin email [[email protected]]: [email protected]
Admin password [admin]:
    > insert into {{users}} ... done (time: 0.001s)
    > insert into {{profiles}} ... done (time: 0.000s)
    > insert into {{profiles_fields}} ... done (time: 0.001s)
    > insert into {{profiles_fields}} ... done (time: 0.000s)
*** applied m110805_153437_installYiiUser (time: 28.886s)

add console-local.php

eg. define migration module data only in console-local.php, merge contents with console.php

The Definitive Guide To PDF And Mobi Formats

Hi peeps,

I was wondering if there's some easy way to turn The Definitive Guide of Phundament into PDF or Mobi format so people can read it on their Kindles and smarphones on the way to work or any other time offline :) It's not hard to see that Phundament is one of the top Yii apps that is worth knowing well if people want to develop with Yii.

I know it's sort of silly question, but I wish I had it on my Kindle instead of reading other boring book :) Thanks. You guys rock!

Installation Time problem

I have installedthe phunadment app many times , but the following problems came to me , although it is written in main page that every type of setup will be done automatically

Warning: require_once(D:\xampp\htdocs\phundament\protected/extensions/phundament/p3extensions/components/P3Configuration.php) [function.require-once]: failed to open stream: No such file or directory in D:\xampp\htdocs\phundament\protected\config\main.p3.php on line 288

Fatal error: require_once() [function.require]: Failed opening required 'D:\xampp\htdocs\phundament\protected/extensions/phundament/p3extensions/components/P3Configuration.php' (include_path='.;D:\xampp\php\PEAR') in D:\xampp\htdocs\phundament\protected\config\main.p3.php on line 288

Please solve this issue

Thanks

improve testing reliability

see travis-ci/travis-ci#1112

Debug notes:

sudo gem install travis
sudo gem install json

https://help.github.com/articles/creating-an-oauth-token-for-command-line-use

curl -u 'schmunk42' -d '{"scopes":["repo"],"note":"Help example"}' \
    https://api.github.com/authorizations

Fatal error in gii-template-collection/components/Relation.php on line 620

[apply] PHP Fatal error:  Cannot re-assign auto-global variable _POST in /var/lib/jenkins/jobs/phundament/workspace/vendor/phundament/gii-template-collection/components/Relation.php on line 620
[apply] Errors parsing /var/lib/jenkins/jobs/phundament/workspace/vendor/phundament/gii-template-collection/components/Relation.php

Issue with CSaveRelationsBehavior

Hi the package
ckeditor-configurator still seems to be downloading code from a previous release and is causing an issue on the application overviews when you go into templates or styles for the ckedit configurator.

This appears to no longer be in use the repo but I still got this code downloaded yesterday in BaseCkeditorStyle.php and CkEditorTemplateController.php so maybe an issue with composer setup?
gii-template-collection.components.CSaveRelationsBehavior

package integration

while integrating package to my phundament i am getting the error
Fatal error: Class 'Symfony\Component\HttpKernel\Bundle\Bundle' not found in C:\xampp\htdocs\heroenergies\vendor\zorbus\poll-bundle\

need proper guidance how to include package in project.

Error in install

Hello! I have problems with composer.
I use cygwin to install and php 5.3.20
I have git and hg on my computer.

and have error
Alex Softer@Alex /cygdrive/e/Petrosoft/OpenServer/domains/localhost
$ /cygdrive/e/Petrosoft/OpenServer/modules/php/PHP-5.3.20/php.exe composer.phar self-update
You are using the latest composer version.

Alex Softer@Alex /cygdrive/e/Petrosoft/OpenServer/domains/localhost
$ /cygdrive/e/Petrosoft/OpenServer/modules/php/PHP-5.3.20/php.exe composer.phar install
Phundament 3 Installer

  • download packages specified in composer.json
  • trigger composer callbacks

Loading composer repositories with package information
Installing dependencies from lock file

  • Installing crisu83/yii-rights (dev-tip 437267d)
    Cloning 437267d8b1edd121ccb860b5a5f00203362ec3ae

    [RuntimeException]
    Failed to execute hg clone "https://bitbucket.org/Crisu83/yii-rights" "E:\P
    etrosoft\OpenServer\domains\localhost\vendor/crisu83/yii-rights" && cd "E:
    Petrosoft\OpenServer\domains\localhost\vendor/crisu83/yii-rights" && hg up
    "437267d8b1edd121ccb860b5a5f00203362ec3ae"

    "hg" ▒▒ ▒▒▒▒ ▒▒▒▒७▒▒▒ ▒▒▒ ▒▒▒譥▒
    ▒▒▒▒▒▒▒▒, ▒ᯮ▒▒塞▒▒ ▒ணࠬ▒▒▒ ▒▒▒ ▒▒▒▒▒▒ 䠩▒▒▒.

install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-custom-installers] [--no-scripts] [--no-progress] [-v|--verbose] [-o|--optimize-autoloader]

but

Alex Softer@Alex /cygdrive/e/Petrosoft/OpenServer/domains/localhost
$ hg
Mercurial Distributed SCM

basic commands:

add add the specified files on the next commit
annotate show changeset information by line for each file
clone make a copy of an existing repository
commit commit the specified files or all outstanding changes
diff diff repository (or selected files)
export dump the header and diffs for one or more changesets
forget forget the specified files on the next commit
init create a new repository in the given directory
log show revision history of entire repository or files
merge merge working directory with another revision
pull pull changes from the specified source
push push changes to the specified destination
remove remove the specified files on the next commit
serve start stand-alone webserver
status show changed files in the working directory
summary summarize working directory state
update update working directory (or switch revisions)

use "hg help" for the full list of commands or "hg -v" for details

[ErrorException] Undefined index: master_branch

I downloaded phundament and followed the instructions but I keep running into this error when executing the command 'php composer.phar install':

[ErrorException]
Undefined index: master_branch

install [--prefer-source] [--dry-run] [--no-install-recommends] [--install-suggests]

Any help would be much appreciated.

ddeditor not installed in default installation and path problems

I need to manually download ddeditor and put it in \vendor\phundament\gii-template-collection\command\widgets\ folder.

Also there is ext.gtc path used in many places but it should be application.vendor.phundament.gii-template-collection

Without replacing paths and adding ddeditor manually additional gii features will not work for me

How-to modify main menu? Best practices for integrating pre-existing tables?

As someone more used to the standard yii menu setup, I wanted to know which file I need to modify in order to change the main menu.... I am trying to use Phundament with an existing database but in looking at the code it seems the menu is not meant to be modified - it is read-only - and I don't see anywhere in the docs anything about which files can / should be modified in order to make changes beyond simply adding p3 pages. This is made a bit more complex by the folder structure changes, with views and layouts split into back and front end, and with the read-only directories I'm not sure at all about where the customizations should go

I really like the packaging of extensions that Phundament has - especially the RBAC built-in - and I would like to use it, but without a bit more direction I might be further ahead building things out from a vanilla Yii install simply because there is more info on how to to modify the system

Composer install does not include widgets

I installed Phundament through the composer method and everything went smoothly. One thing I noticed though was that I could not manage widgets because there was no p3widget admin controller. Then I found out you had to download the widgets separately.

It would help if composer also includes the widgets or at least have somewhere on your Installation guide to troubleshoot extra widgets.

Switch dev-dependencies to stable versions

    "crisu83/yii-rights": "@dev",
    "mishamx/yii-user": "dev-master as 0.3.999",
    "yiiext/migrate-command": "@dev",
    "vitalets/yii-bootstrap-editable": "@dev",
    "phundament/jquery-file-upload": "@dev"

    "phundament/lessii": "@dev",
    "crisu83/yii-less": "dev-tip as 0.0.1"    

www/index.-test.php path problem

instead of

$config=dirname(__FILE__).'/protected/config/test.php';

it should be:

$config=dirname(__FILE__).'/../config/test.php';

Tried to remove some Phundament packages from composer.json and got errors

I'm building a new application using Phundament (first time user) and I'm not interested in the CMS-y packages, as my application is going to be something very specific. Thus, I tried to remove some packages such as p3pages, p3media, and some others.

When I try to run composer update with this composer.json the command complains it cannot find p3pages migrations. Of course, I removed the package, but... Why is it still trying to load those migrations?

Register email goes to spam

Sorry, I had no idea where would be better to report this, so here it goes:

The register email from the Phundament 3 website goes directly to spam... Maybe you could try giving the email body some substance, and change the "from" field to something better than [email protected]?

Gmail however complains specifically about the server from there the email came, but maybe this could help it think the email is legitimate.

Spam warning

Outdated URLs Packages

When I run:

php composer update

This error shows up:

  [Composer\Downloader\TransportException]                                                                                                          
  The "https://nodeload.github.com/yiiext/migrate-command/zipball/79b578ed54cdf6ecaa65db0a496151f7528a7e40" file could not be downloaded (HTTP/1.1  
   404 Not Found)    

The same happens with wget:

 wget https://nodeload.github.com/yiiext/migrate-command/zipball/79b578ed54cdf6ecaa65db0a496151f7528a7e40
--2012-11-08 13:18:27--  https://nodeload.github.com/yiiext/migrate-command/zipball/79b578ed54cdf6ecaa65db0a496151f7528a7e40
Resolving nodeload.github.com (nodeload.github.com)... 207.97.227.252
Connecting to nodeload.github.com (nodeload.github.com)|207.97.227.252|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-11-08 13:18:28 ERROR 404: Not Found.

As a workaround I've used this package definition with a different url.

p3Widgets Bug

"Add Widget to Container 'top'" dropdown selector is not functioning well in Chrome. The dropdown list comes down however when you hover over an option the list disappears.

rights component RWebUser needs updateSession() method or else editing profile fails

I found solution from:

http://www.yiiframework.com/forum/index.php/topic/33424-yii-user-and-rights-ext-combined-issue/

Does composer support some kind oh hook which could add updateSession() method to component?

/**
*
*/
public function updateSession() 
{
    $user = Yii::app()->getModule('user')->user($this->id);
    $userAttributes = CMap::mergeArray(array(                                                                                               'email'=>$user->email,
        'username'=>$user->username,
        'create_at'=>$user->create_at,
        'lastvisit_at'=>$user->lastvisit_at,
    ),$user->profile->getAttributes());

    foreach ($userAttributes as $attrName=>$attrValue) {
        $this->setState($attrName,$attrValue);
    }
}

Link where saving updated profile fails :

/www/en/user/profile/edit

widgetTranslation error

Going to p3widgettranslation/create and click on flash icon asking for browse server.

Onclick of browse server showing the error "Undefined variable: model".

Fatal error: Class 'Profile' not found with yiic migrate

I wwould like install phundament/app.
Whene I run the console commande yiic migrate, i get a fatal error

Fatal error: Class 'Profile' not found in C:\www\phundament\vendor\yiisoft\yii\framework\db\ar\CActiveRecord.php on line 395

I get a solution for correct this bug, in app/config/console.php i added a import directive 👍

'import'=>array(
'vendor.mishamx.yii-user.models.Profile',
'vendor.mishamx.yii-user.components.UActiveRecord'
),

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.