Displaying 14 results from an estimated 14 matches similar to: "Web services and login?"
2012 Aug 23
1
GotoIf redirection to label not working correctly
I run a hotdesking system based on the example from Asterisk: The Definitive Guide. Calls come into the [hotdesk] context, which verifies the phone has a logged in user and sends the call to users,${EXTEN},1 if there is a user logged in. The [users] context then includes several other contexts for internal/external call handling, as follows:
[users]
include => internal
include =>
2006 Nov 04
3
role based authorization question
I am using the the authorization recipe outlined in Rails Recipes.Is it
possible for one role, say ''admin'', to have access to every action on every
controller without explicitly having to create a Right for each?
I know this will not work as is, and to force it to do so would violate MVC,
but is there some other way to accomplish having something like this in a
controller:
2012 Apr 11
0
F5 SLB iRule - POP3 TLS Offload & Add Realm
Hey Guys,
I figured someone might have use of this at some point. I've created an
iRule for our F5 Load Balancer which performs the following tasks:
- Appends STLS to the POP3 Capability list (it does this blindly, so
expects the backend POP3 server to not return this)
- Watches for the STLS command and initiates SSL negotiation with the
client (leaves the connection to the
2007 Jan 04
8
Common setup code and naming specifications
Hello!
I have a lot of contexts for testing Rails controllers, that must do
something like ''session[:logged_in] = true'' in their setup. How can this
be refactored? In unit tests I would simply create a
LoggedInControllerTest base class, that all my functional tests would
derive from.
And another small question:
In my controller specifications I often have to decide whether to
2008 Apr 30
1
Avelsieve 1.9.7 and Dovecot/TLS
Hi,
i'm installing a new mail server for our faculty and want to use
the squirrelmail plugin 'avelsieve' (1.9.7). As documented on the
dovecot wiki there is a problem in the STARTTLS code and i
found a solution (that works for my installation):
i've traced the server output in 'get_response' and instead of
a script list i saw "IMPLEMENTATION". So i took a look
2013 Mar 12
0
Calls getting "stuck open"
I have a system running Asterisk 11.2.1 that has had a couple calls between internal extensions get "stuck open". I didn't catch the verbose log for the first one, since I generally don't verbosely log to file, but the second one shows that the call that got stuck was dialed, but the caller hung up before the called device answered.
This server is running a hotdesking
2006 Jan 29
6
tyro Ruby questin
Trying to print out a simple database grid, using, with column headers
such as ''SunToSatRoles'', ''PrimaryRoles'', etcetera.
Iterating through an object @List which is populated thusly
@list = mymodel.find(:all, :order => mymodel.editlist_order)
When I do something like
<table>
<% for i in @list %>
<tr>
<td><%= i.inspect
2020 Jan 26
0
Number of imap-login processes always keeps growing, never goes down
Hi all!
I've bumped into an issue which Dovecot which has me a bit stumped; All of a
sudden (ie. no obvious changes made to the config as far as I know) Dovecot
seems to never stop 'imap-login' processes. This continues to the point where
it will hit the 'process_limit'. For a 50-ish user install the limit was set to
100 but I increased it to 512. The only thing this changes
2005 Jan 13
10
Program logic behind Ruby On Rails
Hi, I''m a newbie in both Ruby and Ruby on Rails. I finished the Ruby on
Rail Tutorial on Todo list and it was great. But, now I''m trying to
understand the logic behind it, that is something that is not obvious on
how each one of them ties together.
Is there a flowchart that shows how the inner working of Ruby on Rails?
In another words, let''s suppose we consider the
2003 Oct 20
16
A software FAX modem
Hi all,
I would like to announce the availability of an initial test version of
a totally software FAX facility, suitable for use with Asterisk. This is
a first public test release, so don't expect a solid polished product
just yet. People have shown interest in what I am doing, and here is the
evidence that it is not vapourware.
If the notion of a software FAX machine is new to you,
2008 Dec 16
20
step definitons to check login
I am working with the authlogic gem and trying to create a simple login
test from cucumber features. The feature statement is:
Given the user is not logged in
The step definition for this is confounding me. In the
application_controller the authlogic tutorial recommends the following:
private
def require_user
unless current_user
store_location
flash[:notice] =
2009 Jul 21
1
synatx error while running migration
hello to all,
i am getting weird syntax error while running the rake db:migrate
syntax error, unexpected tSYMBEG, expecting kDO or ''{'' or ''(''
Apparently i am creating an engine in my main application using
''ruby script/generate plugin'' command in rails 2.3.0 with engine having
its own separate database define in database.yml of main
2009 Nov 04
0
The error occurred while evaluating nil.prefetch_primary_key
The error occurred while evaluating nil.prefetch_primary_key?
Hi,
I have a problem with a model when I have 3 belongs_to relations in one
the middle.
This example is a subset of a grid-routing project:
n 1
1 n +------------ Project
Connection ------- ConnectionCost
+------------ WaySearchRun
2001 Nov 28
2
Problem with printer driver sharing Win2k klients.
Hi...
I got this new server at work that I have to get 100% up and running by
tomorrow.
It's running Samba 2.2.1a on SuSE 7.3 Pro
It's supposed to be VPN - File and Printer Server
The printers are:
One OCE 700C / CS90 color copier and One OCE 3165
And there is only one problem left.
I can install the printer drivers for Win9x & NT on the samba server.
But I can't figure out how to