Giter Site home page Giter Site logo

Comments (7)

adamgibbins avatar adamgibbins commented on August 23, 2024

Basic authentication is already supported: https://github.com/theunraveler/taskwarrior-web/wiki/Additional-.taskrc-options

Is this insufficient for your needs?

from taskwarrior-web.

linuxcaffe avatar linuxcaffe commented on August 23, 2024

Wow, never saw that! How would it be used?
I don't think that task-web has any log-in-dialog code .. does it?
It's cool though, thanks for the pointers!

from taskwarrior-web.

adamgibbins avatar adamgibbins commented on August 23, 2024

http://www.sinatrarb.com/faq.html#auth

https://github.com/theunraveler/taskwarrior-web/blob/master/lib/taskwarrior-web/helpers.rb#L80-L84

from taskwarrior-web.

linuxcaffe avatar linuxcaffe commented on August 23, 2024

Wow again! There it is (right?) that's awesome, excellent github
line-hiighting!
I'll spend some more cycles trying to understanding that, thanks

On 12 May 2013 13:13, Adam Gibbins [email protected] wrote:

http://www.sinatrarb.com/faq.html#auth

https://github.com/theunraveler/taskwarrior-web/blob/master/lib/taskwarrior-web/helpers.rb#L80-L84


Reply to this email directly or view it on GitHubhttps://github.com//issues/38#issuecomment-17781310
.

from taskwarrior-web.

theunraveler avatar theunraveler commented on August 23, 2024

Basically, you set the task-web.user and task-web.passwd variables in your .taskrc file, and task-web will provide basic HTTP auth (using the default browser pop-up thing).

Thanks for fielding this, @adamgibbins.

from taskwarrior-web.

linuxcaffe avatar linuxcaffe commented on August 23, 2024

Yes, thanks Adam! That was totally helpful, I had overlooked the wiki.

I gem installed thin and erubis

and then edited .taskrc

task-web.user=djp
task-web.passwd=REDACTED
task-web.filter=status:pending scheduled.none: or scheduled.before:now
tag.not:test

and then

djp@tigger:~$ task-web
[2013-05-13 13:28:55 -0400] Starting 'taskwarrior-web'...
[2013-05-13 13:28:55 -0400] trying port 5678...
Couldn't get a file descriptor referring to the console

don't know what that means, but the default log-in thingy popped up and ate
my password, and all is well! I got no idea how to log-out.. but good for
now :)

ps. the more I look into task-web and sinatra and all that, the more amazed
and impressed I am! Nice work Jake!

On 13 May 2013 13:02, Jake Bell [email protected] wrote:

Basically, you set the task-web.user and task-web.passwd variables in
your .taskrc file, and task-web will provide basic HTTP auth (using the
default browser pop-up thing).

Thanks for fielding this, @adamgibbins https://github.com/adamgibbins.


Reply to this email directly or view it on GitHubhttps://github.com//issues/38#issuecomment-17825258
.

from taskwarrior-web.

theunraveler avatar theunraveler commented on August 23, 2024

Thanks :-)

from taskwarrior-web.

Related Issues (20)

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.