Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'm building some custom tools to work against a JIRA install, and the exposed SOAP API is great, except that none of the arguments are named.
For example, the prototype for getIssue is:
RemoteIssue getIssue (string in0, string in1);
All of the SOAP RPC methods follow this convention, so without documentation I'm pretty hardpressed to figure out what to pass on a lot of these.
Does anyone know of a definitive API documentation guide?
Found the javadoc:
http://docs.atlassian.com/software/jira/docs/api/rpc-jira-plugin/latest/index.html?com/atlassian/jira/rpc/soap/JiraSoapService.html
I've found that it's pretty simple to intuit what the parameters are supposed to be. Depending on how complicated you're going, you might be able to guess what you're supposed to pass.
There's one super important one though (this is Python with SOAPpy):
self.proxy = WSDL.Proxy( jiraUrl )
self.token = self.proxy.login(self.username, self.password)
...
issues = self.proxy.getIssuesFromFilter(self.token, args[0])
After getting the token from the login() method, you need to pass it in as a parameter to all of the other SOAP calls. After figuring that out, it's been pretty straightforward to figure out what the parameters should be (for example, getIssuesFromFilter should take the filterId as its other parameter)
See http://confluence.atlassian.com/display/JIRA/JIRA+RPC+Services for all JIRA RPC services
The javadoc link you found is the correct one. You should also know that not everything is exposed via the SOAP or RPC interfaces, but you can do just about anything using the REST interface. Unfortunately, the REST interface isn't well documented, but you can use an HTML traffic inspector tool (like Fiddler for IE) to grab the actual POST data sent to the server from the web interface and piece together the interface for the particular call you need. Not always the easiest way but it does work.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I release a bunch of tools for free, but recently I have began to sell an application, that has private research, and people have been able to get my source code, and one person publically released my entire source. I spent a lot of time on this program, just to have someone crack it, and release my entire source.
How can I go about protecting my program? I have tried HWID, but people are still able to crack it. I know I am limited by C#, but it the most convenient to use. I just need a way to protect my programs from people trying to do this.
You could have a look at the many obfuscation tools that are out there, for example these:
http://gapotchenko.com/eazfuscator.net
http://orangeheap.blogspot.nl
http://confuser.codeplex.com (succeeded by https://yck1509.github.io/ConfuserEx/ and then again by https://github.com/XenocodeRCE/neo-ConfuserEx)
http://ntoolbox.com)
Well, the problem with languages like C#/Java is that they are generally much easier to de-obfuscate. The way to secure this is generally to put this stuff into a webservice, but you said you couldn't really do that. What about porting specific non-trivial functions over to a language like C, and obfuscate that. Your C# program could then use reflection to make calls to this external/unmanaged dll. It would increase the difficulty for de-obfuscating, but the problem is that if someone wants it bad enough, they can figure it out as it is client-side.
It may be that legal action is the only real solution here, but this is not a site for legal advice, and I am not qualified to give it if it were.
Additionally, this could be a business decision. Consider Making your software open-source and post a donation link. I am also not qualified to give business advice, but this is worth considering. It may actually increase your revenue, not to mention the other benefits that come with releasing open-source software.
There's Dotfuscator (http://www.preemptive.com/products/dotfuscator/overview). But the best solution in some cases is to offer what you do as a web site (Software as a Service).
Consider this tool for example to convert VB to C#: http://converter.telerik.com/
Or this tool to format JSON: http://jsonformatter.curiousconcept.com/
This may or may not work for you. I don't know what the nature of the software you're trying to protect is.
No, your code needs to contain the information needed to decrypt itself, its an impossible problem to solve.
Your best solution is to put your intellectual property on a server in the cloud that only you have access to. Give your customers a unique login, audit their access to check for abuse, off load as much grunt work onto your customers machines, but keep your algorithms locked into the cloud.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
What is the best Perl module to be used in OO style to manage sending response to the client browser with headers, cookies, response codes, redirects. Should be standalone module not part of a framework, I use Moose and CGI::Simple only.
I know I can manually send headers and cookies but I want more control with easy interface.
print "Set-Cookie: $n=$v;$expires;path=/\n";
print "Content-type: text/html;charset=utf-8\n\n";
Interface should be like:
$response->set_header(...);
$response->set_cookie(...);
$response->set_code(404);
$response->redirect(url);
$response->content(...);
I searched cpan.org about response and http keywords but did not get helpful results.
You're probably looking for Plack, which most of the frameworks use to handle exactly that. Though you really should use a framework.
You may use the most common HTTP::Response.
This question is really opinion based. So IMO, youre looking for
the Poet - uses Plack::* and
Mason what is using Moose for processing, e.g. query params handling and so on...
If don't want Poet, you can use Mason without Poet directly with Plack, but you loosing an great config management, session handling a much more...
The interface inside of components are like you want, e.g:
$m->redirect("http://somesite.com", 302);
my $user_agent = $m->req->headers->header('User-Agent'); #access headers
$m->res->content_type('application/json'); #set header
$m->print(JSON::XS::encode_json($data));
and so on..
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I am trying to get the TR-069/CWMP protocol up and running. I have found an open source ACS server called openACS. My problem is the CPE, there does not seem to be any open source CPE implementations around. I have found a few projects but none are alive. I was wondering if anyone knows about any full CPE implementation? Also, Does anyone know how much work would be involved in implementing the protocol myself?
Thank you.
I had implemented a generic stand alone CWMP client in pure C before 5-6 years. It was a project for my University (there is a publication for that http://ieeexplore.ieee.org/Xplore/login.jsp?url=http%3A%2F%2Fieeexplore.ieee.org%2Fiel5%2F30%2F34592%2F01649657.pdf%3Farnumber%3D1649657&authDecision=-203)
Well, actually, if you read the paper you'll see that we propose there a methodology for creating (instantiating) CWMP clients through Java. You could use a java program to define the model of the CWMP client and create a configuration file which would be used by the generic CWMP client. After that you used some hooks to define what should be done on the Set or Get of each parameter of the model.
If I remember correctly, the CWMP client implemented most of the requirements of the TR-69 document and you could add its model (set and get parameters) easily without using the Java tools.
If you feel that it could help you and want to continue the CWMP client, I would gladly send to you (or upload somehere) the full source code. However I warn you - I don't remember anything about that project so I can't answer any questions !
Concerning the implementation time, it took me around 2-3 months. I had implemented my own HTTP server and SOAP parser / generator (using IXML for XML parsing). It wasn't anything fancy but it was working - it even supported SSL through OpenSSL !
Also, I've created a bitbucket repository containing the source code of the client: http://bitbucket.org/spapas/cwmpclient. I hope it's helpful - if it is, just add a reference to the original project
I recently developed GPLv2 TR-069 (cwmp) client called freecwmp. You can get it here:
http://www.freecwmp.org/
we developed a full complete open source called easycwmp. please visit http://www.easycwmp.org for more details and to download the source
It's not true that there is no actively developed CWMP client. freecwmp is under active development and it is GPLv2 licensed; it is already used in production. Main focus is on OpenWrt platform.
Also I have started doing server side ACS and CWMP proxy. More information can be found on the project web page: http://freeacs-ng.org/
The short answer is there are no fully implemented open source CPE implementations. There does not seem to be any open source implementations in progress either. Also, I believe there will be quite a lot of work involved in creating my own implementation.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
In a content management system, moderators have to approve changes to existing articles. Currently the system shows the old and the revised version of the text in plain text. It is a pain to find the actual differences.
In GoogleDocs, there is a 'Compare revisions' feature which highlights the differences between two documents.
If there a free component out there that does the same thing?
If not, would you write such a component in JavaScript or on the server side?
All the usual diff tools are desktop applications.
John Resig wrote one in JavaScript that looks interesting.
Here it is.
Try Pretty Diff tool. It is based upon jsdifflib, but is enhanced to highlight per character differences and rebuilt for speed. It also compares minified code to unminified code. It is entirely written in JavaScript and supports JavaScript, CSS, and XML/XHTML input.
http://prettydiff.com/
jsdifflib looks like an interesting javascript-based client side library. I would lean strongly toward a client-side implementation if it provided the features that you needed. Why tax your servers on presentation logic when you're already handing the client the data anyway?
The Diff, Match and Patch Library is available with an identical API in JavaScript, Java, C#, Python, and other languages. (It seems to have been and may still be the one used in Google Docs.)
There is an online demo of the HTML output of the diff'ing options.
Given the identical API available on both client- and server-side languages, it should be easier to make a switch between them should you decide you want to...
If you're working with PHP, you may find SimpleDIFF to be helpful.
Check out the JavaScript diff library wikEd diff. It is used on Wikipedia in the gadget wikEdDiff for exactly the asked purpose to compare revisions of articles. The free (public domain) library can detect and highlight block moves, works on the word/character level, and spits out a nicely formatted text with insertions, deletions, moved blocks, and their original positions marked up. See the online demo to play with settings.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I really like the interface for Yahoo Pipes (http://pipes.yahoo.com/pipes/) and would like to create a similar interface for a different problem. Are there any libraries that would allow me to create an interface with the same basic look and feel?
I especially like how the pipes behave and how they are not just straight lines.
Edit: The application would be web-based. I'm open to using Flash or Javascript.
WireIt is an open-source javascript library to create web wirable interfaces like Yahoo! Pipes for dataflow applications, visual programming languages or graphical modeling. Wireit uses the YUI library (2.6.0) for DOM and events manipulation, and excanvas for IE support of the canvas tag. It currently supports Firefox 1.5+, Safari 2.0+, IE 7.0, Opera 9+ and Chrome 0.2.x.
Try JSplumb.
The main structure is HTML/CSS, the connections can be SVG/Canvas/VML*
Great documentation very clean API and live demos
*Configurable or is automatically set by detecting browser's capabilities
From what I can see, Yahoo! is eating their own dogfood by building Pipes in YUI with the addition of the ultra-cool CANVAS tag and IE script file (which I didn't know existed until I did a little digging today) that drive the Visio-like wiring. If you haven't used YUI before you're going to need to do a good deal of learning before you can build something as robust as Pipes, but maybe someone has released examples on the YUI boards that will get you close to where you need to be.
All my information was found at the following sites:
YUIBlog
WebResourcesDepot
Developer.Mozilla.org
You didn't mention the platform you're developing for, but if it's to be placed on an interactive website, you'd probably save time by doing it in Flash. Check out how to make draggable objects first (Google helps you here), then it's easy to connect them with lines or curves any way you like.
Here's what I found on YUI's boards:
http://tech.groups.yahoo.com/group/ydn-javascript/message/30836
Doesn't seem like there's currently any open "wiring widget" libraries, but YUI does seem like a good start.