Giter Site home page Giter Site logo

vteams / open-source-billing Goto Github PK

View Code? Open in Web Editor NEW
716.0 716.0 399.0 9.78 MB

Open Source Billing a super simple way to create and send invoices and receive payments online.

Home Page: http://opensourcebilling.org

License: GNU General Public License v3.0

Ruby 32.81% CoffeeScript 5.78% JavaScript 16.71% CSS 0.04% HTML 35.19% Dockerfile 0.07% Shell 0.38% SCSS 9.00% Slim 0.02%

open-source-billing's People

Contributors

f168122hamzanxb avatar imranmalik avatar marcelobarreto avatar mollat avatar muneebsarfraz94 avatar musamamasood avatar nauman-nxvt avatar nmenag avatar razahussian avatar rohitsiddha avatar saimran avatar sarwan-nxb avatar shahroon avatar shahroz-ashraf avatar shahzad-ncf avatar sohaib-osb avatar suneelkumar91 avatar tabish-saleem-nxb avatar umair-munir avatar yuri-val avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

open-source-billing's Issues

[multi currency support] Expenses

First of all i would like to thank you for the hard work put into this project.

I'm very impressed with the current feature set. Thank you.

Can you please integrate multi currency for the expenses form?

Industry add request

The industry list is a pretty good list, but at some point it would be nice to get these added:

  1. Entertainment
  2. Gaming (not gambling)
  3. Gambling, might be a good one too

Deprecated Modules ?!

I got this message after I've finished bundle install:

Your bundle is complete!
It was installed into ./vendor/bundle
Post-install message from bcrypt-ruby:

The bcrypt-ruby gem has changed its name to just bcrypt. Instead of
installing bcrypt-ruby, you should install bcrypt. Please update your
dependencies accordingly.

Post-install message from hashie_rails:
! The 'hashie_rails' gem has been deprecated and has been replaced by 'hashie-forbidden_attributes'.
! See: https://rubygems.org/gems/hashie-forbidden_attributes
! And: https://github.com/Maxim-Filimonov/hashie-hashie-forbidden_attributes
Post-install message from money:
Please note the following API changes in Money version 6

  • Money#amount, Money#dollars methods now return instances of BigDecimal (rather than Float).

Please read the migration notes at https://github.com/RubyMoney/money#migration-notes
and choose the migration that best suits your application.

Test responsibly :-)
Post-install message from twitter-bootstrap-rails:
Important: You may need to add a javascript runtime to your Gemfile in order for bootstrap's LESS files to compile to CSS.

Maybe this helps for the future development.
I use ruby 2.2

Ruby 1.9.2 - excuse me, what?!

Hi,

I have to say I'm a little surprised to see ruby 1.9.2 stated as requirement when you list stuff like Zapata and other gems in your gemfile that clearly require ruby >= 2.

Am I missing something entirely or how could this mismatch happen?

Invoice payment terms

I can't find where to edit or modify existing payment terms for invoices. I can see in the pulldown how to create them, but I can't find a section of the site as to where they are stored to edit them and such.

[Feature Request] Basic Inventory Control

I really appreciate your efforts to build such wonderful application and made it open source for free.

Will it be possible for you to include feature such as Inventory Management closely integrated with existing Invoicing/Accounting?

Thank you

Installation errors

rake db:create

...fails because config/database.yml doesn't exist. If you copy the default, then the production database is not created.

cp config/database.yml.backup config/database.yml
...
RAILS_ENV=production bundle exec rake assets:precompile
  rake aborted!
  Unknown database 'osb_production'

rake db:create failure: can't activate mysql2 | already activated

Hi, Thanks for a GREAT product.
Does anyone have any advice on what is causing the following to fail?
I prefer to install into mysql.
I have copied the ./config/database.yml.backup into ./config/database.yml
I included my root password.
then I run rake db:create

I have mysql, as well as PostgreSQL installed.
I am on Ubuntu 14.04 with ruby 2.2.3 installed through rbenv/ruby-build

rake aborted! Gem::LoadError: Specified 'mysql2' for database adapter, but the gem is not loaded. Addgem 'mysql2'` to your Gemfile (and ensure its version is at the minimum required by ActiveRecord).

Gem::LoadError: can't activate mysql2 (~> 0.3.13), already activated mysql2-0.4.2. Make sure all dependencies are added to Gemfile.

Tasks: TOP => db:create
`

Thank you for your time.

Need the data validations

Need the data validations.

Add data validations while creating the new entries for item, payments,taxes, clients, etc

installation problem

Amazing work on Open Source billing. I just loved it by looking at the demo
It is about to save a lot of money for my startup.

While installing I am facing following problems :

I clone'd the repo and while doing bundle install it gives following error :

Gem files will remain installed in /var/lib/gems/1.9.1/gems/mysql-2.9.1 for inspection.
Results logged to /var/lib/gems/1.9.1/gems/mysql-2.9.1/ext/mysql_api/gem_make.out
An error occurred while installing mysql (2.9.1), and Bundler cannot continue.
Make sure that gem install mysql -v '2.9.1' succeeds before bundling.

I have mysql-server installed on my system.

system conf :
Linux myhost 3.13.0-46-generic #75-Ubuntu SMP Tue Feb 10 15:24:04 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS"
NAME="Ubuntu"
VERSION="14.04.2 LTS, Trusty Tahr"

can you help me solve this ?
or if you can send list of bash commands to be executed on plain ubuntu server from scratch then it would be best.

thanks.

Serialization method options

I would like it if we could have more control over invoice serialization. I would like to have it based on year/month, so it's year + mo + serial in that month.

This would help keep track of when the invoice was relevant to, and improve perception for new businesses too.

Select Currency

Hi there!!!
I'm having trouble when i click on the send invoice/save as draft; it says to select currency at the URL bar. Kindly look into it.
Thanks!!!

Managing Email Templates

Is there a better way to manage the Email Templates?
When I make a change to email templates, it creates a new template. But there is no way of deleting the other old templates.

list of gem dependencies ...

Hi,

I am a packager at openSUSE and curious if it is possible to have a list of dependencies of OSB gem packages ... cause I do not want to have 'devel' packages on a productive System, cause this is 'kronk'.

I plan to provide a RPM package to install where you just need to do the 'rake db:create' ... or migrate

BTW:

WARNING: Please be aware that you just installed a ruby that is no longer maintained (2016-02-24), for a list of maintained rubies visit:

    http://bugs.ruby-lang.org/projects/ruby/wiki/ReleaseEngineering

Please consider upgrading to ruby-2.3.0 which will have all of the latest security patches.

RBASIC(result)->klass = ... breaks on Ruby2.2

Here is the error-message:

/usr/bin/ruby2.2 -r ./siteconf20150525-22431-1hkf7n3.rb extconf.rb
creating Makefile

make "DESTDIR=" clean

make "DESTDIR="
compiling buffer.c
compiling houdini_uri_u.c
compiling escape_utils.c
In file included from /usr/include/ruby-2.2.0/ruby.h:33:0,
from escape_utils.c:6:
escape_utils.c: In function ‘rb_eu_escape_html_as_html_safe’:
/usr/include/ruby-2.2.0/ruby/ruby.h:1082:30: error: assignment of read-only member ‘klass’
#define RBASIC(obj) (R_CAST(RBasic)(obj))
^
/usr/include/ruby-2.2.0/ruby/ruby.h:1081:30: note: in definition of macro ‘R_CAST’
#define R_CAST(st) (struct st_)
^
escape_utils.c:126:2: note: in expansion of macro ‘RBASIC’
RBASIC(result)->klass = rb_html_safe_string_class;
^
make: *_* [escape_utils.o] Fehler 1

make failed, exit code 2

What can I do to fix this?

How to install on hostgator server?

I have 2 options:
1, Ruby Gem Installer
2, Manage Your Ruby on Rails Applications

Under Options 1:
Use Your Modules
Rails version 3.0 is not currently supported and can cause a broken Ruby on Rails environment.
Add “/home4/user/ruby/gems” to the include path.
$:.push("/home4/user/ruby/gems")

Find a Module _________ Search
show available modules>https://rubygems.org/gems/-
Install a Module ______________ install Now

??? Can you please let me know. where to place that downloaded >uploaded >extracted files and folders

How to Link? is it called as ruby module(gem) ?

Sort order of Client list pulldown in New Invoice form

When using the New Invoice or New Recurring Profile forms, the available clients are listed in a pulldown select field. This field sorting is undefined but it would be much better to have the underlying query sort on Client name to make locating a client easier when dealing with a larger number of clients. I assume this is a simple fix to the client model...please advise how this can be achieved

cannot load such file -- regin/parser

Hello,

I'm really new to Ruby (on Rails) but very interested in deploying OSB.
I've setup a RoR droplet at Digital Ocean, it is using Unicorn (+nginx)

It is pretty hard to figure out how to deploy OSB as I couldn't find any documentation except for the README.md on GitHub. But after some experimentation I achieved to have Unicorn launching without throwing errors, here is what is in /home/unicorn/log/unicorn.log:

I, [2015-05-26T02:00:57.925876 #16744]  INFO -- : listening on addr=127.0.0.1:8080 fd=10
I, [2015-05-26T02:00:57.926295 #16744]  INFO -- : worker=0 spawning...
I, [2015-05-26T02:00:57.927005 #16744]  INFO -- : master process ready
I, [2015-05-26T02:00:57.936003 #16747]  INFO -- : worker=0 spawned pid=16747
I, [2015-05-26T02:00:57.946400 #16747]  INFO -- : Refreshing Gem list
I, [2015-05-26T02:01:01.479268 #16747]  INFO -- : worker=0 ready

Unfortunately, whenever I try to access the web interface, the following error is logged in the log/production.log file:

Started GET "/" for xxx.xxx.xxx.xxx at 2015-05-26 02:01:13 +0000

LoadError (cannot load such file -- regin/parser):
  rack-mount (0.8.3) lib/rack/mount/utils.rb:157:in `rescue in parse_regexp'
  rack-mount (0.8.3) lib/rack/mount/utils.rb:129:in `parse_regexp'
  rack-mount (0.8.3) lib/rack/mount/generatable_regexp.rb:65:in `block in segments'
  rack-mount (0.8.3) lib/rack/mount/generatable_regexp.rb:64:in `catch'
  rack-mount (0.8.3) lib/rack/mount/generatable_regexp.rb:64:in `segments'
  rack-mount (0.8.3) lib/rack/mount/generatable_regexp.rb:32:in `extended'
  rack-mount (0.8.3) lib/rack/mount/route.rb:47:in `extend'
  rack-mount (0.8.3) lib/rack/mount/route.rb:47:in `block in initialize'
  rack-mount (0.8.3) lib/rack/mount/route.rb:39:in `each'
  rack-mount (0.8.3) lib/rack/mount/route.rb:39:in `initialize'
  rack-mount (0.8.3) lib/rack/mount/route_set.rb:68:in `new'
  rack-mount (0.8.3) lib/rack/mount/route_set.rb:68:in `add_route'
  grape (0.9.0) lib/grape/endpoint.rb:96:in `block (2 levels) in mount_in'
  grape (0.9.0) lib/grape/endpoint.rb:95:in `each'
  grape (0.9.0) lib/grape/endpoint.rb:95:in `block in mount_in'
  grape (0.9.0) lib/grape/endpoint.rb:90:in `each'
  grape (0.9.0) lib/grape/endpoint.rb:90:in `mount_in'
  grape (0.9.0) lib/grape/endpoint.rb:88:in `block in mount_in'
  grape (0.9.0) lib/grape/endpoint.rb:88:in `each'
  grape (0.9.0) lib/grape/endpoint.rb:88:in `mount_in'
  grape (0.9.0) lib/grape/api.rb:122:in `block in initialize'
  grape (0.9.0) lib/grape/api.rb:121:in `each'
  grape (0.9.0) lib/grape/api.rb:121:in `initialize'
  grape (0.9.0) lib/grape/api.rb:30:in `new'
  grape (0.9.0) lib/grape/api.rb:30:in `compile'
  grape (0.9.0) lib/grape/api.rb:38:in `block in call'
  grape (0.9.0) lib/grape/api.rb:38:in `synchronize'
  grape (0.9.0) lib/grape/api.rb:38:in `call'
  actionpack (4.1.8) lib/action_dispatch/journey/router.rb:73:in `block in call'
  actionpack (4.1.8) lib/action_dispatch/journey/router.rb:59:in `each'
  actionpack (4.1.8) lib/action_dispatch/journey/router.rb:59:in `call'
  actionpack (4.1.8) lib/action_dispatch/routing/route_set.rb:678:in `call'
  warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
  warden (1.2.3) lib/warden/manager.rb:34:in `catch'
  warden (1.2.3) lib/warden/manager.rb:34:in `call'
  rack (1.5.2) lib/rack/etag.rb:23:in `call'
  rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
  rack (1.5.2) lib/rack/head.rb:11:in `call'
  actionpack (4.1.8) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
  actionpack (4.1.8) lib/action_dispatch/middleware/flash.rb:254:in `call'
  rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
  rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
  actionpack (4.1.8) lib/action_dispatch/middleware/cookies.rb:560:in `call'
  activerecord (4.1.8) lib/active_record/query_cache.rb:36:in `call'
  activerecord (4.1.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
  actionpack (4.1.8) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
  activesupport (4.1.8) lib/active_support/callbacks.rb:82:in `run_callbacks'
  actionpack (4.1.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
  actionpack (4.1.8) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
  actionpack (4.1.8) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
  actionpack (4.1.8) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
  railties (4.1.8) lib/rails/rack/logger.rb:38:in `call_app'
  railties (4.1.8) lib/rails/rack/logger.rb:20:in `block in call'
  activesupport (4.1.8) lib/active_support/tagged_logging.rb:68:in `block in tagged'
  activesupport (4.1.8) lib/active_support/tagged_logging.rb:26:in `tagged'
  activesupport (4.1.8) lib/active_support/tagged_logging.rb:68:in `tagged'
  railties (4.1.8) lib/rails/rack/logger.rb:20:in `call'
  request_store (1.1.0) lib/request_store/middleware.rb:8:in `call'
  actionpack (4.1.8) lib/action_dispatch/middleware/request_id.rb:21:in `call'
  rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
  rack (1.5.2) lib/rack/runtime.rb:17:in `call'
  activesupport (4.1.8) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
  rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
  rack-cors (0.3.1) lib/rack/cors.rb:72:in `call'
  railties (4.1.8) lib/rails/engine.rb:514:in `call'
  railties (4.1.8) lib/rails/application.rb:144:in `call'
  railties (4.1.8) lib/rails/railtie.rb:194:in `public_send'
  railties (4.1.8) lib/rails/railtie.rb:194:in `method_missing'
  unicorn (4.8.3) lib/unicorn/http_server.rb:576:in `process_client'
  unicorn (4.8.3) lib/unicorn/http_server.rb:670:in `worker_loop'
  unicorn (4.8.3) lib/unicorn/http_server.rb:525:in `spawn_missing_workers'
  unicorn (4.8.3) lib/unicorn/http_server.rb:140:in `start'
  unicorn (4.8.3) bin/unicorn:126:in `<top (required)>'
  /usr/local/rvm/gems/ruby-2.1.3/bin/unicorn:23:in `load'
  /usr/local/rvm/gems/ruby-2.1.3/bin/unicorn:23:in `<main>'
  /usr/local/rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `eval'
  /usr/local/rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `<main>'

I'm using RVM, and have tried many things to figure out what prevents the rack-mount code to correctly load the parser.rb file that effectively exists under /usr/local/rvm/gems/ruby-2.1.3/gems/rack-mount-0.8.3/lib/rack/mount/vendor/regin, but never succeeded.

My gem env is:

RubyGems Environment:
  - RUBYGEMS VERSION: 2.2.2
  - RUBY VERSION: 2.1.3 (2014-09-19 patchlevel 242) [x86_64-linux]
  - INSTALLATION DIRECTORY: /usr/local/rvm/gems/ruby-2.1.3
  - RUBY EXECUTABLE: /usr/local/rvm/rubies/ruby-2.1.3/bin/ruby
  - EXECUTABLE DIRECTORY: /usr/local/rvm/gems/ruby-2.1.3/bin
  - SPEC CACHE DIRECTORY: /root/.gem/specs
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-linux
  - GEM PATHS:
     - /usr/local/rvm/gems/ruby-2.1.3
     - /usr/local/rvm/gems/ruby-2.1.3@global
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - https://rubygems.org/
  - SHELL PATH:
     - /usr/local/rvm/gems/ruby-2.1.3/bin
     - /usr/local/rvm/gems/ruby-2.1.3@global/bin
     - /usr/local/rvm/rubies/ruby-2.1.3/bin
     - /usr/local/sbin
     - /usr/local/bin
     - /usr/sbin
     - /usr/bin
     - /sbin
     - /bin
     - /usr/games
     - /usr/local/games
     - /usr/local/rvm/bin
     - /usr/local/rvm/bin

Any help would be greatly appreciated, thanks in advance

Installation documentation needs updating

I just spent about a day and a half trying to get OSB setup in a VM. I understand that vteams offers a paid service to install the software, but the documentation for installation is grossly inaccurate.

I'm not trying to steal business from vteams here, because I support the FOSS business model, but the documentation seriously needs to be updated, and I'm not even sure if my recommendations below are the most accurate advice, but it worked for me.

Firstly, it needs to be updated to be tested against Ubuntu 16.04. I had thought my first problem was because I was using 16.04, but it wasn't. I have it working in 16.04 with the same steps (with my outlined modifications).

Secondly, the instructions are broken in multiple areas, even when using 14.04. I'm going to outline what I remember of the steps I took to get a workable environment.

  1. Some of the build steps require cmake, so "apt-get install cmake" is something I had to do at some point early.
  2. I had to use ruby 2.1.8 as a bunch of the packages would not work with any lower version of ruby.
  3. I had to manually configure the Gemlist to set mysql2 gem to '0.3.20' and make sure that version was setup. Not doing this prevented me from doing db:create and other steps at that point.
  4. I had to copy the config.yml into place BEFORE I could complete "rake db:migrate" (this step is mentioned later in the documentation, but I had to do it earlier to actually make progress).
  5. I may have to do db:migrate and db: seed a few times, but that might be because of #4, and a change of operations might improve this.
  6. In the config/environments/ folder, I had to copy the files into .rb extensions so that the db functions would stop complaining. I assume this is something required, but IS DOCUMENTED NOWHERE THAT I COULD FIND.

I had to spend a lot of time on this just to get it working, installation documentation really needs to be tested more frequently than this.

Production-DB was not created during installprocess

I have installed OSB. The production-logs tell me that there is no Database.
I have set the database-servers in database.yml all to the same host (localhost) with same Password.

Even If I run:

rake db:create db:migrate

I got only the message for development and test:
osb_development already exists
osb_test already exists

/var/www/open-source-billing/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/action_dispatch/http/mime_type.rb:163: warning: already initialized constant Mime::PDF
/var/www/open-source-billing/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.8/lib/action_dispatch/http/mime_type.rb:163: warning: previous definition of PDF was here

How do I add a new language.

Hi,

I have created a new file for Norwegian language no.yml (or maybe nb-NO.yml) and added it to config/locales.

Which files do I need to edit to make this work?

Change of currency

Is it possible to change the considered currency in the system from USD to something else?

Thank you for all your work on this.

Email not sending

Despite the message: Invoice sent successfully., no negotiation with the mail server takes place.
My mail server only accepts connections over SSL

  smtp_setting:
     address: 'domain.com'
     port: 587
     authentication: :plain,
     enable_starttls_auto: true,
     user_name: '[email protected]',
     password: '123456789'

I have also tried adding but it makes no difference:

     ssl: true
     authentication: :login,

In fact no matter what settings I use, the system always reports the invoice was sent but it isn't.

How can I debug this or at least see a transaction log?

Can't install gem rmagick -v '2.13.4'

checking for gcc... yes
checking for Magick-config... no
checking for pkg-config... yes

I cant install gem install rmagick -v '2.13.4' even with sudo apt-get install graphicsmagick-libmagick-dev-compat.

Company logos inaccessible

Added a company logo but it cannot be retrieved for display.
production log shows:

ActionController::RoutingError (No route matches [GET] "/uploads/company/logo/1/thumb_ox_brand1_pos.gif"):

Should there be an entry in routes.rb to allow this?

No access control on pdf invoices

The preview of invoices (accessible anonymously) displays the invoice and allows to download a PDF of invoices. This HTML preview is authenticated with an encrypted invoice_id.
However, the PDF link is NOT authenticated, the invoice_id is in clear.

Therefore all invoices data are anonymously accessible in their PDF version with this URL:
/invoices/invoice_pdf/[InvoiceID].pdf

This controller should use the same authentication method as the html preview.

Unable to install escape_utils

Hi,

I am unable to install escape_utils. I think it might be one of the dependencies of a gem that you are using.

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    /root/.rbenv/versions/2.2.0/bin/ruby -r ./siteconf20150519-2587-hm9rgv.rb extconf.rb
creating Makefile

make "DESTDIR=" clean

make "DESTDIR="
compiling houdini_xml_e.c
compiling houdini_uri_e.c
compiling houdini_href_e.c
compiling houdini_js_u.c
compiling buffer.c
compiling escape_utils.c
In file included from /root/.rbenv/versions/2.2.0/include/ruby-2.2.0/ruby.h:33:0,
                 from escape_utils.c:6:
escape_utils.c: In function ‘rb_eu_escape_html_as_html_safe’:
/root/.rbenv/versions/2.2.0/include/ruby-2.2.0/ruby/ruby.h:1082:30: error: assignment of read-only member ‘klass’
 #define RBASIC(obj)  (R_CAST(RBasic)(obj))
                              ^
/root/.rbenv/versions/2.2.0/include/ruby-2.2.0/ruby/ruby.h:1081:30: note: in definition of macro ‘R_CAST’
 #define R_CAST(st)   (struct st*)
                              ^
escape_utils.c:126:2: note: in expansion of macro ‘RBASIC’
  RBASIC(result)->klass = rb_html_safe_string_class;
  ^
make: *** [escape_utils.o] Error 1

make failed, exit code 2

Gem files will remain installed in /root/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/escape_utils-0.3.2 for inspection.
Results logged to /root/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0-static/escape_utils-0.3.2/gem_make.out

User access control

I can't find anything about user access control in the GUI, or in the project documentation.

I would like to have control over user access because I don't want all users created to have full access to functions. For example, I would like to have staff who can submit time, but not have the ability to delete companies or records.

If I'm missing info on this, please tell me how I'm wrong. Otherwise, can we get user access control please?

Set calendar to start on Monday

Would it be possible to create a localization setting to change the calendar's start day from Sunday to Monday? This is especially useful for those from the EU and other countries outside the US. This setting should be available regardless of which language is set.

The location where the calendar appears: http://localhost:3000/en/logs

Support for VAT

Is it possible to implement VAT?
The VAT number is mandatory on every invoice in Belgium (for invoices to companies that have a VAT number)?
So the VAT number for your own company needs to be on it and also the VAT number of the client.
Maybe a verification of the VAT number entered is also possible? I've seen that functionality in other invoicing programs.

Ask before closing for timer window

The timer window localhost:3001/en/logs/timer should ask the user if they are sure they want to close it. This prevents losing the time tracking information when accidentally closing the window or the entire browser.

Dependency problems solved by adding PHP PPA

I am new to osb, but have found many dependency issues with the libmagick(core|wand)-dev libraries on install (using Ubuntu 16.04). All of the pecl libraries libmagick(core|wand)-dev needed were accessible from

sudo add-apt-repository ppa:ondrej/php

which is a main php repository. Would you add

You may need access to dependent pecl libraries, most which can be found by

    sudo add-apt-repository ppa:ondrej/php

immediately after

2.1 Dependencies for Ruby

in README.md?

Best

README.txt

default installation exposes invoices

The links to the invoices includes an encrypted invoice_id. Successfully decrypting the encrypted invoice_id authenticate the link; then the invoice is displayed.

Issue:
The encrypt/decrypt methods uses an fixed string yourpass as secret. If this string is not changed, then it is trivial to generate invoice_id and access all invoices in a system, in anonymous access.

Suggestion:
This string should be part of config/initializers/config.rb and one step of the installation process should be to change it.

Discount offered as % or USD when default currency is GBP for company and client

Hi.

I get
image despite choosing GBP

Because when I try to run rake db:seed I get

[DEPRECATION] This gem has been renamed to hashie-forbidden_attributes and will no longer be supported. Please switch to hashie-forbidden_attributes as soon as possible.
[DEPRECATION] `last_comment` is deprecated.  Please use `last_description` instead.
...
config.eager_load is set to nil. Please update your config/environments/*.rb files accordingly:

  * development - set it to false
  * test - set it to false (unless you use a tool that preloads your test environment)
  * production - set it to true

/home/deeplearning/.rvm/gems/ruby-2.0.0-p648/gems/actionpack-4.1.15/lib/action_dispatch/http/mime_type.rb:163: warning: already initialized constant Mime::PDF
/home/deeplearning/.rvm/gems/ruby-2.0.0-p648/gems/actionpack-4.1.15/lib/action_dispatch/http/mime_type.rb:163: warning: previous definition of PDF was here

I have checked - they are not nil. they are in fact those values.

I did note that in your installation docs you say to run.

3.5 Tables schema and seeding
rake db:migrate
Loading default values in database
rake db:seed

however that would not complete - at all - until I manually copied config/config.yml.copy to config/config.yml FIRST - are the docs in error? or did my install perhaps go wayward?

Thanks for any light anyone can shed on some steps to get this initially functioning :)

Invoices PDF logo is not placed

Invoices pdf generation works for me (running currently on guest with Xvfb for wkhtmltopdf). Only problem is that placed image is some placeholder currently, not company logo. If you inspect a draft invoice it looks correctly, but not when outputted to pdf.

Tried with wkhtmltopdf 0.9.9-4 (debian stable) and newest from http://wkhtmltopdf.org/ which is 0.12.0 yielding same issue. I also inspected @invoice.company.logo_url(:thumb) which looks correct, but somehow wkhtmltopdf ignores it.

Makes also no difference if jpg or png is used, you just see a small box with black border, no logo.

Thank you for all your work on this.

Delayed jobs not working

How can I debug this? I have templates setup and apparently correctly configured for First, Second and Third reminders just like the seed.db file shows but after I send out the invoices, no reminder emails are generated and sent. The delayed_jobs task is running; the production log shows there are large numbers of SQL queries being performed all the time on the delayed_jobs table but it's not obvious why these emails don't get produced - it's not clear how this part of the system is supposed to work

Change default currency to CAD

The default currency for clients and companies are USD. Where do I configure settings so that the default currency is something else like CAD?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.