Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current WIP #414

Closed
wants to merge 109 commits into from
Closed

Current WIP #414

wants to merge 109 commits into from

Conversation

xrobau
Copy link

@xrobau xrobau commented Apr 28, 2018

This is the 3.6 branch with all the current fixes applied, APART from the ones I mentioned in glitter.

Also:

  • Remove all PHP short open tags
  • Fixes all PHP warnings, so it can be run with php 7
  • Much better error reporting, and all error reporting turned ON (so hopefully it never gets as buggy as it was again!)
  • Support for MySQL 5.7
    ** Note this uses 01-01-1980 as a replacement for the (invalid) 00-00-0000 datestamp. The better way to do that is to allow NULL datestamps, which is partially done

This would be a good starting point for 3.7!

xrobau and others added 30 commits April 1, 2018 22:21
This will probably need someone caring about it, because if anyone
ever tries to upgrade their MySQL version, I'm not actually sure what
will happen with invalid data like this. It probably will be worth testing.

Probably a good idea to have an upgrade script that updates everything in
the database as part of 3.6?
Also, ran a php -l over everything, no more syntax errors with
short_tags turned off. Yay!
There is a typo in line 120 making cdrs displaying only callerID name and not callerID number.

This issue was found in v3.5 too:
https://github.com/iNextrix/ASTPP/pull/320/files
* Change 'strtotime' to be +1
* Remove accidental whitespace
* Never close PHP only files
powerpbx and others added 8 commits April 28, 2018 01:01
[FIx] If user will enter domain/ip in company profile with/without http or https, then also logo will show properly on login page.
Fix the fix - Do not specify protocol.
Added link for cloud hosting and G729 license
Added link for cloud hosting and G729 license
When https is implemented, there's an error that marks site as "not secure" because site uses https but loads scripts that are http.
Solve two issues
1. Default Country,Timezone and Currency value set when mass create popup open.
=>Add select picker refresh code after set dropdown value in jquery.
2. when change 'Billing Schedule' dropdown that time all dropdown value set statically 2
=>remove static code in on-change function.
@xrobau
Copy link
Author

xrobau commented Apr 28, 2018

Most of the conflicts are either ^M repairs, or short-php-opens. I haven't looked too hard. Also, I haven't even checked if this code works, this was just getting my branch up to date with yours. There may be more commits coming.

That appears to be the equivlant of 'limit 1', but there isn't any
reason to do so, unless invoice numbers are duplicated.
Lint passed again:
[root@astpp-1 astpp]# find . -name \*.php | xargs -l php -l | grep -v No\ syn
[root@astpp-1 astpp]#
[
@smrdoshi
Copy link
Contributor

smrdoshi commented May 3, 2018

Hi @xrobau

Thanks for the updates.
Merge conflicts are there, are you planning to add more commits on this branch?

@xrobau
Copy link
Author

xrobau commented May 3, 2018

The merge conflicts aren't really fixable, if you look through them, because they're differences in the entire file (eg, remove ^M's) or different ways of doing things. You get to pick what you want to merge 8)

Github has a surprisingly good 'resolve conflicts' button.

@smrdoshi
Copy link
Contributor

smrdoshi commented May 3, 2018 via email

@xrobau
Copy link
Author

xrobau commented May 12, 2018

I'm not going to persevere with this pull request, as it's just getting more and more stale. Plus commits like 309a35a where one file was randomly placed inside another (breaking all CDRs) really disheartens me.

@xrobau xrobau closed this May 12, 2018
@smrdoshi
Copy link
Contributor

smrdoshi commented May 13, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
9 participants