Giter Club home page Giter Club logo

wardrobe's Introduction

wardrobe's People

Contributors

adamgoose avatar aebersold avatar briankiewel avatar christiangaertner avatar dhrrgn avatar douggrubba avatar ericlbarnes avatar parsingeye avatar rajivseelam avatar rtablada avatar simondavies avatar taylorotwell 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

wardrobe's Issues

[Proposal] Add Parsed Markdown API to Post model

Currently you have to parse the markdown for a post. While this isn't too bad, this puts more logic in the view than is necessary. I was thinking that the post model add a body attribute or something similar which would just be a markdown parsed version of the content so {{ md($post->body) }} would just become {{ $post->body }}

Tag archives show unpublished posts

Right now, posts that are not yet published are visible to users. Even though the publish date has not arrived, I have pre-composed posts showing in my tag archives and they are visible via their slug.

Can't publish edited draft

When I publish a post and go back to edit it, I can save the post but not publish it. The post turns into a draft, thereby disappearing from the site. I couldn't find a button or something to change the status to published.

Paths/urls relative to the root

Not entirely sure if it's just me who does something wrong, but all the urls on links, buttons and assets is relative to the root. That makes it quite hard to install this in a subfolder, fx www.mysite.com/blog/ :(

In the html stuff I could put in {{ url('path/to/stuff') }} where needed, but I have no idea how to fix it in the backbone part, so I couldn't get it to work with posting new articles :/

[Proposal] Clean up scripts and styles for themes

Allow a simple interface to be used in blade to include template css and js files. This is easily done by creating a child of the Laravel HTML Builder that just passes the path through the theme_path helper before passing this on to the traditional HTMLBuilder parent.

This removes logic from the view {{ theme_path('css/style.css') }} inside of a large link tag then just becomes HTML::style('css/style.css'). A different thought would be to create a Theme helper class that would allow syntax like Theme::style('css/style.css') this may be a bit more maintainable as it would still allow Laravel devs to use the HTML facade per usual while giving them a designer friendly API for themes!

explode for Short in php5.3.13

I get a 'an expected [' error on the getShortAttributes method in php 5.3.13

It is the explode()[] that is causeing the problem.

I had to rewrite the function

Blog Issue

I don't actually have an issue, I just wanted to say how awesome this looks! I will be trying it when I get the chance :)

Editor issue

@ericbarnes just something to keep an eye on. But I basically updated everything, repo, back-end and front-end, reran grunt, and served the site and everything looks fine but it appeared to break the editor for new and editing posts.

Didn't have much time to look into it, time to make dinner. :)

[Request] Make Wardrobe PagodaBox Compliant

Essentially, I would like to see an alternative install process instead of site.com/install since PagodaBox doesn't support install files (being the code is in a read-only environment). The main codebase (aside from app/storage and app/public) can not be modified and makes it difficult to use Wardrobe out of the box on PagodaBox.

Add wardrobe as a package to packagist

Biggest benefit from this, while others could be argued, is that you would be able to do:

composer create-project ericbarnes/wardrobe

And be done with installing.

Bad configuration issues.

I noticed today that when the app/config/wardrobe.php file has a bad value for per_page it causes an SQL error. I ran into this when I setup my local config files before I ran the install and that did not update the local config file thus leaving a non integer value and causing an SQL error.

Should DbPostRepository()->active() check to make sure the config var is set?

duplicate archive routes

Route::get('/', 'HomeController@getIndex');
Route::get('archive', 'PostController@index'); // <- archive here
Route::get('post/{slug}', 'PostController@getShow');
Route::get('tag/{tag}', 'PostController@getTag');
Route::get('archive', 'PostController@getIndex'); // <- archive here (this one overrides the other?)
Route::controller('post', 'PostController');
Route::controller('rss', 'RssController');
Route::controller('install', 'InstallController');

Publish Date needs to count for other timezones/entry methods

When experimenting with this I found the publish date input pop up, and as you can handle written dates 'Next Friday', 'Next Thursday 10am' and also the format of 'MM/DD/YY' I tend to have enter a UK date format as 'DD/MM/YY' say 14/07/13 but this caused the form to error on submission with the object:object

[Request] Commenting system

I think a simple commenting system would be a nice addition. If there was interest I might be able to put together a PR to add the basics of the functionality.

ReferenceError: event is not defined

I was trying to create a post in admin area but i receive an error message: "The slug field is required". Wen i open the firebug console i see "ReferenceError: event is not defined".

The error happens in Firefox 21.0 for Ubuntu, when i try to create a post in Chrome 27 runs perfectly.

wardrobe delete/update error

wardrobe does not delete or update the posts?

There is no problem while inserting new post.

I have the latest version of wardrobe.

What may be the problem?

Thanks.

RSS Feed not parsing markdown

I will help out with this some, but the markdown isn't being parsed at all into the RSS feed output. This led to a bit of a messy jumble of ## and random numbers. I'm pretty sure this can be fixed with a quick parsing since you are sending the data as html. I will look at it before work tomorrow and likely send a pull request in!

Visual Install causes file permission issues

When in the set up screen 'localhost/wardrobe/public/install' and then we press the 'Install Database & Continue' i am given a write permissions error. After investigation it is related to the InstallController@postIndex in whcih it has the following code:

    Artisan::call('key:generate', array('--env' => App::environment()));

Now this obviously want to set a key but as the app.php file is protect its causing the issue, to temporary resolve this i simple commented this out and i managed to get to the next couple of stages.

Before doing this it seems that it is giving it a key automatically, but a closer look is also before running composer install the key is already set and the two versions i have both have the same key - itGxWARLoFR3FxpwAb1ksNlOFhVdJvF0

So is there a need for the Artisan::call call within the controller?

Once this is completed and i get to the application set up, i enter a site name, theme and number of posts per page etc then press enter but then are greeted with another file permission issue.

This time this is to do with the config/wardrobe.php page as it seems its trying to write the form results to this file within the setWardrobeConfig() in particular the File::get($path), but as this file (wardrobe.php) does not have write permissions it fails.

I tested this and changed the permissions and run it again and had no problems using the application.

Slug auto creation

When a title has the question mark sign in it that will be added to the slug. Hence the url will treat everything from that question mark forward as a get request.

It would be better to remove all the ponctuation from the slug automatic system.

[Proposal] - Post key/value store

Was thinking about this for a few weeks now but wanted to get some feedback.

My idea was some place in the post page add the ability for key value storage. So for example the first input would be an autocomplete that looks against existing keys then whatever value you want.

Let me see if I can give an example:

[input key] [input value]
<button>Add Another</button>

Something like that just free form. I think this would allow tons of flexibility in adding all kinds of crazy stuff.

[Proposal] How about translating Wardrobe in other languages ?

Hi!
I was wondering if you'd want to translate it in other languages.
All the documentation and even the app itself front&backend of course.

I could do it in Romanian (native speaker) and in Italian (i live in Florence, Italy since aug 2006 and graduated here too).

What do you think?

Image Uploading

I think it would be ideal to allow image uploading via the content. Basically do it the same way github comments work. You drag and drop the image into the content and it uploads behind the scenes and inserts the markdown image with the correct path.

Commenting on posts

I think that one of the basic features of a blog should be the ability to comment on posts. I didn't see any reference to it, so I submitted this issue.

Ideas

add a code icon to the toolbar. (and tab in automatically)
at the bottom it gives a word count (it actually counts characters not words)
It would be nice to have a place to find themes.

Great job though ๐Ÿ˜„

Admin Posts grid in columns based on status

I have had this idea for a while now and figured I should share it and get feedback before I start on it. It will take a pretty large amount of work to accomplish.

On the posts grid/listing page in admin I have been thinking about changing this to a column type setup like trello/tweetdeck.

With the headings being "Planning", "In Progress", "Scheduled", "Published", etc. then you could quickly visualize old ideas you've had and what you started but never finished.

Ideally columns could be created and removed to suit your preference.

What do you think? Like it or hate it?

Feature Request: Config file for themes

It would be great if a config file could be included in the themes folder. This would make it easier to add theme-specific options. Thinking of a more elegant solution to straight up including a php file at the top of the layout file.

View [admin.login] not found.

Hi,
The blog works just fine but when I try to enter the admin it tells me "View [admin.login] not found.". after some debugging it is looking in the public directory for the view which are not there but in app/views.

what can I do about this? is this a known issue?

Regards, Ronnie

View [themes.default.index] not found

I get an "InvalidArgumentException
View [themes.default.index] not found" when I try to open index after install.
"mysite.com/wardrobe" works fine

[edit]
solved the issue by copying the themes folder from public to views

L4 config/environment

Hi there. I just tested wardrobe, and discovered some inconvinience with the laravel environment/config.

I had to create the folder app/config/local and copy app.php in there, to get the installer working (otherwise FileNotFound error). I checked your .gitignore, and it seems that you excluded that exact folder. Maybe you can add it to the repo, otherwise this could be a bit frustrating to newbie users.

cheers,
simon

Saving a post redirects to the Posts page instead of saving and staying in the post.

I like to save as I'm writing. I hate the fact that every time I hit save, it takes me back to the Posts page. This is kinda related to #64, since it's necessary to save before previewing. That makes keeping a rhythm pretty difficult, and it's jarring to constantly save, find the post I was working on, click on the post, find my place, and get started again.

Additionally, an "auto-save" feature would be a huge quality-of-life improvement for end users.

Windows missing /dev/app.php

I made a Windows virtual host wardrobe.dev and then when i went to the install process i hit install it did this:

File does not exist at path C:\xampp\htdocs\wardrobe\app/config/dev/app.php

then once i added the /dev/app.php i re-ran install and

array_replace_recursive(): Argument #2 is not an array in

protected function mergeEnvironment(array $items, $file)
{
   return array_replace_recursive($items, $this->files->getRequire($file));
}

The fix for me was to add to start/global.php

$env = $app->detectEnvironment(array(

  'local' => array('*.dev'),

));

Fresh install is erroring.

When doing a fresh install I am getting the following error:

composer install
PHP Fatal error:  include(): Cannot redeclare class symfony\component\process\process in phar:///usr/local/bin/composer/vendor/composer/ClassLoader.php on line 185

Fatal error: include(): Cannot redeclare class symfony\component\process\process in phar:///usr/local/bin/composer/vendor/composer/ClassLoader.php on line 185
zend_mm_heap corrupted

Composer version: d498e73363f8dae5b9984bf84ff2a2ca27240925

Regards

Preview doesn't show the latests changes.

When editing a Post the preview button should show a preview according to the current state of the document, currently it shows the latest published version, so a user needs to click "Publish post" before being able to watch the preview, for me the preview should show my changes before I publish the post, so I'm sure that's the way I want it to look.

Error Installing Wardrobe

I don't know why I am having hard time installing Wardrobe (it must be me doing something wrong)

When I go to /install and hit "Install" button, I get following error:

File does not exist at path /var/www/wardrobe/app/config/production/app.php

After creating the path manually, I get following error:

array_replace_recursive(): Argument #2 is not an array

I haven't had a chance to look at the code yet but I guess the installation should be straightforward as per documentation and what others are saying.

Like I said, it must be something to do with me or my server setup.

Can someone help please?

Ta,
Vishal

[Proposal] Theme Package Meta Data

Would be nice to be able to include meta data and an image within a theme package, so that if a user was browsing themes in the admin they could see what it will look like.

Could be in a Laravel style config array.

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.