Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encryption and support for drafts #51

Closed
wants to merge 10 commits into from
Closed

Encryption and support for drafts #51

wants to merge 10 commits into from

Conversation

BlackCodec
Copy link
Contributor

I have added encryption support in username.ini file and in login page.
I also added a draft support that work online and/or offline.
The drafts must be saved in draft folder.
I have edited the core for save all posts in draft folder and then check the datetime if is < of now() for move them to content.
Used Jquery for datetime picker.

BlackCodec.

Add encryption tag support on username.ini
Add preliminary support for drafts and auth with password encrypted in ini username file
Support for drafts partial
Added support for encryption in username ini file.
Added partial draft support
Must do:
- script that check for draft and move them to published if date time is ok
- implement date time picker in edit post
@danpros
Copy link
Owner

danpros commented Jun 5, 2014

That's great 👍

Today I will check it first 😄

@ncang
Copy link

ncang commented Jun 6, 2014

wow, I will try this draft feature, 👍 , seems to be very useful.

@BlackCodec
Copy link
Contributor Author

the draft concept is simple but not pure draft.
I will explain now...
Each post has a publish date obtained with datetime picker, for a draft this publish date can be set to next month so it is not published, but when the date is over the datetime chose on draft it become a post... for example:

  • make a draft that must be published 2014-06-10, today is 2014-06-05
  • the script check the files in draft and see that this must be published the 10 not today, bypass and so on
  • Tomorrow (2014-06-06) i modified my draft at 10:00 and select the datetime picket 2014-06-06 12:00
  • When the script recheck the draft folder if the current server time is after 2014-06-06 12:00:00 it simpli move the file from draft/username/blog/ to content/username/blog

The script was called everytime we go on homepage, and dont need the user to be logged in so if somebody at 2014-06-06 12:01 visit my home page the script start.

For force publish must be set a cron job to reload the home page from server control panel.

@BlackCodec
Copy link
Contributor Author

@danpros so what is the problem? I see a message that say this pull request contains merge conflicts, how to see what are this conflicts?

@danpros
Copy link
Owner

danpros commented Jun 20, 2014

@BlackCodec that's because I commits a few fixed and improvements 😄 please check the two latest commits.

@duckunix duckunix mentioned this pull request Jun 27, 2014
@BlackCodec BlackCodec closed this Aug 4, 2014
@duckunix
Copy link

Did the draft thing every make it in? I don't see it under the code, both the 2.2 release, or a fresh git clone...

Thanks!

d

@Kanti
Copy link
Collaborator

Kanti commented Oct 23, 2014

no drafts didn't make it in. =(
If you write a concept. I'll look over it and if it's good I will add it into HTMLy 2.3 =]

@Kanti Kanti mentioned this pull request Dec 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants