Comments (7)
Basic authentication is already supported: https://github.com/theunraveler/taskwarrior-web/wiki/Additional-.taskrc-options
Is this insufficient for your needs?
from taskwarrior-web.
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.
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.
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.
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.
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.
Thanks :-)
from taskwarrior-web.
Related Issues (20)
- Sort projects by name in the project view
- project names with dot - tree structure navigation HOT 1
- NoMethodError at / undefined method `length' for nil:NilClass HOT 4
- Run taskwarrior-web as a Franz recipe
- Mark tasks as done in Projects or "Edit Task" views HOT 2
- Support for taskwarrior contexts HOT 1
- Impove the authentication process
- install instructions incorrect for macos HOT 1
- Show annotations in project view
- Does not start within docker HOT 1
- task-web does not work in macOS Catalina 10.15.4 HOT 1
- Format annotations as Markdown
- Edit should allow setting hours
- Add "how to turn off" to the readme.md
- task-web displays only one project (and not all) in macOS Big Sur 11.1 HOT 1
- Launch fails with "undefined method `new' for BigDecimal:Class" HOT 5
- JSON::ParserError at /tasks/pending ---- A JSON text must at least contain two octets! HOT 2
- Add support for `task sync`
- JSON::ParserError at /tasks/pending 859: unexpected token at '' file: common.rb location: parse line: 216
- task-web won't start with newest ruby version HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from taskwarrior-web.