I'm developing mobile app that has to be able work with either 7 and 8 version protocols through raw json rpc requests.
And after few hours of searches I'm still curious, how to determine which version of OpenERP/Odoo server uses?
Any ideas or may be here exists some specific request to know server build info.
Thanks in advance.
Update
Thanks to #Mischievous 's answer. It gave me a point.
So, my solution is request like that your.server.url/web/webclient/version_info
Yes, you can find the server info from here. Take look at screen-shot.
Just click on the "About Odoo"
In 7 & 8 just import openerp and it is in openerp.release.version.
You may have to write something yourself that returns this though.
Related
It's my first post here: after hours of research on web I decided to ask here if someone have the answer.
-> I m working on a symfony app and I have just started using api platform and would like to know if it is possible (I guess so) to "intercept" post requests to process their content. I would like to be able to compare the contents of a table with the contents of the query. The final goal is to be able to authenticate devices if their activation code is in the table in question.
Hope this is understandable ...
Thank you in advance :)
Yes, it’s possible Api platform have some events and you can listen one of them see https://api-platform.com/docs/core/events/
In your case I will listen POST_DESERIALIZE
At the moment I am making an app. I am relatively new but have experience with a lot of different languages like PHP and SQL. My app needs to communicate with a server to post/retrieve data for everyone to see. People also need to be able to login and register. Right now I am using parse because it gives a lot of the requirements in an easy package but parse is retiring soon and I have no experience with setting up my own server.
I was thinking of making my own 'server' from an old computer but not use parse because it will no longer support push notification. Then of course the app needs to communicate with this server. I started looking online and found a lot of terms but not a real clear explanation on how to proceed. I need it to be able to communicate with iOS and Android. Furthermore I was wondering how to execute a script on the server itself. I want to do something with time, once someone uploads something it needs to disappear after 48 hours, but of course it also needs to do this even if the app isn't active on a smartphone
Can anyone tell me how I need to proceed, what to use and where i can find useful info.
My plan for now is creating my own server with something like MongoDB but then i still need something called a backend and different SDK's to communicate with the apps. Maybe its possible to install parse on my own server and add something so i can still use Push and run a script on the server itself.
All help would be very much App-reciated ;)!
The reason of a backend service or framework is to let developer focus on front end app development. Maybe you can check other options like firebase, meoter, or even leancloud. Don't be hurry jump to the decision to make your own backend.
Parse Server is already supporting Push Notifications. I think should keep using Parse. It will become the best framework for backend and API development in a short time. You can also use services like https://www.back4app.com that helps you in all process of configuration of your server.
Do you mean by create your own server running a personal derver pr you mean create your own back end application?
I am new to Windows 8 Store Apps, and have a requirement of getting OS version, but did not get any help or namespace.
System.Environment.OSVersion
is not available over here.
Can any one guide me on this
Duplicate. Check out the full thread for the answer though, because unless you're doing analytics on your user-base, you shouldn't need it.
I'm trying to write a Rails 3 application in which a server can push data to multiple clients in real time.
I've heard of Juggernaut, but I've also heard that it does not work with Rails 3. I tried APE (AJAX Push Engine), but I'm not having much luck with it.
I'm very new to Rails. I can't find many guides that involve real-time push, and Rails 3. I was looking for a free, easy (if possible) solution to this. If anyone could point me in the right direction, I'd greatly appreciate it.
Check out Faye: http://faye.jcoglan.com/ - I hear really good things about it.
if you're looking for a hosted solution, i've used Pusher http://pusher.com/ in the past, and loved it. i converted a site that used ajax polling over to pusher in about 30 minutes.
You can try juggernaut to do what you want.
The github repository : https://github.com/maccman/juggernaut
Example of application with juggernaut : https://github.com/maccman/holla
Enjoy :)
Have you looked into http://socket.io ? It powers the push functions behind Juggernaut, if I recall correctly.
There appears to be a library for Rails here: https://github.com/markjeee/Socket.IO-rack -- it says 2.3+, which I assume means 3 is ok (though I'm not a Ruby guy, so I wouldn't really know).
In keeping with the Pusher suggestion, there's RMSN - a drop in replacement I've written using NowJS.
https://github.com/leppert/RMSN
Starting with Rails 4, you could also use Entangled:
https://github.com/so-entangled/rails
It basically keeps all data between client and server in sync in real time through web sockets. It's easy to set up, so give it a try.
I'm working on an university project where I need to write a program that can access Firefox internal data & events to create stats about user actions. What I would like to have access to is:
have access to HTTP and HTML data
be able to listen to HTTP + HTML + Client side scripting events
I've already done a bit a research and found few interesting things (XPCom, Mozilla ActiveX, MozRepl, directly putting Javscript files into Firefox software folder...) but my concern is to start working on this project whilst having missed something and ending up using the wrong tool.
Can you provide me with the name of the tools you know with a brief description of what they do, and what their pros and cons are?
Hopefully with enough replies we'll be able to consolidate all the useful info given into 1 authoritative edit/post/comment on this matter.
Thanks.
I believe the best way to do so will be writing your own Firefox extension. This tutorial is the best one I found to get one started with extension developement.