contao / contao-manager Goto Github PK
View Code? Open in Web Editor NEWContao Manager
License: GNU Lesser General Public License v3.0
Contao Manager
License: GNU Lesser General Public License v3.0
I guess that would be good to see when searching packages
The version is currently hardcoded in JSX templates. Should be some sort of constant or thelike.
Only the latest version can be installed right now.
As the react needs to render IN some given node, I can ask it to render on document.body
but cannot adjust the CSS class of <body>
itself to go for something like <body class="wide">
.
Can we maybe have something like
<body>
<div id="app" class="wide">
<!-- everything goes in here -->
</div>
</body>
? :-)
Allow the user to install suggested packages even if they are not of type contao-bundle
. Probably provide a screen with suggestions.
The bundle.js gets a shebang (contao-manager.phar is used) so it's throwing an js syntax error.
Also the contao-manager.phar generates html that has a shebang on beginning which results in faulty html.
Travis builds currently fail with a strict violation.
/home/travis/build/contao/package-manager/gulpfile.js:3
const browserify = require('browserify');
^^^^^
SyntaxError: Use of const in strict mode.
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Liftoff.handleArguments (/home/travis/build/contao/package-manager/node_modules/gulp/bin/gulp.js:116:3)
at Liftoff.<anonymous> (/home/travis/build/contao/package-manager/node_modules/gulp/node_modules/liftoff/index.js:193:16)
at module.exports (/home/travis/build/contao/package-manager/node_modules/gulp/node_modules/liftoff/node_modules/flagged-respawn/index.js:17:3)
at Liftoff.<anonymous> (/home/travis/build/contao/package-manager/node_modules/gulp/node_modules/liftoff/index.js:185:9)
People might want to install dev packages, so there should be an option to enable minimum-stability.
It must be possible to cancel a task in the UI. Ideally that should also cancel the process.
Looking at the documentation (https://symfony.com/doc/current/components/process.html#running-processes-asynchronously) it should be possible to store the process ID between $process->start()
and $process->wait()
. Or handle cancellation in the wait()
callback.
A user should get a list of package versions (similar to the selection in the Contao 3 Composer client).
There should be two options:
The resulting constraint would be
This will prevent Composer from downgrading packages, but allows to upgrade according to selection.
We must add some sort of progress because it takes too long and people will abort the operation.
@discordier any idea what we could tell? Maybe the hosts we're searching? "Sending", "waiting for response from", etc?
Update manager to use the flattened Contao logo
The install screen should have a dropdown for either latest version or LTS version.
Currently it's possible to create a one-character username and password.
Atm it is just orange, no matter if disabled or not.
I want to get rid of jQuery if possible because we don't really need it and I think it's nicer using transitions anyway for that small gimmick.
The license for the icons needs to be validated and some icons might need to be changed.
When building via gulp --production
the following is logged in the console, we should fix this before final release.
bundle.js:20 Warning: It looks like you're using a minified copy of the development build of React. When deploying React apps to production, make sure to use the production build which skips development warnings and is faster. See https://fb.me/react-minification for more details.
The search input field and type choice go together, so I wrapped them into the <section class="search">
. Needs some margin adjustments.
Hi everyone,
I got Contao installed in MAMP Pro host with php 5.5.23 in OS X 10.9
Packager suggests me to replace deprecated discordier/httpextendrequest by guzzlehttp//guzzle. But when I try, I got this message :
/usr/bin/env php -d memory_limit=1G -d max_execution_time=3000 composer.phar update --no-ansi --no-interaction -v
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for guzzlehttp/guzzle >=6.1.1.0,<6.2-dev -> satisfiable by guzzlehttp/guzzle[6.1.1].
- guzzlehttp/guzzle 6.1.1 requires php >=5.5.0 -> your PHP version (5.4.45) does not satisfy that requirement.
I suppose Composer is verifying MAC OS X version of php instead of MAMP one.
Allow the user to select which Contao bundles to install
Problem: When scrolling down the packages list and applying changes, the task popup is outside of the visible area.
The phar compilation currently does not work, and is not documented.
The Phar does not need to be optimized for now (e.g. #20)
We need to think about whether it must be possible to enter a GitHub Token
The task queue must check the log file of tasks marked as "running" if the process has died due to memory limit issues.
Files of the Contao Manager must not be tenside-related (though noone cares what the bundles are named!).
The password can currently be reset by deleting the users.json
file in the contao-manager
directory. We should add a topic about that to the Contao Manager manual.
If the login is timed out, the current application state is lost and the user is redirected to the login form. A possible solution would be to implement re-login in a popup.
low priority
The create-project task is not running with --no-dev
, and I could not figure out why. The task in tenside/core seems to have this flag, but the task console says with require-dev.
I got an "404 - File /web/index.html Not Found" if I run the generated phar file on my webspace.
When I want to remove the "configuration" item (as it does not exist yet) the menu is off. Also, try editing a file, can we make the sub navigation items overlap codemirror? :D I tried z-index but this alone is not going to fix it :)
I've implemented highlighting the search terms in package name and description in 2f07800 and used <mark>
for this. Chrome apparently highlights this in yellow already but maybe we should make sure it's present in our CSS anyway?
Disabling a package should disable the plugin registered in it's composer.json.
Packages are enabled by default after installation, so the Managed Edition needs to keep a list of disabled packages (probably using the contao-api
).
Read-More link should point to packagist if the package is on there
It would be way easier to install Contao from a ZIP file instead of composer create-project
. Should be sufficient to install a managed edition if that is the default download.
In that case we also don't need contao/managed-edition
on Packagist.
Btw. this is similar to what the Symfony installer and the Contao check does.
The manager must support custom maintenance tasks. They will be provided by the manager plugins.
Because the plugin must run in the real composer environment (class loader), we need contao-api
as a standalone application, which loads the plugins and asks for tasks (new interface).
I guess, no? :-)
The console should automatically scroll to the latest line
Contao Manager should update itself automatically
It should be possible to add the manager to an existing Contao ME installation
The user must be redirected or at least given the information that he must open the install tool to update the database after installing or updating packages.
I tried to search in the manager that was open since last night. The login expired, but the search did not redirect but showed two arbitrary empty packages.
Should be available in the Contao manager to re-dump the autoload information. Necessary if someone adds an AppBundle
or ContaoManagerPlugin
.
Wir testen zum Spaß mal gerade den Contao Manager. Gebaut habe ich das Phar nach den Anweisungen aus dem kürzlichen Commit von @discordier.
Das Phar läuft prinzipiell (sieht übrigens sehr hübsch aus!) und möchte gerne einen Benutzernamen und ein Passwort haben. Danach werden fünf Requests gestartet:
Und der fünfte schlägt fehl (mit Code 401):
{"status":"ERROR","message":"Authentication credentials could not be found."}
In der tenside.json sieht es prinzipiell gut aus (würde ich sagen):
{
"secret": "359f0344c5f9cbbec9a233bae6a6ca669790ead6084325fde84ace2ce7637988676e1c94de2646c0",
"php_cli": "/opt/remi/php71/root/usr/bin/php",
"php_cli_arguments": [
"-d memory_limit=2G"
],
"php_can_fork": true,
"auth-password": {
"admin": {
"acl": 15,
"salt": "589d87c3ecaf21.72196327",
"username": "admin",
"password": "$2y$13$UozWiuLBbaMmYyNdRSRpUOobQYWYNHVL8OSVe6wIRAJ2xmWey3k4u"
}
}
}
Das kann man beliebig oft wiederholen (wenn man den tenside-Ordner zwischendurch löscht). Was könnte der Grund sein?
Installation must run the self test (probably already does). It must also be possible to access the selftest results from installl screen.
We currently have a compiled phar size of 3MB (on my side with some more optimizations like getting rid of some unneeded classes).
Of these 3MB, 2MB result from the src/Resources/public/fonts
directory.
Personally, I feel it is way too heavy to have two third of the whole application consisting only of font data.
We therefore should either use another font or get rid of the unused character sets/font weights.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.