Git Product home page Git Product logo

phpcr-browser's People

Contributors

alexisjanvier avatar bryant1410 avatar bvleur avatar clemherreman avatar fabpot avatar fzaninotto avatar jpetitcolas avatar lsmith77 avatar manuquentin avatar pborreli avatar robinbressan 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

phpcr-browser's Issues

After install default repositories do not work

Did a clone, make install, copied prod.yaml-dist to prod.yaml and changed http://localhost:8080/server to http://localhost:8000/server for jackalope.jackrabbit_uri.

After a bin/run.sh, I see the app running in my browser. If I click "My Jackrabbit Repository" the loader bar on top of the page takes forever and then will just freeze at the end and not load anything.

If I switch prod.yaml to use both repositories (including doctrine-dbal), clicking "My Doctrine DBAL Repository" will produce an on screen error .."Uexpected error talking to the backend: An exception occured while executing 'SELECT 1 FROM phpcr_workspaces WHERE name = ?' with params["default"]: SQLSTATE[HY000]: General error: 1 no such table: phpcr_workspaces."

Is ther something I am missing. Does each repo have data already or no?

[Insight] Commented code should not be commited

in src/app.php, line 25

Commented out code reduces readability and lowers the code confidence for other developers. If it's common usage for debug, it should not be committed. Using a version control system, such code can be safely removed.

    use UrlGeneratorTrait;
}

$app = new PHPCRBrowserApplication();

//$app->register(new SessionServiceProvider());
$app->register(new UrlGeneratorServiceProvider());
$app->register(new TwigServiceProvider(), array(
    'twig.path' => __DIR__.'/../views',
));

Posted from SensioLabsInsight

[Insight] Unused use statement should be avoided

in src/app.php, line 10

The class Igorw\Silex\ConfigServiceProvider is declared but never used. You should remove the use statement.

 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

use Igorw\Silex\ConfigServiceProvider;
use PHPCRBrowser\Browser\Provider\BrowserControllerProvider;
use PHPCRBrowser\Browser\Provider\BrowserServiceProvider;
use Silex\Application;
use Silex\Application\UrlGeneratorTrait;
use Silex\Provider\TwigServiceProvider;

Posted from SensioLabsInsight

extract browser into library and create symfony bundle and silex provider

how hard would it be to split the actual phpcr browser into its own library and a silex provider and a symfony bundle that use the library? i think it would be very interesting to integrate this browser in a symfony application as well.

splitting a library out of the codebase could also solve the issue of supporting other phpcr implementations: if the actual silex app is only the bootstrap code, you could do a second app for jackalope-doctrine-dbal.

Browsing node paths containing a period (".") break with PHP built-in web server

The README says it's better to use the PHP built-in webserver but API calls with containing periods confuse that server to go look for a specific file from the docroot instead of using index.php.

I see the following possible resolutions:

  1. Change the API url prefix from /api to /index.php/api in api-foundation.js line 5
  2. Don't use "docroot" functionality (the -t parameter) of the PHP built-in web server but supply a routing.php file like suggested here.
  3. Warn against this "known issue" when advising the PHP built-in webserver (or stop suggesting it at all).
  4. URL encode periods (don't know if works somehow).

Error 500

I'm facing with Error 500 when i browse into the second depth level.

From my project's symfony console I can view the paths:

$ bin/console doctrine:phpcr:node:dump --depth 2
ROOT:
  cms:
    pages:
    routes:
    content:
    menu:

While in your phpcr-browser I can see only the root path
image

Please tell me how can I inspect the problem.
Thanks

Please, put the "AllowOverride All" on the docs vhost conf

I lost a lot of time here, because apache is "not so sweet" to debug.

The config on the docs:

<VirtualHost *:80>
  DocumentRoot /path/to/the/browser/web
  ServerName phpcr-browser.lo
  AllowEncodedSlashes On
</VirtualHost>

Does not specify that you need the AllowOverride to be set. Since the browser has a specific .htaccess, it's needed. The errors without it are hard to debug. So it's good to make it clear on the docs.

Putting something like this on the docs, will help other people not so expert with apache configs as me:

<VirtualHost *:80>
        ServerName xxxx
        AllowEncodedSlashes On
        DocumentRoot /path/to/the/browser/web

        <Directory "/path/to/the/browser/web">
            AllowOverride All
        </Directory>
</VirtualHost> 

caching issue when adding properties

when I add a property, then click on another node and then go back to the node where I added a property, the new property is not shown. however when I reload it appears.

PHP 5.4+ requirement

This should be mentioned in the README or, even better, set as requirement in composer.json

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.