if you have not yet installed it.
--
--
Tom Lahti
BIT Statement LLC
(425)251-0833 x 117
http://www.bitstatement.net/
--
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt
/bin/rt comment ticket/123 -a /some/dir/file.txt
--
Tom Lahti
BIT Statement LLC
http://www.bitstatement.net/
--
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
I am pleased and excited to announce that I've been approved by ownership to
open source my ruby library for accessing the REST interface to RT.
I will release the code tomorrow when I get to the office. It will include the
XML-RPC service as well.
--
--
Tom
?
For your solution you have to be on the RT system to use rt CLI, which isn't
necessarily always desirable. If we actually used external auth here, I'm
sure I would have submitted a patch by now. :)
--
--
Tom Lahti
BIT Statement LLC
(425)251-0833 x 117
http
://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
--
--
Tom
support for modern Web 2.0 features.
My big question here should be obvious: will RT 4.0 maintain the exact same
/REST/1.0/ API as RT 3.x?
Secondarily, will it expose additional web services beyond that? /REST/2.0/
perhaps?
--
--
Tom Lahti
BIT Statement LLC
the database, use the shredder in the
web interface.
--
--
Tom Lahti
BIT Statement LLC
(425)251-0833 x 117
http://www.bitstatement.net/
--
___
http://lists.bestpractical.com/cgi-bin/mailman
(if you've been silly enough to edit that)?
--
--
Tom Lahti
BIT Statement LLC
(425)251-0833 x 117
http://www.bitstatement.net/
--
___
http://lists.bestpractical.com/cgi-bin/mailman
in the scrip.
I don't write many scrips so others can provide more details if you need them.
--
--
Tom Lahti
BIT Statement LLC
(425)251-0833 x 117
http://www.bitstatement.net
Ken Crocker wrote:
Rudiger,
I'm not sure what you mean when you refer to SCRUM.
http://en.wikipedia.org/wiki/Scrum_(development)
P.S. I hate scrum :/
--
--
Tom Lahti
BIT Statement LLC
(425)251-0833 x 117
http://www.bitstatement.net
actually plan to use this from a classic ASP web
site; I really don't want to write a RT::Client::REST equivalent in ASP.
The thought makes me nauseous.
--
--
Tom Lahti
BIT Statement LLC
(425)251-0833 x 117
http://www.bitstatement.net
Drew Barnes wrote:
On mine I have max_allowed_packet=16M
It is probably overkill, but I got sick of trying to figure out exactly
how big I needed to make it without losing attachments.
I also have max_allowed_packet = 16M. Works fine for us.
--
--
Tom
).
--
--
Tom Lahti
BIT Statement LLC
(425)251-0833 x 117
http://www.bitstatement.net/
--
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial
open sourced? It
might provide some leverage to get it released if we know if there are
others out there who will use it and possibly provide patches / feature
enhancements.
--
--
Tom Lahti
BIT Statement LLC
(425)251-0833 x 117
http://www.bitstatement.net
of it.
--
--
Tom Lahti
BIT Statement LLC
(425)251-0833 x 117
http://www.bitstatement.net/
--
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Mchugh, Sean wrote:
I'm looking for a quick and easy template that can add a variety of
attachments to an email response.
The purpose is to email customers legal forms and documents that need to be
filled out as part of particular requests before the request can be worked
on.
Anyone done
.
What have others done to deal with this?
perl -MCPAN -e install DBD::Mysql
Perhaps?
--
--
Tom Lahti
BIT Statement LLC
(425)251-0833 x 117
http://www.bitstatement.net/
--
___
http
.
--
--
Tom Lahti
BIT Statement LLC
(425)251-0833 x 117
http://www.bitstatement.net/
--
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
it.
And please don't top post :)
--
--
Tom Lahti
BIT Statement LLC
(425)251-0833 x 117
http://www.bitstatement.net/
--
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
for you. You
then need to do:
mysql -u root -p rt3 sql.queries
To actually run the SQL queries to upgrade your database.
--
--
Tom Lahti
BIT Statement LLC
(425)251-0833 x 117
http://www.bitstatement.net
--action $y --datadir $x \
--dba rt_user --dba-password [password]; \
done;\
done;
More. In particular, steps 4, 5 and 6 in UPGRADING.mysql.
--
--
Tom Lahti
BIT Statement LLC
(425)251-0833 x 117
http://www.bitstatement.net
, RT and
wifty (the wiki application based on jitfy that is running the RT wiki) are
written in perl.
--
--
Tom Lahti
BIT Statement LLC
(425)251-0833 x 117
http://www.bitstatement.net
. But it would be
nice to simply have a button in the web interface that does email this
ticket history to watchers or some such. Other ticket systems I've used
had that, so I was bit surprised to find that RT did not.
--
--
Tom Lahti
BIT Statement LLC
(425)251-0833 x
the REST interface instead. If using perl, see RT::Client::REST on
CPAN. For ruby... wait another week and a gem will be available.
--
--
Tom Lahti
BIT Statement LLC
(425)251-0833 x 117
http://www.bitstatement.net
Well, I can tell you off the top of my head that what you POST is XML, but
the contents of that XML are not what you would think.
Nope, it's a regular form-encoded post. There's no XML anywhere.
Ah, I was right the first time. It's been about 2 weeks since I was at the HTTP
level with my
,data)
# edit a user. For a full field list see /opt/rt/bin/rt edit -t user 1
data = login + content=id: user/toml\nDisabled: 1\nPassword: newpass\n
resp, data = http.post('/REST/1.0/user/toml/edit',data,headers)
rest_dump(resp,data)
--
--
Tom Lahti
BIT Statement
, you'd
use the object id user/new. The rest of the form would be like:
id: user/new
Name: Some Name
EmailAddress: s...@name.com
Organization: Some Corp
Password: blahblah
Comments: This is a comment.
and so on.
--
--
Tom Lahti
BIT Statement LLC
(425)251
want to code
to XML for some reason.
But if you are coding in perl, just use RT::Client::REST from CPAN. If you
are coding in ruby, wait a week or two and I'll be open sourcing a gem. If
you are coding in something else -- write your own. ;)
--
--
Tom Lahti
.
--
--
Tom Lahti
BIT Statement LLC
(425)251-0833 x 117
http://www.bitstatement.net/
--
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http
.
Doesn't the shredder make a SQL dump? You could shred it, edit the SQL
dump, and then reload it to the db. Just an idea.
Also note that Mr. Vincent said not to use the patch as its broken (in case
you missed that mail).
--
--
Tom Lahti
BIT Statement LLC
(425)251
)
--
--
Tom Lahti
BIT Statement LLC
(425)251-0833 x 117
http://www.bitstatement.net/
--
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http
Changing the a_sessions table from longtext to longblob fixed it.
Shouldn't the upgrade scripts for rt-setup-database --action upgrade take
care of this? Seems weird that it doesn't.
--
--
Tom Lahti
BIT Statement LLC
(425)251-0833 x 117
http
for when we upgrade.
--
--
Tom Lahti
BIT Statement LLC
(425)251-0833 x 117
http://www.bitstatement.net/
--
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community
Tom Lahti wrote:
In the REST interface, if you make a request like:
I may have stumbled into a different problem here. I recently (well, 2
weeks ago) upgraded from 3.8.0 to 3.8.2 and now all non-text attachments do
not open properly. I created a new test ticket with a new attachment
Bat[tm] now. Now the question is, did that fix my REST interface weirdness
as well.. probably. It's late so I'll work on that tomorrow.
--
--
Tom Lahti
BIT Statement LLC
(425)251-0833 x 117
http://www.bitstatement.net
, if you want to convert from UTF-16, you have to
specify it as the from code. As far as I know. But it does work if you do.
--
--
Tom Lahti
BIT Statement LLC
(425)251-0833 x 117
http://www.bitstatement.net
Todd and I got further into it. We're using Encode::Guess, which should
handle this. Todd had some promising places to dig for a bug.
Curious: does Encode::Guess handle UTF-16(LE|BE) without a byte order mark?
That would be ... fascinating.
--
--
Tom Lahti
in the first place.
--
Tom Lahti
BIT Statement LLC
http://www.bitstatement.net/
--
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http
be questioned. I suppose its likely that
if you are using, say, classic ASP, that XML-RPC access to RT::Client::REST
might be a far shade easier to code than re-writing RT::Client::REST in ASP.
If I can get permission to open source my ruby class, I will.
--
Tom
, nuke the back-end InnoDB files and reload from dump. But that's
just me.
--
--
Tom Lahti
BIT Statement LLC
(425)251-0833 x 117
http://www.bitstatement.net/
--
___
http
only be if RT does large ranges on primary keys or full table
scans (naughty!). Otherwise, I'd ignore it.
--
--
Tom Lahti
BIT Statement LLC
(425)251-0833 x 117
http://www.bitstatement.net
into this?
--
--
Tom Lahti
BIT Statement LLC
(425)251-0833 x 117
http://www.bitstatement.net/
--
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Tom Lahti wrote:
I am working on some code in ruby that accesses the REST interface.
I've re-written the whole thing using the rest_client ruby gem, and
essentially the same results, but I get more info out of what's going on:
# ./resttest2.rb
- Request headers
{User-Agent
area named content and then
requiring formatting within that one field. Why not have the REST interface
have discrete fields? Coding to it would be certainly be cleaner. Maybe
for /REST/2.0/ ? :)
--
--
Tom Lahti
BIT Statement LLC
(425)251-0833 x 117
101 - 144 of 144 matches
Mail list logo