Git Product home page Git Product logo

dropplets's People

Contributors

ada-lovecraft avatar azeirah avatar bibby avatar bishless avatar bndr avatar darkfunction avatar fanuneza avatar franrosa avatar jasonclemons avatar jazzsequence avatar jimmythompson avatar johnroper100 avatar jonstavis avatar jptksc avatar jrsinclair avatar kemmeter avatar mbro95 avatar mrbesen avatar ngallagher87 avatar nhereveri avatar nikf avatar pavver avatar rubenvarela avatar shukai0828 avatar swaroopsm avatar tdlm avatar twanoo67 avatar varemenos avatar yannickvdthoren avatar zessx 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  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

dropplets's Issues

Password Confirmation

I think there should be some validation on the installation and settings screens which requires the user to enter their password twice and makes sure they match.

In the same vein as #59, if I enter my password wrong in the installation screen I then have to delete config-settings.php and re-install in order to reset my password. It would be much easier if we enforced the passwords to be identical to avoid typos etc.

Dropbox Only?

How many of you use Dropbox? If so, would it make sense to make Dropplets a Dropbox only application? In other words, remove the setup and admin entirely and then simply use Dropbox for publishing and configuration. My thought is that this would completely eliminate all of the security issues that have been reported in the last few days as well as make the process for publishing and editing posts much more simplistic. I was planning on implementing Dropbox support anyway down the road, but I just thought I'd ask what everyone else thought?

Clear All Cache

Add a button within the "post" screen that would clear all cached post files.

Changing settings breaks password.

Pull #42 has implemented SHA1 hashing of passwords, however the hashed password is placed into the textbox and then used as a setting for a new password.

For example, a new installation of Dropplets with the password "hello" results in:

dropplets-issue

I then go to change my settings and the SHA1 password is stored in the text field.

dropplets-issue

So, assuming I ignore that, and just click the tick.

dropplets-issue

My password is now technically sha1(sha1("hello")).

Restrictive File Permissions Prevent Installation

While doing my first test, I noticed that having restrictive file permissions prevents the installation from working, which is expected, but instead of showing an error of some kind, it just reloads the setup screen with no indication of what the problem was.

Can't Upload .md Files

When trying to upload a .md file via the drag & drop feature of the dashboard, I'm getting this JavaScript error in the JS Console:

Uncaught SyntaxError: Unexpected token < 

Even moving the file in the posts directory won't work. While it loads the title of the file, when i click (or navigate manually) to the url of that post, it will return a 404 error.

Erroneous Dashboard before Installation

Accessing ./index.php before you've installed Dropplets results in the default installation screen, however accessing dashboard/index.php leads to the default dashboard login screen, placing this at the top of the file:

ini_set('display_errors', '1');
error_reporting(E_ALL);

Leads to the following errors:

dropplets-issue


We shouldn't be trying to include the configuration file before it's made, I'd suggest this be automatically directed back to ./index.php

Delete Post Functionality

Implement a way to delete posts, possibly within single post pages. If the user is logged in, display a "delete post" link within the post meta (left).

Show .htaccess Rules in Dashboard If File Does Not Exist

Due to the permissions issue, the .htaccess file is not always created during installation (and no indication is given). I'd suggest that the necessary rules for pretty permalinks be shown in the dashboard if the file doesn't exist.

If you don't want to show the rules in the dashboard, then maybe just include them in the Installation instructions.

Consider Not Using $_SESSION

PHP $_SESSION isn't enabled on a lot of servers, meaning that Droplets will not work at all on those servers (at least the Dashboard). I'm going to propose that a cookie-based authentication system get built instead.

Open Graph?

Is there desire to add Open Graph meta properties to this project? Could be added just like the Twitter Card meta elements.

I have it working on my own install but don't want to push it on anyone if it's not desired.

Installation Never Works

Supposedly this "just works" on most common servers. As per list of top 25 builds of servers, I tested this on six of the top variants. All returned 500 internal server error. I followed the directions to the letter, and copied the files up include .htaccess.

There's not even a discussion of the language this is written in! Why so vague? I'd maybe understand if this was a simple rails app… but it does work at all, and gives no directions as far as what happens next.

I cannot be the only person getting errors like this.

Password Hashing

Working on a simple password hash within the new "config-settings.php".

Adding a new page

I'm just wondering how I can add a new page...

Right now I have a directory, login, that has an index.php in it. I want to be able to go to example.com/login and view that index.php.
But when I go to example.com/login I just get a 404 page; I think Dropplets is trying to read a post called login.

So how can I add a page?

"Check Custom" Stylesheet Bug

It seems that the new "Check Custom" function is setting "$stylesheet_dir" as "/template/custom/" regardless of their actually being a custom template.

Inability to use apostrophes during installation

I noticed last night as I installed a fresh copy of Dropplets that you can no longer use apostrophes in your site description or intro while filling in your information on the setup page. If you do, it'll return this error (on WAMP, anyways):

SCREAM: Error suppression ignored for
Parse error: syntax error, unexpected T_STRING in C:\wamp\www\dropplets\config\config-settings.php on line 7

Password Reset

There's currently no way to reset a user's password if they have forgotten it. Before the passwords were hashed this was easily remedied with a simple browse of config-settings.php, now if I forgot my password (understandable with a blog I don't update often) I need to go SHA a new password and edit the file.

I think having a means of resetting the password would be good, for example:

  • Click "I forgot my password!"
  • Generate random code, store it in a recovery file (bit like how we store settings at the moment.)
  • Sends email with random code to $blog_email in config-settings.php.
  • Clicking the link passes the code via $_GET, which is then checked against the recovery file.
  • If the code matches, the user is prompted for a new password.

Install Broken

Get the following errors after submitting install:

Notice: Undefined index: header_inject in .../dropplets/config/submit-settings.php on line 36

Notice: Undefined index: footer_inject in .../dropplets/config/submit-settings.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at .../dropplets/config/submit-settings.php:36) in .../dropplets/config/submit-settings.php on line 74

Using Chrome and PHP 5.4.4

Links not styled when outside `<p>` element (Simple template)

Links are not styled when they are outside <p> elements in the Simple template.
For example, when links are inside <li> elements.

Line 119 of templates/simple/style.css uses .post p a as a selector.

Changing that selector to .post a appears to fix this issue.

Caching of RSS Feeds

No need to always be regenerating them.

Ticketing it in Issues so that it‘s on the radar - I’ll probably hack on this myself.

Simple Online Editor

refering to this twitter by jakewillsmith

@dropplets Any plans for a simple online editor? I think that’d make me fully switch.

You could easily implement that by using Ace.js and Marked.js. Ace.js for the editing and marked.js for the compilation of markdown to html so that you can preview the lost live.

I'm using them both in my new project (which is in a really early alpha stage) and seems like they work quite well.

ps: I would have tried implementing this for you but I'm currently suffering from tendonitis in both wrists so I can't do much, sorry :(

nginx config?

Anyone that have dropplets working on a nginx server?

New Templates?

How would we like to handle new themes? I'm imagining that we don't want to include a ton of different theme options w/ the base Dropplets install, right?

I've got a new theme I'm cooking up (based on the chevron shape). Should I create a new repo for it?

Generate PHP files for posts, not HTML

Dropplets should generate PHP files for posts instead of HTML from post uploads. This way, we can include PHP variables and functions in our post files and they will be parsed when a post is viewed.

Ugly PHP Error for 404 Pages

minor issue but would be nice to see this handled more gracefully. If I go to mydroppletssite.com/posts, I get:

Warning: file(../posts/posts/.txt): failed to open stream: No such file or directory in /home/myusername/mydroppletssite.com/dropplets/index.php on line 189

Update Looks like this happens pretty much whenever a 404 page is displayed since it's trying to find the txt markdown file for that post (which doesn't exist)

Multiple Users

Implementing a system that allows multiple posters might be useful.

Thoughts?

Cached Home Page

The cached version is a nice thing but what about plain html, css and js at the frontpage as well? The only time PHP is needed is for inseting/generating new posts and for the rss.

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.